[Plugin: Liveblog] Image upload sizes
First of all, great work on the plugin so far. ScribbleLive wants to squeeze us $50 a month for supposedly the cheapest plan, even for months we don’t have any events for (dead air can go for 6-7 months in a row), and while I’d be OK with paying that for months we use them, I’m not OK with basically throwing money away otherwise. CoverItLive is now even worse. The timing couldn’t have been more perfect for this plugin.
Now, for the issue at hand with image uploads.
1. Adding max-width: 100% to the CSS of liveblog images gets rid of the spillover for larger images without hurting the layout. Without this, images larger than the post area end up getting cut off (at least with my layout – maybe with another one, it would actually spill over to the sidebar, etc).
2. This is more substantial – WordPress supports 3 default (small, medium, large) sizes for images, as well as a way to specify more. WordPress also creates them automatically, and this functionality is already being used by the plugin. That’s great. Now, we should be able to select what thumbnail sizes each upload defaults to, and change the drag-and-drop image upload HTML to generate linked images – thumbnail linked to full size. Bonus points if it works with existing lightbox scripts (I use fancybox personally).
This way, image uploads are going to be efficient viewers and won’t make them download 6MB if I upload a 6MB image (unless they click through).
Here’s an example of files that are created on the server, all ready to be linked:
-rw-rw-r– 1 wwwrun www 1969588 Sep 4 21:30 nexusae0_IMAG0233.jpg
-rw-rw-r– 1 wwwrun www 7014 Sep 4 21:30 nexusae0_IMAG0233-150×150.jpg
-rw-rw-r– 1 wwwrun www 55193 Sep 4 21:30 nexusae0_IMAG0233-625×352.jpg
-rw-rw-r– 1 wwwrun www 3506 Sep 4 21:30 nexusae0_IMAG0233-92×92.jpg
-rw-rw-r– 1 wwwrun www 137115 Sep 4 21:30 nexusae0_IMAG0233-1024×577.jpg
There is some info on getting thumb sizes here: http://codex.wordpress.org/Post_Thumbnails, you just have to keep track of the attachment IDs.
- The topic ‘[Plugin: Liveblog] Image upload sizes’ is closed to new replies.