[Owncloud] thumbnails in gallery app

Bartek Przybylski bart.p.pl at gmail.com
Sat Jan 14 13:46:19 UTC 2012


hi!
i wrote code for generation of thumbnails to data/user/gallery, but
forgot to use those thumbnails in ownCloud3alpha1 ;) this error is
repaired on master git branch and will be introduced into ownCloud
Beta and Full

bartek

2012/1/14  <Software at quantentunnel.de>:
> Hi
>
> Thumbnails in the gallery app are very slow to appear, as also listed on the bug tracker. There is also an issue with images that are recognized by their mime types, but not handled by the thumbnail creator routines (e.g., bmp are not handled). I looked into the code, hoping that I find a way to improve.
>
> What struck me: the code to create thumbnails for folder display (i.e., 10 thumbnails next to each other) is duplicated in apps/gallery/lib/images_utils.php and apps/gallery/ajax/getCovers.php
>
> images_utils.php is called when rescanning and creates pre-rendered thumbnails as data/username/gallery/*.png (which makes sense as rendering takes a long time).
> getCovers.php is called when folders are shown on the client's webpage; the code does not seem to use the pre-rendered thumbnails but creates new thumbnails each time.
>
> Can somebody explain me the reasoning behind this design?
>
> Best
>
> Al_
> --
> NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
> Jetzt informieren: http://www.gmx.net/de/go/freephone
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud



More information about the Owncloud mailing list