Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Automatic thumbnail images on iTools pages Internet
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):
  • 119 x 88 pixels, 122 x 91 pixels, 260 x 195 pixels, 273 x 195 pixels
To use any one of these thumbnail sizes, you need to code the URL like this:
<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_name
Replace '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_name
As 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...]
    •    
  • Currently 3.25 / 5
  You rated: 2 / 5 (4 votes cast)
 
[4,566 views]  

Automatic thumbnail images on iTools pages | 0 comments | Create New Account
Click here to return to the 'Automatic thumbnail images on iTools pages' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.