return of the autocropper
Yesterday, I remembered a little demo I announced almost two years ago and tried it in IE6 to find it did not work.
I’ve fixed it up and the source is now available. Very very simple source (I wrote it two years ago – it’s not the prettiest in the world), but it does the job.
It’s a simple trick for automatically curving text around an image.
before
after
How to use: add the script to your document’s <head>
section, making sure that the hard-coded URLs in it (to the .php and the .gif) are correct.
The images you want cropped, give a class of autocrop
. The image must have a float
set as well.