Lightbox/Java Script question. Does the script automatically resize the vertical images?
January 10, 2010 10:57 AM Subscribe
Lightbox/Java Script question. Does the script automatically resize the vertical images?
if you go to: http://bit.ly/4Khb3x
and go thru the photos, as soon as you get to verticals, they switch size. It's really jarring.
all are set to a height of 667px... verticals & horizontals alike, but it seems to resize the horizontals. to way smaller of a height.
can this be fixed or is lightbox capped at this size?
thanks!
if you go to: http://bit.ly/4Khb3x
and go thru the photos, as soon as you get to verticals, they switch size. It's really jarring.
all are set to a height of 667px... verticals & horizontals alike, but it seems to resize the horizontals. to way smaller of a height.
can this be fixed or is lightbox capped at this size?
thanks!
This thread is closed to new comments.
I do see some other problems with the page, at least in Firefox 3.5. Are you sure you need to use Lightbox? You don't appear to be using the visual bells and whistles that Lightbox is associated with, and I suspect you're that over-complicating things.
Sorry to self-link, but I just wrote about this, and these are the links I have closest to hand. A simple alternative:
A simple CSS Gallery
If you really want the full Lightbox treatment with JavaScript and are okay with just using modern browsers:
Lightbox Style Effects without JavaScript
I hope these will help, but perhaps I'm misinterpreting something. I don't think you want to squish the full-size images, whatever their orientation. If you want to stick with the code you have, I'd suggest lowering the position of the thumbnails to accommodate the largest of the full-size images.
posted by Bora Horza Gobuchul at 2:56 PM on January 10, 2010