-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache image dimensions #7881
Comments
Idea:
For cache the image metadata the gallery app could provide its own database table. I'm not sure whether it's a good idea to introduce such metadata layer directly in core. |
@PVince81 yes, that's exactly what I have in mind. The reason why I request this feature in core is that |
In addition we should keep in mind that we have thumbnail generation in core. |
Any idea what the purpose of the table |
Seems this is no longer necessary as thumbnails are now displayed quickly in the gallery. Can we close this? |
Now that we generate the max preview, it should be easy to add its dimensions to the file cache at generation time. |
Feature request: cache the dimensions of all images.
I'm currently working on a seamless display for the Gallery app (owncloud/gallery#17). The current situation is that pictures get downloaded and the dimensions are calculated at the client side. After enough pictures for an entire row are downloaded the images of that row are justified and then displayed. Therefore it takes a while before the first row of images is shown, forcing the user to wait longer then necessary.
The above can be fixed by caching the dimensions of all images. The dimensions can be sent to the client before actually downloading the images, enabling the client to calculate the justification beforehand and display the image instantly on arrival at the right location.
The text was updated successfully, but these errors were encountered: