Why have my formerly right-sized photos become tiny?
-
One of my posts (http://spruestory.com/2013/02/18/sprue-histories-the-presidents-edition/) has a bunch of photos in it. When I first posted it, they were displaying perfectly. Now, suddenly, they have all become tiny. I tried switching to code view and playing with the sizes but that didn’t seem to affect it at all. Please help! It looks really silly with those tiny images.
The blog I need help with is: (visible only to logged in users)
-
Hi there,
The images are tiny because the HTML table used to display the photos has default padding in the table cells, and the images are shrinking down to fit in the remaining space. One way to fix this is to change the padding for each table cell that contains a photo. Here’s an example of how to do that:
<td style="padding:5px;"><img alt="" src="http://spruestory.files.wordpress.com/2013/02/washington.jpg" width="100" height="119" /></td>This code will reduce the padding around the first image in your table to 5 pixels. If you add that padding style to all of the table cells with an image in them, the images will be displayed larger.
I hope this helps! If you have any questions about this, please let me know.
- The topic ‘Why have my formerly right-sized photos become tiny?’ is closed to new replies.