Click here to Skip to main content
15,885,839 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys,

I am an absolute rookie when it comes to all things code. I am trying to customize a Mailchimp template with the help of regular google searches.

I have managed to upload an image taken from a facebook page and it has worked (Hooray!) but the image is blurry and I think I have exhausted all of my abilities.

Would a kind soul be able to take a look at my code and see what I am doing wrong?

<!--  billboard  -->
   <table border="0" cellpadding="0" cellspacing="0" width="100%" background="//lh3.googleusercontent.com/hetj8strog_5QTN0zKo1AS1CHlWlAHYVya1H2znbeu3YmeRqA5UuZkJPq-vl5PDNoRCc=s128" bgcolor="#4872AE" style="background-image:url('//lh3.googleusercontent.com/hetj8strog_5QTN0zKo1AS1CHlWlAHYVya1H2znbeu3YmeRqA5UuZkJPq-vl5PDNoRCc=s128');background-size:contain;-webkit-background-size:cover;background-position:bottom;background-repeat:no-repeat;background-color:#2a3647;">
     <!--  header  -->
     <tbody>
       <tr>
         <td>
           <table width="600" cellpadding="0" cellspacing="0" align="center" border="0" style="border-collapse:collapse;mso-table-lspace:0pt;mso-table-rspace:0pt;border:0;text-align:center;" class="content_width">


What I have tried:

<!-- billboard -->

<!-- header -->
Posted
Updated 24-Sep-18 19:20pm
v2
Comments
dan!sh 24-Sep-18 23:42pm    
If only there was some code to look at. If I have to take a guess, the size of image is smaller than how you are showing it on the the screen. That is why it might be appearing pixelated.
Member 13996290 25-Sep-18 0:24am    
Thanks for getting back to me! I really appreciate any help.
I have updated to show the code I used
Richard Deeming 25-Sep-18 11:32am    
"... an image taken from a facebook page ..."

Have you checked that you have permission to use that image?
Member 13996290 25-Sep-18 19:26pm    
Yes, I have all permissions to use the image :)

Your image at googleusercontent is only 128 * 85 pixels, so of course it will be blurry as it will need to be enlarged to fill your form width. Even at 128 * 85 it doesn't look all that sharp. If you want a sharp background image, you'll have to start with something larger.
 
Share this answer
 
Like I said, the image is too small to cover up the entire page width. It is just 128 * 85 pixel in size. You need a bigger picture.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900