Title: Lightbox sizing off
Last modified: August 21, 2016

---

# Lightbox sizing off

 *  [SadieLue](https://wordpress.org/support/users/sadielue/)
 * (@sadielue)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/lightbox-sizing-off/)
 * Thanks for this easy photo album.
 * One issue: When I open the photos in the lightbox, they appear strangely horizontally
   squished and vertically elongated. None of the settings seem to be able to change
   this (even if I take off the resizing option)
 * album link: [http://www.bakerinstitute.net/albums/workshop-on-conscientious-objections/](http://www.bakerinstitute.net/albums/workshop-on-conscientious-objections/)
 * Thanks in advance.
 * [http://wordpress.org/plugins/easy-photo-album/](http://wordpress.org/plugins/easy-photo-album/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [TV productions](https://wordpress.org/support/users/tv-productions/)
 * (@tv-productions)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/lightbox-sizing-off/#post-4256192)
 * You are the second person who reported this bug. I haven’t solved it yet. The
   problem is that the bug is in the Lightbox code, so I have to report it to the
   developer of the lightbox or fix it myself. This gonna take a while, because 
   I’m not shure yet what exactly couses the bug.
 * You can help by reporting all the plugins you have currently activated. That 
   would be great!
 * Thanx in advance
 * _I’ve created a ticket ([#2014](http://plugins.trac.wordpress.org/ticket/2014))._
 *  Thread Starter [SadieLue](https://wordpress.org/support/users/sadielue/)
 * (@sadielue)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/lightbox-sizing-off/#post-4256201)
 * Thanks for the response.
 * Activated plugins:
 * Akismet
    BackUpWordPress Easy Photo Album
 * G’luck!
 *  [jarharnamme](https://wordpress.org/support/users/jarharnamme/)
 * (@jarharnamme)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/lightbox-sizing-off/#post-4256458)
 * i solved this by adding **max-width: inherit;** into .lightbox .lb-image in easy-
   photo-album/css/lightbox.css and easy-photo-album/css/lightbox.min.css
    the coding
   will looks like this
 * in easy-photo-album/css/lightbox.css
 * /* line 28, ../sass/lightbox.sass */
    .lightbox .lb-image { display: block; **
   max-width: inherit;** height: auto; -webkit-border-radius: 3px; -moz-border-radius:
   3px; -ms-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; }
 * easy-photo-album/css/lightbox.min.css
 * lightbox .lb-image{display:block;**max-width: inherit;**height:auto;-webkit-border-
   radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;
   border-radius:3px;}
 *  Plugin Author [TV productions](https://wordpress.org/support/users/tv-productions/)
 * (@tv-productions)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/lightbox-sizing-off/#post-4256459)
 * Thank you very much for your solution. Somebody commented the same solution this
   week at the github.com repository of the lightbox. That solution only used `max-
   width: none;`, witch I think is a better solution. Would you like to try it out?
   Download now the [development version](http://downloads.wordpress.org/plugin/easy-photo-album.zip).(
   note, the development version can be unstable, so use with care 😉 )

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Lightbox sizing off’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easy-photo-album_babfd0.svg)
 * [Easy Photo Album](https://wordpress.org/plugins/easy-photo-album/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-photo-album/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-photo-album/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-photo-album/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-photo-album/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-photo-album/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [TV productions](https://wordpress.org/support/users/tv-productions/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/lightbox-sizing-off/#post-4256459)
 * Status: not resolved