Image Symlinks is born of a desire to speed up and simplify WordPress post images, while retaining quality. Very briefly, it works like this:
- Upload large source image
- Use Symlink-image-button to insert image into post
- Decide width and/or height of inserted image
How’s that different from using the built-in WordPress image upload and insertion mechanism? To put it shortly, step 2 and 3 have switched place. WordPress scales your images according to preset sizes when you upload, and doesn’t allow you to change those sizes without changing a global setting and uploading again. Image Symlinks creates the image cache on demand, and according to either a global setting, or individual image settings.
This is smarter than it sounds, and the reason for which I created Zenphoto Short-tags in the first place, so I’ve written about it at length before.
Features
Image Symlinks is powered by TimThumb, so some of its features are care of the great gentlemen Ben Gillbanks and Darren Hoyt. Symlink Images does the following:
- Lets you use the built-in WordPress image uploader, but insert them via Symlink Images for extra scaling options
- Decide on a custom upload directory, and get access to a custom and super userfriendly Symlinks image uploader
- Easily browse your WordPress images or Symlinks-uploaded images and insert with one click (guaranteed to be faster than the bulky WordPress interface)
- Cache is created on-demand, and tidied up automatically
- Transparent PNGs keep their 24bit transparency when scaled
A lot more features are on the drawing board. Read on.
Built-in Image Uploader
Image Symlinks uses Uploadify to upload images. Upon upload, you can insert image directly, or you can go browse your repository.
Using the Symlinks uploader, you by-pass the WordPress database entirely and deal only with clean image files in one directory and cache files in a separate directory.
If you want your images to be saved in the WordPress media library, use the built-in WordPress uploader, but insert those images using Image Symlinks. That way you both get access to the new 2.9 crop and edit features, and Image Symlinks’ advanced cache and scaling features.
Options
Image Symlinks currently allows you to specify a default width and a default CSS class. The above image, for instance, has no CSS class (but you could specify “alignright” if you want your images right-aligned by default), and a default width of 600px.
Inherently Extensible
Since Image Symlinks built-in uploader by-passes the WordPress database, it allows you to easily combine your WordPress with your custom gallery CMS. Simply specify your custom upload directory to point to the gallery album folder and you’re all set. I’ve integrated Image Symlinks with ZenPhoto, for instance, so any image I upload is also added to my ZenPhoto photostream.
In addition to this, all images are auto-linked by default, pointing to their larger versions with a simple hyperlink. This is optimal for search engine optimization, and makes it super-easy to combine with a Lightbox solution.
How To
Simply upload and insert your image using the custom Image Symlinks media button. If you want to be manual, the syntax is:
[raw][/raw]
Upon activation of the plugin, you should make the cache directory writable by the webserver. By default, the built-in uploader is disabled, and you use Image Symlinks only to insert images. If you want to specify your own upload directory, that also has to be writable.
Download
Download Image Symlinks (currently beta) from the WordPress Repository
Future Features
Image Symlinks is currently a rather early release. I’m taking a page from Google and dogfeeding myself, using it on this blog. So far it’s super-snappy and very stable, but not quite feature-complete. Any feedback is welcome, but here’s what’s planned:
- Image Symlinks should offer to create custom directories for you
- Option and shortcode attribute to disable auto-linking
- GUI for inserting more than one image at a time
- GUI for adjusting width/height of inserted image
- Shortcode attributes and GUI for cropping images
- Gallery widget
- Recent images widget
Aside from this, I’d like to simplify the whole installation process to the point at which it’s “activate and you’re done”.
Look for more features next year.
Updates
- April 2010: Bulk insertion! The image insertion dialog no longer closes whenever you click to insert an image, but only tells you the image is now inserted. Much faster.
- May 2011, 0.7: TimThumb has been updated, and the cache directory is now created automatically in the
wp-content folder (provided it’s writable). This should make first installation, as well as subsequent updates way easier.
- 0.8: Large polish update. Plugin now translatable, and new beta shortcode:
latestimages, which shows your last x images, like this:
- 0.8.5: Security fixes.