Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

Pictures: Images should be scaled for the lightbox #1095

Open
nicokaiser opened this issue May 10, 2013 · 9 comments
Open

Pictures: Images should be scaled for the lightbox #1095

nicokaiser opened this issue May 10, 2013 · 9 comments

Comments

@nicokaiser
Copy link

nicokaiser commented May 10, 2013

The lightbox in the pictures viewer delivers the original sized images in the fullscreen view. When a folder contains full-resolution DSLR JPEGs, these may be 7 MB or larger, which makes ownCloud very slow (and consumes lots of bandwidth).

gallery/ajax/image.php should scale (and cache) the images to e.g. 1024x1024 (configuration).

@lupusmeatus
Copy link
Contributor

Yes, we really need some server-side scaling.

@lupusmeatus
Copy link
Contributor

If a cache is implemented, please turn it off by default or implement some hard limit. OItherwise we will see many owncloud-sites, that stop working, because of missing disk-space. For some algorithms to implement this hard limit see http://en.wikipedia.org/wiki/Cache_algorithms

@lupusmeatus
Copy link
Contributor

Maybe we should scale to more than one size, since the max-resolution differs so much between devices.

@lupusmeatus
Copy link
Contributor

We could use the thumbnails (that are propably already in the browser-cache) to make the navigation-controls (in the single-image-view) respond quicker.

@MorrisJobke
Copy link
Contributor

cc @icewind1991

@skomorokh
Copy link

Pretty much a required feature for use as a gallery. But sometimes you'll want to zoom in or grab a copy of the full image so it's important to provide a link back to the original.

As for running out of space, perhaps a cache expiration that removes the least recently used ones? You could set a max for the cache and it would prune to that or the remaiing quota, whatever is smaller. And try and free up space from the cache when the quota is hit. Something like that?

@etiess
Copy link

etiess commented Oct 7, 2013

Hello,

I totally agree with this feature! It would be great. Is there any progress regarding it? Does it have something to do with owncloud/core#4022 ?

Android app should benefit from that too (see owncloud/android#59 ,owncloud/core#86 and owncloud/android#239)

Perhaps we could merge these topics into one single topic?

Thank you!

@tritumrb
Copy link

+1 That would be great! Loading images in full size is a huge waste of traffic

@didhavn
Copy link

didhavn commented Jan 10, 2017

Hey all.
I just wanted to ask if any of you know if there are some updates on that.
A 2nd resized (cached) version of large images for gallery slideshow (and android App) would be a great feature and save a lot of traffic.
Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants