nextcloud / gallery

DEPRECATED Gallery app was replaced by Photos
https://github.com/nextcloud/photos
GNU Affero General Public License v3.0
109 stars 58 forks source link

Generate thumbnails on demand #15

Open oparoz opened 8 years ago

oparoz commented 8 years ago

From @oparoz on February 12, 2015 17:1

Background thumbnail generation might be coming in the future. We're tracking it here: https://github.com/owncloud/gallery/issues/18

In the meantime or in addition, we could offer a way to generate these thumbnails on demand in order to make the app usable from the first load.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Copied from original issue: owncloud/gallery#22

oparoz commented 8 years ago

Closing as this needs to be dealt with in core so that we don't duplicate the effort. Also, it won't work when encryption is enabled.

oparoz commented 8 years ago

From @deMattin on September 9, 2015 18:27

:sad:

oparoz commented 8 years ago

I know...but it shouldn't take more than 6 months since the basic mechanism is in place in core. It's just that previews is not a priority.

It can also be a separate app which just creates a cron which goes through the whole instance, looking for missing thumbnails.

I'm sure you could even create it. It would make 2 calls: isCached() and createPreview();

oparoz commented 8 years ago

Solution is available as an occ command: https://github.com/owncloud/gallery/pull/387

Only available to admins, because this wouldn't work as a user callable command since it would probably time-out before the task could be completed.

oparoz commented 8 years ago

smb_stats