Hi guys
I get back to this forum, after the successful root gallery proposal, with a new feature that may be many of you find it interesting: automatic processing to achieve larger thumbnails.
I am testing it in my favourites gallery:
http://www.pbase.com/nostromo/my_favourites
I do not now how many galleries are already incorporating this feature. Some months ago when I started thinking about this, the problem was unsolved in the pbase forums. If people find it interesting and I have time I can write a short tutorial about it.
To summarize:
1) I first tried to do it via CSS and changing the thumbnail object; it did not work.
2) After some time I learnt you can modify (with javascript) the attributes of the images in a web page. That's what I did. I wrote a javascript function to change the size of the images once they are loaded (that is necessary to know the size of each image). However it was not as nice as expected do to the high compression ratio of .jpg thumbnail images in pbase. The larger images looked pixelated.
3) Then I learnt you can modify also on the fly the URL of each image. Based on the URL of the small images, I figure out the medium size images, I load and dowsize them to the desired size.
4) The scale factor depends on the size of the screen, which is read from your browser.
I would like to further improve it, because now you have to wait until the whole page is loaded to "enlarge" the thumbnails ... but in the meantime I want you to have a look
Hope you like it
luis