# Gallery - Image preloading / progressive loading

**URL:** <https://help.nextcloud.com/t/gallery-image-preloading-progressive-loading/12974>\
**Category:** 🏷️ General\
**Tags:** app-ideas\
**Created:** [May 23, 2017, 11:16am UTC](https://help.nextcloud.com/t/gallery-image-preloading-progressive-loading/12974 "2017-05-23T11:16:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martian1530](https://help.nextcloud.com/letter_avatar/martian1530/32/6_449c533f586939b6e5f246632a46421f.png) [@Martian1530](https://help.nextcloud.com/u/Martian1530)\
**Post date:** [May 23, 2017, 11:16am UTC](https://help.nextcloud.com/t/gallery-image-preloading-progressive-loading/12974/1 "2017-05-23T11:16:02Z")

</div>

Hi guys,  
first of all many thanks for the work you’re doing and congratulations for version 12 release. Keep up the good work.

There’s one thing I’d like to ask: Have anyone been looking at the image loading mechanism in the Gallery app? I find the image loading process quite slow. My girlfriend has a slow internet connection at her house and looking at the images we have in our shared albums is quite painful (she’d use a different phrasing 🙂 ).  
I’ve been playing around with NextCloud and even in my flat, where the server is located, the image loading is extremely slow. I access it over a gigabit line.  
I am sure the server performance is not the problem (I run NC on 2.5GHz processor with 4GB RAM).

If compared to (and I don’t like doing this) to google photos, the images load perfectly fine there (works fast and great even at my girlfriend’s house).

I’ve been looking into different sorts of compression methods and I’ve even considered developing a new Gallery app that would support compression or progressive loading of images (meaning things like generating lower quality thumbs, unblurring or preloading next image in a set, sort of like what’s described [here](https://jmperezperez.com/medium-image-progressive-loading-placeholder/)).

Unfortunatelly I am new to NC app developement and to be honest I don’t know where to start. Before I go on about re-inventing the wheel, I just wanted to ask if anybody was working on something similar so that I might pick up the work and continue from there.

From what I’ve seen on the forum topics, I understand that many many people would appreciate revamped gallery app with focus on image loading.

Cheers guys and thanks in advance for any reply.

Martin

---

<div class="post-metadata">

**Author:** ![Martian1530](https://help.nextcloud.com/letter_avatar/martian1530/32/6_449c533f586939b6e5f246632a46421f.png) [@Martian1530](https://help.nextcloud.com/u/Martian1530)\
**Post date:** [May 24, 2017, 12:20pm UTC](https://help.nextcloud.com/t/gallery-image-preloading-progressive-loading/12974/2 "2017-05-24T12:20:52Z")

</div>

Seriously no one to comment up on this?

---

<div class="post-metadata">

**Author:** ![JasonBayton](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jasonbayton/32/297_2.png) [@JasonBayton](https://help.nextcloud.com/u/JasonBayton)\
**Post date:** [May 24, 2017, 12:21pm UTC](https://help.nextcloud.com/t/gallery-image-preloading-progressive-loading/12974/3 "2017-05-24T12:21:49Z")

</div>

Probably best addressed in the gallery category and by @oparoz

---

<div class="post-metadata">

**Author:** ![MichaIng](https://help.nextcloud.com/user_avatar/help.nextcloud.com/michaing/32/2125_2.png) [@MichaIng](https://help.nextcloud.com/u/MichaIng)\
**Post date:** [May 24, 2017, 12:24pm UTC](https://help.nextcloud.com/t/gallery-image-preloading-progressive-loading/12974/4 "2017-05-24T12:24:19Z")

</div>

For faster preview generation use the [preview generator](https://apps.nextcloud.com/apps/previewgenerator) app. But this only effects the speed of preview popup (the ones, that were not yet generated by the preview engine), not the one of the actual picture opening.

---

<div class="post-metadata">

**Author:** ![oparoz](https://help.nextcloud.com/user_avatar/help.nextcloud.com/oparoz/32/135_2.png) [@oparoz](https://help.nextcloud.com/u/oparoz)\
**Post date:** [May 24, 2017, 12:45pm UTC](https://help.nextcloud.com/t/gallery-image-preloading-progressive-loading/12974/5 "2017-05-24T12:45:56Z")

</div>

As @MichaIng has mentioned, the best way to speed up Gallery is to pre-generate thumbnails and have that running on a cron.  
It should also help with the big previews as these are cached as soon as the preview is generated.

---

<div class="post-metadata">

**Author:** ![ErAzOr](https://help.nextcloud.com/letter_avatar/erazor/32/6_449c533f586939b6e5f246632a46421f.png) [@ErAzOr](https://help.nextcloud.com/u/ErAzOr)\
**Post date:** [May 25, 2017, 3:41pm UTC](https://help.nextcloud.com/t/gallery-image-preloading-progressive-loading/12974/6 "2017-05-25T15:41:56Z")

</div>

_it should_ well yes, speed is faster with pre-generate of thumbnails, but far away from perfect. In my opinion, it’s still too slow

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 2, 2024, 1:36pm UTC](https://help.nextcloud.com/t/gallery-image-preloading-progressive-loading/12974/7 "2024-12-02T13:36:53Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 1:27pm UTC](https://help.nextcloud.com/t/gallery-image-preloading-progressive-loading/12974/8 "2024-12-04T13:27:37Z")

</div>


