WordPress 2.0 Upload Management

They completely reworked how uploaded files are handled in WordPress 2.0 – they’re now put into folders by date to keep things nice and clean. Very nice touch. And thumbnails are automatically generated and linked if requested as well. Very cool. If it works, here’s a screenshot of the image upload form from WP 2.0…

First, you upload a file:

Screenshot of the WP 2.0 Upload Manager

Then, you select the uploaded file from the Browser, setting options like thumbnail/full or linking etc…

WP 2.0 Image Browser

And then, you can use the fancy schmancy new WYSIWIG editor to resize the image by dragging, etc…

WP 2.0 WYSIWYG image stuff

Pretty slick, I must say…

Update: The file /wp-admin/inline-uploading.php has hard-coded widths and heights (lines 81-85: max width 128 pixels, or max height 96 pixels) for the thumbnails to generate. It’d be really cool if this was a setting under the Options section, so I could have it create “thumbnails” that are 500px wide (what I typically use an Automator action to do on my computer before uploading).

I could modify the code myself (trivial to just hard-code my value in place of the defaults), but I’m sure others would like something similar, but with different values…

They completely reworked how uploaded files are handled in WordPress 2.0 – they’re now put into folders by date to keep things nice and clean. Very nice touch. And thumbnails are automatically generated and linked if requested as well. Very cool. If it works, here’s a screenshot of the image upload form from WP 2.0…

First, you upload a file:

Screenshot of the WP 2.0 Upload Manager

Then, you select the uploaded file from the Browser, setting options like thumbnail/full or linking etc…

WP 2.0 Image Browser

And then, you can use the fancy schmancy new WYSIWIG editor to resize the image by dragging, etc…

WP 2.0 WYSIWYG image stuff

Pretty slick, I must say…

Update: The file /wp-admin/inline-uploading.php has hard-coded widths and heights (lines 81-85: max width 128 pixels, or max height 96 pixels) for the thumbnails to generate. It’d be really cool if this was a setting under the Options section, so I could have it create “thumbnails” that are 500px wide (what I typically use an Automator action to do on my computer before uploading).

I could modify the code myself (trivial to just hard-code my value in place of the defaults), but I’m sure others would like something similar, but with different values…

14 thoughts on “WordPress 2.0 Upload Management”

  1. I whole-heartedly agree. I’ve just been looking into how to hack the source code to change the default width to 440px, which is my default, but a built-in option would be splendid. It’s the one thing that’s preventing me from moving all my sites over to WP2.0.

  2. It’s driving me nuts that when I choose ‘Using Original’ to insert the original sized picture it shrinks it down to 128 * 96 (thumbnail size). I agree, it’s obviously a mistake in the code. I know I can change it manually each time using the HTML editor in the post box, but I’d much prefer to fix it.

    I know almost nothing about writing code, but I have been successful in the past making a backup copy of the file and then just playing around with the original using Dreamweaver. This time nothing is working. I’ve tried changing various places in the inline-uploading file under wp-admin where it says 128 and 96. Am I looking in the right file? Can Any of you guys tell me what to change?

    Thanks in advance.

  3. yes this wasn’t exactly intuitive
    I finally figured out to click on the image itself and a div popped up that let me set some options … that were hardly intuitive either

    I eventually got it to use the thumbnail then link in the page to the full sized image but that in turn seems to link to the image itself free of my pages … no where am I finding any options like what size would I like my thumbnails, and would I like my in the page images to actually link to the image (no), would I like to have a next/prev link if there is more than one image in a post (yes) and what about a back link to get back to the post if I stayed in the page? it is missing

    It may all be there, but there is no help link or anything else I am finding. I do like that it lets me delete … and I assume that means it is cleaning my server of all sized versions of the image … if there are really multiple images

  4. Haven’t seen Sticky Image, but I’m guessing the new image manager isn’t quite baked yet. If you select an image, and tell it to insert the original sized image (not a thumbnail), it does insert an image using the original file, but sets the width and height of the img element to be 128×96 (or whatever the aspect ratio of the image allows). Manually fixing the width/height to the real values for the image works fine…

  5. Has anyone actually succeeded in changing the thumbnail size? I replaced all the ‘128’ and ’96’ values in inline-uploading.php and all uploaded images still got 128×96 thumbnails after that…

  6. The previous default uploader, while primitive, at least allowed you to easily customize your thumbnail size (I vary my thumbnail sizes with ea. image I upload). Currently, I have to do this manually & it’s a big drag!

    Not ready for prime time imo…

    If anyone finds a good new plugin to do this pls. let us know.

  7. Hi,

    Im new to WordPress and i just downloaded an installed version 2.0.1

    The only TAB that i see whether on IE or Firefox is the UPLOAD Tab… i dont see the Browse or the Browse all tab!

    Do i need to configure anything for me to make it work?

    Thanks,
    Honaby

  8. Honaby, I don’t think so. When you upload your second image you should see the browse all tab next to the upload tab. I have not yet checked, but I suspect that you won’t see other poster’s images and I know you won’t see previously uploaded images. Someone should probably write a little utility to add previously uploaded images to the browse all pane …

  9. Hi Don,

    I tried to upload more than one image, in fact, i uploaded about 5 images already and still, no other tabs shows up aside from Upload tab. 🙁

    I modified the inline-uploading.php file and commented the “if” blocks that prevents the tabs from showing up, it worked, but when i clicked the browse or browse all tab, nothing happens.

    I checked, all the permissions on the uploads folder and all seems ok, the images are being uploaded.

    – Honaby

  10. Jim-
    I noticed this right away, and it irritated the heck out of me. Fortunately, they fixed it in WP2.0.2. It’s equally non-intuitive now, but at least it works properly, without the inaccurate sizes.

Comments are closed.