Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There are a number of Galleria options which aren't supported by this module:
- Basic options:
show_info
(boolean): whether to show the captionshow_counter
(boolean): whether to display a counter of imagesshow_imagenav
(boolean): whether to display the previous/next arrowsmin_scale_ratio
(number): the minimum scale ratio for images- Built-in lightbox settings:
lightbox_fade_speed
(number): how fast the built-in lightbox should transition between images once the lightbox is startedlightbox_transition_speed
(number): how fast the built-in lightbox should animate the white square before displaying the imageoverlay_opacity
(number): how much opacity the overlay behind the lightbox should haveoverlay_background
(string): the HEX overlay color
- Advanced options:
clicknext
(boolean): helper for adding a click event for each image that navigates to the next image in the galleryidle_time
(number): adjust the time before galleria goes into idle modeimage_pan
(boolean): set to true when cropping images to apply a mouse-controlled movement of the image to reveal the cropped partsimage_pan_smoothness
(number): how "smooth" the image pan movement should bethumb_fit
(boolean): whether to shrink thumbnail containers to the size of the thumbnail
Comments
Comment #1
mparker17While doing this, it might also be worth rearranging the options:
height
: Height of the gallerypopup_links
: Open any links in a new window?queue
: Queue multiple commands?show
: Which image to show firstautoplay
: Enable autoplay?autoplay_ms
: Time between imagescarousel
: Enable carousel?carousel_speed
: Carousel scroll speedcarousel_steps
: Number of images to scrollcarousel_follow
: Have carousel automatically follow the active image?show_info
: Display a caption?show_counter
: Display position and total number of images?show_imagenav
: Show previous/next arrows?image_crop
: Image Crop methodimage_pan
: Enable panning if active image is too big?image_pan_smoothness
: Smoothness of panningmax_scale_ratio
: Maximum ratio to scale an imagemin_scale_ratio
: Minimum ratio to scale an imageimage_margin
: Active image marginimage_position
: Active image positionthumbnails
: Enable thumbnails?thumb_quality
: Force IE to use bicubic image renderingthumb_margin
: Thumbnail marginthumb_fit
: Shrink thumbnail containers to thumbnail size?preload
: How many images to preload in advancetransition
: How to transition between imagestransition_function
: Custom transition code (overridestransition
)transition_speed
: Speed to transitiondebug
: Enable debug mode?keep_source
: Keep HTML source intact?data_config
: How to extract data from the HTMLdata_image_selector
: JQuery selector for the actual imagedata_source
: JQuery selector for the datadata_type
: way that the data is encodedextend
: Triggered when the theme is initializedclicknext
: Add a click event for each active image that navigates to the next image.on_image
: Triggered when an image is loaded and about to enter the stagelightbox_fade_speed
: how fast the built-in lightbox should transition between images once the lightbox is startedlightbox_transition_speed
: how fast the built-in lightbox should animate the white square before displaying the imageoverlay_opacity
: how much opacity the overlay behind the lightbox should haveoverlay_background
: the HEX overlay colorComment #2
izmeez CreditAttribution: izmeez commentedsubscribing
Comment #3
yub_yub CreditAttribution: yub_yub commentedIs there a solution to this yet? I'd really like to be able to use some of these features. I tried the patch at #1070230: I think this fixes most everything but it did not work for me - although I have to admit this could be because I've not applied it properly, I'm still a beginner.