• First of all, great plug-in thank you so much. Tested in Firefox and Safari on OSX 10.6.2 working great.

    The only thing that bothered me was that it automatically aligned my images left. This is because the plug-in makes your image the background of a div and then inside the div uses the image tag to overlay the background with the transparent gif.

    To fix this, make sure the plugin is deactivated, and edit it in the plugin editor. I added the background-position tag to the div and the class=”aligncenter” to the image.
    $replacement = '<div $6 $8 style="background-image:url($4); background-repeat: no-repeat;background-position:center;"><img class="aligncenter" src="' . WP_PLUGIN_URL . '/iprotect/trans.gif" $5 $6 $8 /></div>';
    Hope this helps!

    http://wordpress.org/extend/plugins/iprotect/

Viewing 1 replies (of 1 total)
  • Hello, i have similar problem, when plugin is active – it broken all my posts and align all images to center – it looks very bad. My posts have align to left, and to right also. I’m looking for solution, please help.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: iProtect] Centered Image Fix’ is closed to new replies.