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

moloc’s picture

Version: 7.x-1.0-beta6 » 7.x-1.0-beta7
Assigned: flightrisk » Unassigned

There 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

lsolesen’s picture

@Moloc I have no such path in my installation. Could you check whether it is still active in the dev-version?

moloc’s picture

The 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.

lsolesen’s picture

Category: bug » support
Priority: Major » Normal
Status: Active » Fixed

Let us close the issue.

flightrisk’s picture

I'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

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.