We allow members to upload Photos to attach to their notes.
These Photos can be of course all sort of dimensions.
What we want is when they click on the Tumbnail of these photos for the Photo to stretch
to the full dimensions of the actual Photo, but to a Max of 80% of window height and width.
FYI, the full size photos will be displayed in a position: fixed DIV floating center of the screen.
How can we best achieve this? To be exact:
1- Stretch the Video from 0 to Max Width & Hight in say about 1 Second?
2- Limit the display to actual dimensions of the photo but to Max 80% of Window height and width?