I'm making my site with media queries usign different size of pictures so mobiles can download them in hurry. But, sorry, I'm not able to understand how to make different list of images for Fotorama. List for desktop: img1 (1300x867px), img2, img3 .... List for mobile: img1b (480x800px), img2b, img3b, ...
How to make 2 different list of images for desktop and mobile?
465 Views Asked by Mowgli At
1
There are 1 best solutions below
Related Questions in FOTORAMA
- Insert an array of images in another array
- Is it possible that in Fotorama arrows can change?
- Get event of fotorama video play button being clicked
- Magento 2 - How to replace webP image in Fotorama JS
- How to Resize fotoroma library popup when clicking on product image on product view page in Magento 2?
- How to add external image in magento2 pdp
- Magento 2 Fotorama swipe with mouse open fullscreen mode
- Accessing a Declared Variable
- fotorama gallery not working inside Swiper slider
- Fotorama jQuery Image Gallery Not loading to full size
- How to limit magento 2 items at thumbnail slider for product page
- Image swatches working on every product page except one in particular
- Zoom feature for Fotorama jQuery plugin
- Add custom video at Fotorama - Magento 2 Product Page
- Using fotorama in vue
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I created two Fotorama-div-blocks with different lists of images. First div has class "fotorama low-fi", second div-block — "fotorama hi-fi". CSS with media queries shows only one Fotorama.
Thus, the excess content is not downloaded to the browser
UPD: I'm right, if you are use „Lazy load“ http://fotorama.io/customize/lazy-load/
I'm almost rights without lazy load: big images not loaded at Safari's iPhone. Before I made the two div-blocks, iPhone worked slowly.