Page 1 of 1

Smart display positions

Posted: 10 May 2007, 02:20
by Nondo
For the Imagevue users an embedded gallery, how about a quick PHP script that could figure out the best placement for image descriptions based on the image dimensions?

With a portrait oriented image you have a lot of extra space on the left and right sides of your image for descriptions. If you have a landscape oriented image then you have extra space on the top and bottom.

Example: The script sees that the image blah.JPG has a height of 600 and a width of 409 (portrait orientation) and displays the image description to the right or left. The same script then sees that the next image plant.JPG has a width of 600 and a height of 409 (landscape) and displays the image description on the top or bottom.

Does it already exist? Or is there not a demand for it.

Re: Smart display positions

Posted: 18 May 2007, 01:38
by mjau-mjau
Nondo wrote:Does it already exist? Or is there not a demand for it.
I think the slideshow would be better of with a more "intelligent" description system, that places the text block based on free space and orientation of an image. This will not be PHP though, it will be the SWF(flash) that calculates the area and chooses where to display description. I will keep this in mind for a future version ...