Title: Size fitting issue
Last modified: August 20, 2016

---

# Size fitting issue

 *  [jk171505](https://wordpress.org/support/users/jk171505/)
 * (@jk171505)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/size-fitting-issue/)
 * I’m trying to set the proper size of displayed images, but looks like this isn’t
   possible…
    When size is set as large in settings, some of the displayed images
   are bigger than the document window, so the navigation between images is really
   painful. When size set as medium, images are very small. Is there possible to
   just FIT the image if it’s bigger than document window?
 * To me it seems to be to most logical feature, which for some reason isn’t available
   in this plugin.
 * Does anyone has idea how to accomplish this?
 * [http://wordpress.org/extend/plugins/lightbox-gallery/](http://wordpress.org/extend/plugins/lightbox-gallery/)

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

 *  [knowsnowrong](https://wordpress.org/support/users/knowsnowrong/)
 * (@knowsnowrong)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/size-fitting-issue/#post-3625071)
 * Just change the **maxWidth** setting in **jquery.colorbox.js** from false to 
   something like “600”.
 * Example
 *     ```
       defaults = {
               transition: "elastic",
               speed: 300,
               width: false,
               initialWidth: "600",
               innerWidth: false,
               maxWidth: "600",
       ```
   
 *  [Bob](https://wordpress.org/support/users/jbkdevries/)
 * (@jbkdevries)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/size-fitting-issue/#post-3625121)
 * I’ve tried that, but that is not the solution to the problem. That only configures
   a fixed maximum size, not a dynamic one.
 * I’m looking for the same functionality. I want my image size to adjust to the
   browser size. Still havent found a way to accompish that.
 * If anyone can shed more light on this it would be appreciated.

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

The topic ‘Size fitting issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/lightbox-gallery_4a535d.svg)
 * [Lightbox Gallery](https://wordpress.org/plugins/lightbox-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lightbox-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lightbox-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/lightbox-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lightbox-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lightbox-gallery/reviews/)

## Tags

 * [fit](https://wordpress.org/support/topic-tag/fit/)

 * 2 replies
 * 3 participants
 * Last reply from: [Bob](https://wordpress.org/support/users/jbkdevries/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/size-fitting-issue/#post-3625121)
 * Status: not resolved