I might have just missed it, but I've checked every option related to images and colorbox and can't find where I can select the lightbox image size. I tried to set it in colorbox, but was told in that forum that Media Gallery does not use the colorbox module settings, it uses the colorbox library directly. Whenever I click on a thumbnail in a gallery, the lightbox box appears at about the size I want, but then the picture displays and is bigger than my browser window. A small portion of the top is cut off and a larger portion of the bottom. I want to be able to used the settings like in the colorbox settings itself where I can give a size in pixels or say 50% of screen, or just "small", "medium", "large".
Comments
Comment #1
moloc commentedThere is a feature request, to use the colorbox settings, see #1053674: Integrate with colorbox module.
You can also define the image-style, shown in the lightbox at:
?q=admin/config/media/file-types/manage/image/file-display/media_gallery_lightbox
Comment #2
lsolesen commented@Moloc I have no such path in my installation. Could you check whether it is still active in the dev-version?
Comment #3
moloc commentedThe path is not generated by media_gallery.
You can find it at: Administration --> Configuration --> File types --> manage file display (for example on type Image) --> Gallery Lightbox
There you can change the image style for the lightbox. (Path just tested with media 7.x-1.0-rc2. If you like, i can test it with an actual version.)
As this is an old issue without any response to my solution, i think this can be closed.
Comment #4
lsolesen commentedLet us close the issue.
Comment #5
flightrisk commentedI've lived with it all these months. I tested again a couple of months ago and still couldn't get it to work. I am going to try the latest dev release of everything and see what happens. I am using media gallery so am looking through the docs of how the same code is apparently embedded inside there instead of using the separate module for the lightbox