Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

PhotoBlog Image Fixer

PhotoBlog Image Fixer allows better image sizing ensuring that the largest possible image is 100% of the post area, without extending past the edges.

WordPress MU/Multisite?

Yes. Works in '/mu-plugins/' as well, allowing it to work automatically for every blog. It is just a couple simple filters that work automatically.

How do I use it?

Just activate the plugin. No settings. No template tags or shortcodes to worry about.

How does the class name added to a paragraph fix images?

When images are inserted through the WordPress editor, they automatically get wrapped in paragraph tags, like this:

<p><a href=".... <img src=""..... /></p>

The problem is that when you try to add padding or margins or any style to your paragraphs, this also effects the images, because they are inside of paragraphs.

By adding a class name to paragraphs that contain images, we can style them differently.

p                               { padding: 20px 40px; }
p.image-fixer                   { padding: 0px; margin: 0px; }

The CSS line added automatically is the following:

p.imagefixer img                { max-width: 100% };

Because the plugin also adds a class to the image, you can over-ride that if you want like this:

p.imagefixer img.imagesizer     { max-width: 800px; }

A class is also added to paragraphs around objects to help style embedded media. But no style is added by the plugin. To target paragraphs containing embedded objects add the following to your css:

p.objectfixer                   {}

Compatible up to: 3.0.5
Last Updated: 2010-11-13
Downloads: 1,208


0 stars
0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.