• Resolved sindark

    (@sindark)


    Every day, I upload a photograph to my blog as a 320×240 pixel thumbnail linked to a 1024×768 full sized image.

    Is there any way I can change the thumbnail size the new upload manager in WordPress 2.1 uses to 320×240? The default size is simply too small. Changing that one thing will save me a few minutes of messing around with FTP every day.

    Thanks a lot.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Open wp-admin/admin-functions.php and around line 2118 (near the bottom of the page) you will see the line below. Change the 128 value to 320. That should do it.

    $max_side = apply_filters( ‘wp_thumbnail_max_side_length’, 128, $attachment_id, $file );

    Steve

    here’s a related question. i got the resizing working, however, i use the thumbnails aside from inside a post. how can i have it so that after i upload the image, the thumbnail is shown in the preview and NOT the fullsize image? using show: thumbnail works for inserting, but it doesn’t change the preview to reflect which file it is working with.

    Humm…not sure I understand, but my blog does show the thumbnail in the preview and not the full size image. Right click on an image in the preview window and select “Properties”. It should show you the url to the thumbnail image.

    I had the same problem and it worked for me! Thank you.
    Now, is that possible to resize not only the thumbnail but also the full-size picture.
    I want to upload large pictures and have them resized during the opération. ie thumbnail=200, full size=800.

    Not sure about resizing the full-size also…that may require a little original programming and I’m not a programmer ??

    However, if you have PhotoShop this is real easy to do. In PhotoShop CS2, (not sure about earlier versions) you can do the following:

    1. Put all your photos in one folder on your computer.
    2. Open PhotoShop and go to File/Automate/Web Photo Gallery

    The rest should be pretty self-explanatory. PhotoShop will open and resize every photo in the folder, creating full-size and thumbnails to your specifications, while you go have a cup of coffee.

    What you will end up with is a Photo Gallery in your destination directory, but you can open that directory and there will be a folder with your resized images and a folder with all the thumbnails.

    I use this a lot….works great.

    Steve

    It’s a shame 2.1 still doesn’t allow easy setting of thumbnail dimensions in the options area. Has anyone put it in the new Ideas thingy?

    I dont have Photoshop(even if I can do it with Picasa)
    With WP 2.06 I was able to do it with Photopress plugin. But it dont work now with 2.1 (I dont see the photo button…). The new upload feature with the thumbnail option seems to work well… but dont resize the full views…

    Thank you

    Thread Starter sindark

    (@sindark)

    ekusteve,

    Thanks for the tip. The fix you suggested works perfectly.

    You’re welcome.

    Steve

    Is that possible to resize not only the thumbnail but also the full-size picture?
    I want to upload large pictures and have them resized during the operation. ie original size= 2288 thumbnail=200, full size=800.
    I dont want the original size stocked on the web.
    It’s very useful when I want to post from a public computer (like during a trip)- directly from the sd card with a usb adaptor…)

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘WordPress 2.1 upload manager’ is closed to new replies.