• Is it possible to mass-alter the size of images after they’ve been uploaded. I initially set all images to display their “medium” size at 500px, but have recently decided that that’s too small. Is there any way, within WordPress, to have the server reprocess all the images I’ve uploaded to alter the medium size?

    I’d rather not re-upload everything through the buggy image uploader, or manually alter the size of every image. Any advice would be great.

Viewing 5 replies - 1 through 5 (of 5 total)
  • DoorFrame, I’m curious if you had any luck with this. I have run into the same problem but with the thumbnails. I’ve uploaded over 700 images with the thumbnail dimensions too small for my application.

    Anything you did would be great.

    As far as I know you would have to run a separate script to do this.

    If the original file is still on the server it is possible for it to recreate a new medium file. However one problem I foresee is the medium filename is based on the old size, rather than something easy to automate replacement of, such as imgfilename-med.jpg. This would probably mean running another script to update all the medium image src URLs across the whole site, replacing it with whatever the new filename format is.

    Someone who knows PHP could probably get this working within a couple of hours.

    That’s a good point regarding existing URLs. It might make sense to request a change to the core code which generates filenames for medium-sized pictures, so that there’s some forward-compatability for users that switch themes in the future.

    The funny thing is that there used to be sensible names for thumbnails. Then the pixel dimensions appeared in the filenames for medium and thumbnails with 2.5. A real step back for automation and flexibility.

    I’m surprise they don’t use some sort of shortcode in place of static image tags. I ditched WPG2 for the new integrated gallery and have for the most part glad I did. This point is where Gallery2 (with WPG2) excelled. Gallery2 allowed you to rebuild thumbnails based on new settings and WPG2 integrated images in the blog with shortcode-like tags, making everything changeable after the fact.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changing the Medium or Thumbnail size for images AFTER uploading?’ is closed to new replies.