Hello,
I completed my web-site with this module by using the code you adviced me.
The rendering is very nice and corresponds to what I was willing, but I think there is a small bug.
When displaying a big image, the image is firstly displayed with a reduced size and a small icon at the right-top of the frame allows enlarging it. This icon is not displayed for small images, which is quite convenient.
But, if, on the same page, I have both small and large images, and if I display first a large image and leave it while it was large, the next image displayed is displayed in the small version, but with the icon on the right-top allowing it to be displayed with the small size. If you click on this icon, you still have the small image displayed, but this time, with the icon allowing to enlarge it.
If the second image displayed is a small one, in the same conditions as above, you have an alternance of icons allowing to enlarge or reduce it, but with no effect on the image.
If you close the large image when it is displayed in the small form, you do not have this strange behaviour next time you open an image. If you refresh the page, or display a new one, this strange behaviour disapears too.
Another thing that, I think, is not optimal, is the place where this icon allowing to resize the mage is displayed. In fact, it is displayed on the image. I think it would be a nice idea to be able to display it above the image. In my case, images a screen captures of windows and this icon is displayed above the icons allowing to hide, resize of close the window, which is a bit confusing for the users.
Best Regards,
Brice
|