NOTE: The following issue is relevant up to Slickr Flickr 1.29 – it is resolved from Slickr Flickr 1.30 onwards
Most Galleria themes automatically calculate their required size based on the photos. The exception is the default ‘classic’ theme where you need to specify the height and width specifically. For small, medium and medium 640 elements there are CSS elements in slickr-flickr.css that specify a default size however there is no CSS element for large photos and hence the galleria fails with an error.
Fatal error: Width & Height not found
User Galleria With Size Set by Slickr Flickr Container
Here the height and width parameters are passed and used to set the size of the slickr-flickr-galleria element.
[code]slickr-flickr id="63522826@N02" tag="The Courtyard at Sainte Catherine" type="galleria" items="41" sort="description" direction="ascending" flickr_link="on" size="large" width="800" height="600" border="on" cache="off"[/code]
The galleria should appear below but does not in version 1.29 as the height and width do not get passed through.
Passing Dimensions Directly to the Galleria
Here the height and width are passed directly to the galleria using the options parameter
slickr-flickr id=”63522826@N02″ tag=”The Courtyard at Sainte Catherine” type=”galleria” items=”41″ sort=”description” direction=”ascending” flickr_link=”on” size=”large” options=”height:600;width:800;transition:fadeSlide”
In this case the galleria appears below..
The width does not work as intended due to the following element which makes the galleria too narrow for large photos
[code]
.slickr-flickr-galleria.landscape { width: 560px; }
[/code]
Replace this line in the slickr-flickr.css file with
[code]
.slickr-flickr-galleria.landscape.large { width: 1024px; }
[/code]
Leave a Reply