I am currently working on an auction platform using Python/Django. Users have the ability to input URL's for their product images from external sites like Photobucket.
My approach involves linking to the external product image when showcasing a specific auction. However, for a list of auctions (such as a search results page), I need to display thumbnails.
I have identified two potential solutions:
Utilize the externally hosted images as thumbnails by specifying a standardized small size to convert them into thumbnails. How can I accomplish this? Should I define the thumbnail size in the CSS or elsewhere? What size would be ideal? I would greatly appreciate any code examples as I am not very familiar with CSS or HTML.
Alternatively, when a user submits a URL to an external image, I could download the image to my server and create a thumbnail. Are there any Python/Django tools available for downloading the remote image and generating a thumbnail?
Any general advice is welcomed. I am inclined towards option (1) due to limited resources on my VPS. Any reasons why this might not be a good approach?
Thank you.