WordPress.org

Ready to get started?Download WordPress

Forums

post image plugin and 2.5 (2 posts)

  1. ergate
    Member
    Posted 6 years ago #

    Thought I would check to see if anybody have these two playing together yet before I dig into why they are not playing nice together.

  2. ergate
    Member
    Posted 6 years ago #

    Ok, I guess nobody has tried this yet. So I have given it a whirl.
    I found the issue, in the post-image plugin around line 110 is this line

    if( $use_thumb && ($img_url != $default_image) )
    			$img_url = preg_replace('!(\.[^.]+)?$!', __('.thumbnail') . '$1', $img_url, 1);

    I switched out the ".thumbnail" with "-150x150" and now the 150x150 thumbnail is displayed. I haven't been able to alter it to display the medium thumbnail, since the medium size has not been consistent, it is dependent on the size of the image uploaded.

Topic Closed

This topic has been closed to new replies.

About this Topic