I don’t like the WordPress 2.0 image handling
There I go again, another rant about WordPress 2.0… But let me start by saying that WordPress is by far the best blogging tool around (and I have tried them all
).
With the introduction of WordPress 2.0 I had high expectations of all the wonderful new features, that now appear to be in need of much more work. There are even many WordPress users that don’t even switch to the 2.0 version because they think it is not worth it.
So what is wrong with the way WordPress 2.0 handles images in posts?
- Well, let me start by saying that I think the new html editor is the root of all evil
and here is why:
When I upload a new image I have to send it to the post by clicking on the thumbnail of the uploaded image. After doing this, the image appears with a very strange size and I have to switch to html view (which opens in a pop-up!!!) to take away the height and width values that have been added incorrectly.
Before the release of WP 2.0 I have seen very cool demo’s of the developers where they were resizing the images in the editor, this then looked very cool, but in practice is just plain stupid. You should never manually resize images in the html editor because they will end up looking horribly!
So could you please remove this unusable feature and just use the default size of the image instead? - Images are created as posts of the type ‘attachment’, this is very cool and can be used for nice features such as a photo album with categories and comments. The big problem is that there is no good way to edit the existing images in WP.
There is a ‘Browse All’ feature that shows you all images in the database, but there is no way to see to which posts these images belong. This means that it is now possible to delete an image that is a ‘child’ of a post. It should be very easy to implement a feature that prevents images to be deleted when they have a parent post in which they are being used.
Now it is very likely to accidentally delete an image that is used in a post and end up with broken image paths. - Less important, but still a bit annoying is the dreadful quality of the generated thumbnails. Using GD it should be possible to create decent looking thumbnails that make things look much better.
Okay, I could go on for hours, but I don’t want to bore you with my complaints, so here go a few recommendations:
- Replace the horrible html editor that randomly applies image height and width and allows you to resize the image and thereby distorting them completely.
- In the html editor replace the insert/edit image button for one that connects to the images in the WordPress database. The button that is there now does not make any sense and WP has a completely different way of handling images. (Advanced users know how to make an image tag, this is now just confusing new users).
- Under the ‘Manage’ tab, create a tab for images on which it is possible to edit the titles and descriptions and to see in which posts a certain image is being used. Only allow images to be deleted from that page (and not from the ‘Browse All’ window) to prevent images from being deleted that are used in posts.
- Make an ‘options’ page for images in which it is possible to define default image sizes. Uploaded images can then automatically be resized to help unexperienced users not to break their lay-out. Blogger.com for example has three pre-defined image sizes, this is very convenient for the less experienced users.
Unfortunately the image handling of WordPress 2.0 is not the only weak point. In future posts I will comment on some other ‘weak spots’.
I think that 2.0 has been released much to quickly and I am anxiously waiting for the 2.1 version! (and it seems I am not the only one)
Please comment on my post! I really would like to know what you think of this all!



Or you could just use Gallery 2 and WPG2 instead.
h0bbel
12 January 2006
Yes, I could do that, but I don’t want to
The two main ‘improvements’ for WordPress 2.0 were supposed to be the Image/File Uploading and the The Rich Editor.
Both features appear to be unfinished.
I will wait until the programmers complete these features and then WordPress will really rock!
If I would use WPG2 I might as well switch back to WP 1.5.2..
webmaster
12 January 2006
[...] Bummer, I just found a plugin that might be the cure for all my complaints about the image handling of WP 2.0 that I wrote about in my previous post. [...]
pagina.wordpress.com » Anxious to try ImageManager 2.0
13 January 2006
I too was surprised to see that WP resized automatically my thumbnails from 76×100 to 32×32, for no apparent reason. I also had to go into html and manually remove the height and width values that have been added incorrectly.
Steve Gallagher
16 January 2006
Exactly, and then when you want to remove the height and width values you have to use that annoying pop-up html editor
I wish the programmers had just copied the writing interface of Blogger.com, it works flawlessly and it is very easy to switch between html and rich text using tabs above the post field.
webmaster
16 January 2006
I also totally don’t understand why/how WordPress handles uploaded images the way it does. Even minus the ability to actually manage the images you’ve uploaded, just getting an uploaded image into your post seems broken.
You can select and upload your image, and then you get a nice little thumbnail of it. If you click on the thumbnail, you get a few options, including “Use Original” or “Use Thumbnail”. Toggling this will affect which file is used (original.jpg or original.thumbnail.jpg), but regardless of which file you use, the editor resizes the image to the size of the thumbnail.
I can live without a full image manager at this point. But one of the reasons I switched my site to WordPress was so my wife could easily post stories, including photos. Now that doesn’t work smoothly.
On the code side, I would guess that the system just has a bug. It should only insert the width/height values of the thumbnail when it’s being used, but it does it for the full picture or thumbnail. Anyone know enough about the WP code to figure out where this is and solve it? I may dig in if I feel daring.
Aaron
18 January 2006
I’ve also gotten quite sick at the thing deciding how big I want my thumbnails to be and generating crap posts for images all the time screwing up my news numbering.
However, I just found a way to restore WP1.5 uploading to 2.0 yay! And I have a hacked version of that page which actually generates correct XHTML for thumbnails with clickthroughs and everything.
Curry
8 March 2006
The same gitch at my website, sending image to editor doesn’t make sence, I have even tried to update inline-upload.php which we suggested to patch at http://trac.wordpress.org/ticket/2199, but still not sence!
Why this little problem not solved by WP developers, i don’t understand
Zaur
24 March 2006
When I first started using WordPress 2.0, I had the same problem you described (images always inserted at thumbnail size, forcing manual changes in the HTML). I’ve since used the following workaround.
After uploading the image, I click on it to set it to “Using Original” instead of thumbnail, and then click “Close Options”. Then I right-click the image, and go to properties, and I highlight and copy the URL of the image (for instance: http://pagina.wordpress.com/files/2005/11/google-backup.jpg). Then I use the “Insert Image” button on the actual editor, which looks like a little tree in a box, and paste the path I just copied in the “?Image URL” box. You can also set alignment in the same window, which I always set to “Right” so that my text wraps around it. And that’s it! It sounds more involved until you do it once, and see it’s really very easy.
Jonathan
23 September 2006