#5585 (The albums plugin should manage thumbnails)
by Luc Saffre · in Developers · assigned to Luc Saffre
Summary
The [url beta.mylino.net/p/12 Photos page] of the beta demo shows that the photo files are quite large (up to 6 MB). We want to have the original files on the server, but we should use thumbnails when appropriate. We should probably have some admin command or background task (actually both) to build these thumbnails. And the "when approprate" should be "automatic" (transparent for the end user).
Children
Comments
- 1 year, 9 months ago by Luc Saffre about #5585 (The albums plugin should manage thumbnails) : Yes, it's bit vague, i assigned this ticket back to me.
- 1 year, 9 months ago by Sharif Mehedi about #5585 (The albums plugin should manage thumbnails) : Not sure what I can do about this ticket!
- 1 year, 11 months ago by Luc Saffre about #5585 (The albums plugin should manage thumbnails) (1 reply) : I started to realize that my Previewers choicelist is bullshit.
- 1 year, 11 months ago by Luc Saffre about #5585 (The albums plugin should manage thumbnails) : Before investing much more time into implementing previewers we should check [url pypi.org/project/preview-generator/ preview-generator].
- 1 year, 11 months ago by Luc Saffre about #5585 (The albums plugin should manage thumbnails) : One more thing before clearing out the test suite: Upload.full_clean() should check the previews and automatically build them if needed.
- 1 year, 11 months ago by Luc Saffre about #5585 (The albums plugin should manage thumbnails) : Something is broken in CMS when use_markup is set to True. It's broken already in the current online demoe (i.e. not related to my current changes). I changed use_markup back to False, then fixed a bug in the laundry_nodes.py fixture. Now the cms1 demo features photo pages that do not display slowly...
- 1 year, 11 months ago by Luc Saffre about #5585 (The albums plugin should manage thumbnails) : It was easier than I thought. It basically work now in my local copy. Before I can publish it check cms1, the memo commands in the photos page is broken there.
- 1 year, 11 months ago by Luc Saffre about #5585 (The albums plugin should manage thumbnails) : I am advancing on this. Cool: building the previews doesn't need a walk of the filesystem nor a new admin command, it's just a few lines of code in the existing data checker for Upload.
- 1 year, 11 months ago by Luc Saffre about #5585 (The albums plugin should manage thumbnails) : This ticket is related to #5299.
- 2 years, 4 months ago by Luc Saffre about #5585 (The albums plugin should manage thumbnails) : Another reason is to provide short urls to the images, which is important when we replace memo commands by markdown. #5623.
- 2 years, 5 months ago by Luc Saffre about #5585 (The albums plugin should manage thumbnails) : It's also the library pictures. Maybe get inspiration from [url sigal.saimon.org/en/latest/ sigal] or similar software and have two separate trees of files.
- 2 years, 5 months ago by Luc Saffre about #5585 (The albums plugin should manage thumbnails) : Created new Ticket #5585 (Should the albums plugin manage thumbnails?).