Are you still having issues with Galleria?
I have used this plugin extensively.
A few important things:
In general, Galleria scripts need to be adjusted to work effectively in Shopify. More specifically, all image/icon references in the script need to be corrected to point to Shopify assets.
Let me know if you need any assistance outside of this.
info@mwebsolutions.com.au
You can use CDN without having to rewrite scripts - that way they mange folder structures that are otherwise not supported in Shopify assets directory.
<!-- load Galleria -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.4.7/galleria.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.4.7/themes/classic/galleria.classic.min.js"></script>
Hi Ryan,
Have you discovered if Superstore theme allows for this plug-in?
I'm trying to add this code for my store:
<div class="galleria">
<img src="https://cdn.shopify.com/s/files/1/0278/8399/5245/files/2017-01-30_031133_luburgh_103051c6-5139-4809-...">
<img src="https://cdn.shopify.com/s/files/1/0278/8399/5245/files/2017-01-30_031133_luburgh_103051c6-5139-4809-...">
</div>
<script>
Galleria.loadTheme('https://cdn.shopify.com/s/files/1/00/3589/t/6/assets/galleria.classic.min.js');
Galleria.run('.galleria');
</script>
Here are the assets I've added:
{{ 'galleria-1.6.1.js' | asset_url | script_tag }}
{{ 'galleria-1.6.1.min.js' | asset_url | script_tag }}
Thanks,
Kenneth
User | Count |
---|---|
442 | |
192 | |
138 | |
62 | |
42 |