This looks at various options to display a galleria containing photos of both landscape and portrait format.
It looks at the impact of setting image_crop to one of 4 different values. The first 2 photos are portrait, the others are landscape.
- true
- false
- height
- width
Standard Galleria with no image crop
slickr-flickr search="sets" set="72157623301388591" size="m640" type="galleria"
Standard Galleria with image crop set to false
slickr-flickr search="sets" set="72157623301388591" size="m640" type="galleria" options="image_crop:false"
Standard Galleria with image crop set to height
slickr-flickr search="sets" set="72157623301388591" size="m640" type="galleria" options="image_crop:height"
Standard Galleria with image crop set to height
slickr-flickr search="sets" set="72157623301388591" size="m640" type="galleria" options="image_crop:height"
Standard Galleria with image crop set to width
slickr-flickr search="sets" set="72157623301388591" size="m640" type="galleria" options="image_crop:width"
The main thing to note from this is that when the galleria gives a parameter as imageCrop then you should translate it is to image_crop. So similarly imagePan becomes image_pan, transitionSpeed becomes transition_speed, etc
Leave a Reply