artpolikarpov / fotorama

A simple, stunning, powerful jQuery gallery.
http://fotorama.io
Other
1.58k stars 378 forks source link

loading different images for desktop, tablet and mobile. #497

Closed mowglix closed 5 years ago

mowglix commented 8 years ago

I tried everything but there’s no way, mobile load also pictures for desktop. So I load images in Fotorama through a javascript. And it works perfect. No more unwanted images are loaded. And I have a lot of galleries in the same page. You can see the script in my website at this page: http://www.revolutionart.it/mural.html I’m not so expert in Javascript (I even don’t know how I was able to make this one! ) But it works with no problem and I’m using it in the other pages for my website. Can you look at it and make it as a “real” javascript? Specially when there are more galleries? I also ask: how to make captions in this way? I was not able to insert captions near some pictures. My poor knowledge of Javascript is surrendering.