View Full Version : Photo Details page with same dimensions
December 18th, 2013, 09:39 AM
Is there any way to force portrait and landscape images to appear as same max dimensions on photo details page? Would like to eliminate the alternating sizes during pagination.
December 18th, 2013, 10:28 AM
well not really if I understand your question.
You can set maximum image width height dimensions in upload options and play with those to achieve a maximum width or height you want however you need to think about the actual image.
If an image is portrait or landscape that aspect ratio has to be maintained to show an image without distortion if you follow me. ;) if an image has say a ratio of 1:1.25 or 1.25:1 then the resulting created medium image would be in that ratio. Doing anything else would be considered a huge bug as no one wants distorted images in there gallery.
There is one new feature I would theoretically add in an upcoming version although I do not know how popular it would be. That is taking the same technology we use on the uniform thumbnail feature using Imagemacick which takes a center crop of the image and makes a square thumbnail. We could do a center crop as the medium although like I said not too sure how many people would use it. I guess you can make a suggestion in the suggestions forum and see how many others would think it useful.
December 18th, 2013, 02:58 PM
Hmmm.. is this a good example of the future feature you might build?
That gallery has a bunch of images and they appear proportioned but i am sure some are a mix of portrait and landscape.
December 18th, 2013, 03:22 PM
That is as I said they are probally taking crops not the true original image. If an image has a certain aspect ratio that aspect ratio must be maintained to preserve the image quality. All those images though look landscrap to me. I would think portraits would have black bars on the side.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.