spin 1.77

This is a fairly minor bug fix release. The \image command was always attempting to size the image with Image::Size to produce width and height attributes, but Image::Size of course requires a path and the argument to \image may be a URL. Now, spin checks whether the file exists first and does not attempt to size the image if it's not found, avoiding undefined warnings from the latest version of Perl.

This isn't a great solution. I really want to find a way of sizing even images that are specified with non-relative URLs, perhaps by calculating the file location based on a base URL. But I don't have time to work on something better at the moment.

You can get the latest version from my web tools distribution page.

Posted: 2011-05-11 18:27 — Why no comments?

Last spun 2022-02-06 from thread modified 2013-01-04