Closed (works as designed)
Project:
Galleria
Version:
7.x-1.0-beta3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2013 at 11:01 UTC
Updated:
8 Oct 2013 at 03:25 UTC
I tried everything in this thread https://drupal.org/node/1536098 and the issue still persists. My theme is Corolla and whatever I do for the past 3 days (removing 'width' parameter and setting it in CSS as .galleria-container {width: auto;} ),it just does not work!
Comments
Comment #1
kingswoodute commentedTry
I'm using version 7.x-1.0-beta3
It works great and resizes dynamically. Hope this helps.
Comment #2
drupalina commentedI have found out that the Galleria stops working when you set the width to "auto" and if you have a custom template like node--article.tpl.php
In that template I do the following:
At the top I print
<?php hide($content['field_images']); ?>In teaser I show only the first image and so I print
and in the full node I print
If you don't have a custom node--content-type.tpl.php then setting width to "auto" works and Galleriais responsive. But if you have a custom node--content-type.tpl.php and set the images using the above codes, then Galleria doesn't display at all.
Can anyone help? How to correctly print render the galleria in a custom node--content-type.tpl.php???
Comment #3
drupalina commentedOk, I got it to work just by adding [0] for the full node display:
Comment #4
drupalina commentedclosing the issue