django - How to generate high resolution thumbnails for only some aliases? -


I am working on a photography website in the DJENGO.

Because the site is "responsive", we pre-generate several sizes of each image using the aliases set. In particular, 7 images with a width starting at 960 pixels width of 3,840 pixels in 480 pix increments. These photos will be used when a photo is shown full-screen (as is not in the list view).

This site is also created for Hydipi / Retina Display / Devices. Therefore, we want to use the setting: To make the THUMBNAIL_HIGH_RESOLUTION automatically prepare @ 2x versions of some aliases , but most notably, to make The category of 7 images used for the full-screen images above are not used for the aliases used.

This project is meant to show the work of the photographer, we are using high quality settings, so each image is roughly 3840x2160 pixels size and, through our pre-generation almost 50 mb of jpg, unfortunately, about 50% is pure waste because we use @ 2x version on an image when we show the collection of lists or images on a page. These are usually only 300 pixels / 600 pixels wide and are relatively small compared to our "full screen" image set.

We considered disabling THUMBNAIL_HIGH_RESOLUTION and making just new aliases for @ 2x versions,

So, we have standard @ 2x (or _2x) infix for some of our names How can HPIPI / Retina images be prepared?

UPDATE: This is now an easy feature of thumbnail! In the aliases you can use HIGH_RESOLUTION: incorrect to disable their creation, or HIGH_RESOLUTION: correct them to apply. Thanks @ chrisismele!

In Easy Thumbnail 1, @ 2x currently works hard But in the next version, users can select another configuration through a configuration setting. See it for details.

To answer your second question, it is currently not possible to generate retinal thumbnails for only some entries, easy-thumbnail does not have all-or-any policy, but it can be changed in principle is.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -