Codespilot / vocadb

Automatically exported from code.google.com/p/vocadb
2 stars 1 forks source link

Additional thumbnail sizes for albums and artists #115

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently there's only one thumbnail size available for both albums and 
artists: 250x250px. However, most listings for albums use 150x150px pictures. 
Some listings like the index page use 70x70px pictures for artists and albums. 
At least 70x70 thumbnails should be generated for both albums and artists. For 
albums 150x150 thumbnails might be useful as well.

Original issue reported on code.google.com by rii...@gmail.com on 18 May 2013 at 8:55

GoogleCodeExporter commented 8 years ago
Reminds me, there's also a "small thumbnail" size defined at 70x70px for 
additional pictures, but generation of those thumbnails was disabled.

Original comment by rii...@gmail.com on 31 Aug 2013 at 2:14

GoogleCodeExporter commented 8 years ago

Original comment by rii...@gmail.com on 29 Sep 2013 at 9:13

GoogleCodeExporter commented 8 years ago
Makes no sense to save these to DB like the original picture and 250x250px 
thumbnail currently are.

Unsure whether https://code.google.com/p/vocadb/issues/detail?id=114 should be 
done first (moving the original picture & thumbnail out of DB and to the same 
list as additional pictures).

I'm currently thinking the best way would be to have the original main picture 
in the DB and all thumbnails (including the 250x250px) in external files. The 
main picture is rarely requested, so performance isn't really an issue (at 
least after https://code.google.com/p/vocadb/issues/detail?id=110 is solved). 
Having it in the DB would make sure it's backed up with the rest of the DB, and 
thumbnails can always be generated as long as the original still exists.

Moving the thumbnails out of the DB would require a migration. Supporting case 
where the thumbnail may be in either DB or external file would be bad in the 
long run, so all thumbnails should be generated at once, which may be 
expensive. At the same time, thumbnails should be deleted from the database.

Original comment by rii...@gmail.com on 3 Oct 2013 at 6:52

GoogleCodeExporter commented 8 years ago
Original main pictures are still saved in DB, but all thumbnails are now being 
moved away from the DB. Currently done for albums, and will be done for artists 
soon.

Original comment by rii...@gmail.com on 30 Nov 2013 at 3:49

GoogleCodeExporter commented 8 years ago

Original comment by rii...@gmail.com on 30 Nov 2013 at 7:42