September 27, 2011 at 7:40 pm #6098
Hi there. I’m using the portfolio to showcase products and need the “zoom” image handled by pretty photo/lightbox to be a square (800×800) and not crop off the top and bottom of the product image. I can see where to modify the sizes for the images in functions.php — but those are for the various images in blog posts, thumbnail, etc. Where can I find what I need to change so I can make the zoom photo square and not a crop to landscape? Thanks so much!September 30, 2011 at 3:14 pm #52867October 1, 2011 at 8:58 am #52868
the lightbox opens the fullsize version of the image and not a thumbnail. I’m not sure if prettyphoto supports image resizing (I don’t thinks so) but maybe the default_width /default_height parameters can help you. More information can be found here: http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/documentation/October 4, 2011 at 9:32 pm #52869
Hey Dude -
Unfortunately – that’s not the case, I’m afraid. I’m uploading 800×800 images and while the lightbox is opening it at 800 wide, it’s cropping it to 440px high. You can see it here with an image I’ve marked every 100px in height with: http://kateryanlinenrentals.com/site/portfolio/800×800-image-test/…the very top line starts with “0px – 100px” and the very bottom ends with “700px – 800px” and of course, they’re cut off.
I went to the link for prettyphoto that you provided and changed the default height and width to 800px – but it’s still being cropped as part of the ‘featured image’, which I’m thinking has to be taking place as part of the theme programming? Can you assist?October 4, 2011 at 10:09 pm #52870
That link picked up extra characters, so won’t work: Here is the portfolio item that is cropping the top and bottom of an 800×800 photo: http://kateryanlinenrentals.com/site/portfolio/800×800-image-test/October 5, 2011 at 12:56 am #52871
Ah-hah! I have resolved the issue! There is a box for “Post Thumbnail Options” that was unchecked in Screen Options. Within that, there is a “Full Size Pic or Video for Lightbox” feature where you can insert an image if you don’t want it cropped at the top and bottom. I’m good to go…thanks! :)October 5, 2011 at 11:42 pm #52872
The topic ‘Modify height of pretty photo / lightbox’ is closed to new replies.