Closed (fixed)
Project:
Galleria
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2012 at 13:23 UTC
Updated:
11 Mar 2013 at 00:10 UTC
Hey there,
could someone please tell me what I have to do, that the gallery is autoscaling itself?
Tried Width: 80% Height: 40%, but it wont work :/
Any ideas about that?
Greetz
SG :)
Comments
Comment #1
juves commentedIn "Galleria -> Edit Option Set" add
responsive:trueand set width to auto or delete itIn your CSS set field-wrappers width to 80% and
.galleria-containerto 100%Comment #2
juves commentedAnd you probably need to clear Drupal and Browser caches to see changes
Comment #3
juves commentedComment #4
marcoka commentedhm well, i got
Comment #5
marcoka commentedok well NOT WORKING
changes nothing, galleria does not appear, meaning cant get size
Comment #6
jamesbenison commentedIf you set the galleria height option to a number below 2 it will use it as a ratio instead of a height in pixels. You don't need to supply a width in your optionset.
See: http://galleria.io/docs/options/height/
Then just set a % width in your css and galleria will adapt and scale. It works exceptionally well.
Comment #7
jamesbenison commented