IMG tag can now have a class. For example: $img_src = simple_thumbs_img("id=55&tag=1&class='my-image-class'");
if id provied is not the id of an image (wp_get_attachment_url returns false) then an empty string is returned. Solves "divided by zero"-errors.
Ooups, max_files in cache set to 10. Was for debug purposes... :/ set to 5000 now. should be fine for most I hope.
If cache directory is not found, it tries to create it. It could be deleted by other plugins that also used the cache directory, resulting in broken images.
If size is not set or size is set but equal to original size, and no quality, filter or output image format is set, the image will not be modified and orginial image is returned. It's still a good idea to use simple_thumbs_img() because you then get the correct width and height attributes.
Fixed so plugins wp_minify and autoptimize don't break the thumbnails.
First version. Works fine for me. Let me know how your thumbnail-experience is going!
Requires: 3.0 or higher Compatible up to: 3.0.5 Last Updated: 2010-11-24 Active Installs: