For those using Apple's iTools to host web pages, this might be useful if you are coding your own web pages (instead of using the iTools "Homepage" feature).
When using Apple's iTools for web site hosting, there is an application that will automatically generate a thumbnail image from a full-size image file. The image(s) you want to make a thumbnail of must reside on your iDisk. A properly coded URL will create these thumbnail's on the fly. I discovered this by inspecting a file created by Homepage and then playing around with the URLs. There may be more thumbnail sizes, but these are the only ones that work as far as I know (width x height):
<IMG src="/user/.cv/user/Sites/picture.jpg-thumb_wide_high.jpg">Note: Make sure you replace 'wide' and 'high' with the width and height of the respective thumbnail, as shown in the table above. Replace 'user' with your iTools username and 'picture.jpg' with the path to and name of the picture you want a thumbnail of. For the other iTools folders (Public, Pictures, Movies), the path statement would look like:
/user/.cv/user/Sites/.dir_nameReplace 'dir_name' with 'Public', 'Pictures', or 'Movies' to access each respective folder. The "public" URL of these paths would look like:
http://homepage.mac.com/user/.dir_nameAs a working example, to create a 260x195 thumbnail image for "kitchen.jpg" on an iTools page owned by "macguy", the URL would be:
<IMG src="/macguy/.cv/macguy/Sites/kitchen.jpg-thumb_260_195.jpg">[Editor's note: I have not tested this hint myself...]
Comments (0)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20020708092646878