WordPress.org

Ready to get started?Download WordPress

Forums

How to Resize/Update All Image Sizes?? (11 posts)

  1. Grandmighty
    Member
    Posted 4 years ago #

    So I have a problem, before I had set all my Medium Image sizes in the Options at 640px.

    Now that I got a new theme that's narrower, I changed the Medium image size to 400px so it won't stretch out past the new layout. Unfortunately, all my posts have images inserted and all those images are still at the old 640px size, how do I update and resize all the images to the new 400px?

    Thanks!

  2. spstieng
    Member
    Posted 4 years ago #

    There a various ways:

    1. If applicable, just use CSS to define the size of displayed images.
    2. Develop a PHP programs that locates all medium fils and resize them
    3. FTP and download all medium images, resize images using Photoshop (or similar) and upload them again.

    There are probably other ways of doing it, but this is the first thing that pops n to my head.

  3. Grandmighty
    Member
    Posted 4 years ago #

    Yeah, I was hoping there was a plugin or some batch automated way in wordpress to do it. I know in NexGen gallery, there's an option to resize all the thumbnails if you change the dimension settings and it does it automatically

  4. Samuel B
    moderator
    Posted 4 years ago #

  5. Grandmighty
    Member
    Posted 4 years ago #

    ^ unfortunately that's not what I'm looking for, it just gives more cropping/resizing options when inserting a pic

    I'm looking for something that will go through all my old images and resize them appropriately to my new image size settings.

  6. Samuel B
    moderator
    Posted 4 years ago #

  7. Grandmighty
    Member
    Posted 4 years ago #

    okay thanks, I guess I have to do it manually :(

  8. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

  9. Grandmighty
    Member
    Posted 4 years ago #

    ^ SO Close!!! I can't get the plugin to resize all my "Medium size" images since that was all I was inserting into my posts :(

  10. Mansur
    Member
    Posted 4 years ago #

    This may help u...
    call your medium size image url..
    tutorial here: http://digwp.com/2009/08/awesome-image-attachment-recipes-for-wordpress/

    and resize it dynamically using: timb thumb php script:
    http://www.darrenhoyt.com/2008/04/02/timthumb-php-script-released/
    timb thumb will resize and cache it into cache folder and later will retrieve directly from cache folder. It save a lot time instead resize all images one by one....

    So.. your final code would be:
    <img src="http://www.yourblog.com/files/scripts/timthumb.php?src=/images/whatever-medium-size-images.jpg&h=150&w=150&zc=1" alt="">

    sorry for my english..

  11. groomedmonkey
    Member
    Posted 4 years ago #

    ^ SO Close!!! I can't get the plugin to resize all my "Medium size" images since that was all I was inserting into my posts :(

    You should actually try peoples suggestions rather than reading a book by its cover. I was searching for a solution to the same problem as you and that viperbond plugin resizes all the image "Thumbnail" variations. Including the "large" size (which is what I was after).

    Give it a go. It seems it will do the medium ones as well.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.