Last modified: 2011-03-13 18:05:35 UTC
While trying to diagnose an issue with a specific SVG image rendering oddly at small sizes, I noticed that trying to create a previously nonexistent thumbnail of an SVG image via thumb.php occasionally fails with the following error:
Error creating thumbnail: /usr/local/apache/common/php-1.5/bin/ulimit4.sh: line 4: /usr/local/bin/rsvg: No such file or directory
The creation usually succeeds after a couple of reloads; I suspect the problem may happen only on some hosts. (Note: To recreate the problem using the URL provided, you need to purge the thumbnail cache for the image in question first.)
Thumbnail requests should go to the image scaling cluster only. Perhaps external requests for thumb.php could be disallowed, then all thumbnail requests would be via the 404 handler which knows where to send them.
Works as designed. :-)
The thumb.php is not officially supported. Don't use it.