View Full Version : Display image as % of view port

07-07-2014, 10:45 PM
1) Script Title: PHP Photo Album script v2.11

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm

3) Describe problem:

I am using this script to open an image in its original size. I have re-sized my images to a height of 700px or less so the displayed image fits on my monitor. This has worked fine on my larger monitor but when I view my page on a smaller screen such as iPad, older monitors or net book visitors must scroll down to view the whole image.
I know there is a way to have the image displayed as a percentage of the view port but have been unable to figure it out.

Can anyone help?