Set galleria width in percentage, not in pixel
Opened this issue · 4 comments
Hi there,
First, what you have done is amazing!!!
But here is a problem... A problem already been discussed, but no official way to fix it.
The workaround of jeroenpx does not work (it cuts the galleria, if the wanted size is smaller than the contained images).
I really appreciate if you could find a way to fix this problem.
Currently, i'm doing this:
panel_width: $('#container').width() - 115,
115 is not accurate.
Best regards,
ph-sl
Can You link on discuss?
Ok. I'll check it in near future.
Hello ph-sl,
Are you still having trouble setting up the responsive GalleryView?
I know it is not very easy to setup the responsive GalleryView and maybe when I have time I write some extra code to make it as easy as setting the width as a percentage.
For the moment it is a bit more complex, but you can make the width scale to a certain percentage of a container.
If you need help, you can always contact me.
I recently also wrote some documentation on how to set it up which can be found here:
http://jeroenp.awardspace.com/?page=blog:responsivegalleryview#content
Jeroenpx