Forums

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

  1. Grandmighty
    Member
    Posted 1 month 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 1 month 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 1 month 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. samboll
    moderator
    Posted 1 month ago #

  5. Grandmighty
    Member
    Posted 1 month 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. samboll
    moderator
    Posted 1 month ago #

  7. Grandmighty
    Member
    Posted 1 month ago #

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

  8. esmi
    Member
    Posted 1 month ago #

  9. Grandmighty
    Member
    Posted 1 month 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. mansur86
    Member
    Posted 1 month 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..

Reply

You must log in to post.

About this Topic

Tags

No tags yet.