• Greetings –
    I am uncertain if this should be in plugins or theme forum, but that depends on the answers. Feel free to move it if appropriate.

    I have a client that has a website with 1500 posts. Each post consists of ONE image, no text.
    I have changed to the Oria theme (and made a child), and in doing so need bigger images.

    I altered the media sizes in the control panel, to “medium 900px”.
    I then ran the plugin regenerate thumbnails..

    But I cannot get the images in the posts to update from the old medium (500px) to the new medium (900px).

    (I also tried the plugin “really regenerate thumbnails” – no dice).

    If I go into edit in the post and click the edit for the image, it says “medium 900”, and if I then just click update (without touching anything) it will get the image right. But clearly: I cannot do this for 1500 images.

    This kind of makes sense, as the actual code in the post looks like this:
    <a href="https://theNameOfTheSite.net/?attachment_id=163" rel="attachment wp-att-163"><img class="alignnone size-medium wp-image-163" title="snow" src="http:/theNameOfTheSite.net/wp-content/uploads/2011/12/IMG_1155-crop-500x500.jpg" alt=" " width="500" height="500" /></a>

    …so it still uses the 500×500 thumbnail. Deleting that particular file is also not getting me anywhere.

    I tried fixing it with css (img first child width), and that kind of works, BUT it then takes the 500px image and upscales this to 900px which is not acceptable (gets slightly fuzzy).

    I also tried disabling all plugins, went over every setting I could think of, deactivated Jetpacks image control, tried looking in the various php files, hoping to find a clue in functions. I am not a programmer but are fine with testing various blocks of code – if I just knew what to try.. :S

    So, now I am at the point where I just want to override: some magic piece of code in my child theme function to either replace everything related to 500px, or override all images in content div with original (big) picture and downsize to 900px.

    Or, am I missing something other, blindingly obvious? Is it perhaps a theme problem?

    Anyone out there that can lend me a hand?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    Sadly there is no easy answer to this, thus the reason for the regenerate thumbnails plugin. Unfortunately it falls short in dealing with other downsized images. One solution would be to hack up regenerate thumbnails into a regenerate mediums plugin. And any other image size that may occur besides full.

    I don’t know what’s involved in doing that sort of hack, but I’m quite certain it’s not something to attempt without some decent coding chops. For 1500 images it’s probably worth calling in a pro. jobs.wordpress.net is a good resource.

    Thread Starter boblets

    (@boblets)

    That sounds very strange to me; surely I am not the only one having bumped into this problem, and an override in functions.php should be pretty straightforward. It is just that I do not know what code to test.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changed media sizes (regenerated thumbnails) but does not update image sizes’ is closed to new replies.