andriyboychenko / books-online

playing with python - django, javascript, jquery, html, bootstrap
Apache License 2.0
0 stars 0 forks source link

Add thumbnail field to Book table #22

Open andriyboychenko opened 10 years ago

andriyboychenko commented 10 years ago

Add thumbnail field to Book table. In addition, should be written a method which decides, basing on which image will be generated a thumbnail. Perform changes on code developed on this commit https://github.com/andriyboychenko/books-online/commit/c131e8079b587ab1161767e6f4cbbc309f512b9c

andriyboychenko commented 10 years ago

when a new book is added, a thumbnail will be the first uploaded image. afterwards it can be changed when the book is edited. there is not necessary to create a new column as the thumbnail names are the almost the same as original images.