You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default values just represent the guessed current behavior, but I would e.g. like to change to this:
width: 260
height: 195
crop: off
add borders: on
People like the author might prefer cropped pictures (as it is), but I prefer to see the full picture in the thumbnail already, even if there is need to add borders then to achieve same dimension for all images.
I also show some code how I did it so far, but it's in Python 3.6 and might serve just as template:
(on the other hand the thumbnail method used here is quick like hell, in tests it was fastest so far)
Additionally, but less important, I would like that you can also disable generating "web images" (the "thumbs" with _small suffix), instead just show the original picture (reason: hdd health).
The text was updated successfully, but these errors were encountered:
bufemc
changed the title
Possibility for non quadratic thumbnails: width, height, optional borders (code attached)
Allow non quadratic thumbnails: width, height, optional borders (code attached)
Jan 4, 2018
I would like to to generate non quadratic thumbnails, too. This could be done by specifying:
thumbnail width: (default: 200)
thumbnail height: (default: 200)
thumbnail crop: off/on (default: on)
thumbnail add borders (to fit exactly thumbnail size): off/on (default: off)
The default values just represent the guessed current behavior, but I would e.g. like to change to this:
width: 260
height: 195
crop: off
add borders: on
People like the author might prefer cropped pictures (as it is), but I prefer to see the full picture in the thumbnail already, even if there is need to add borders then to achieve same dimension for all images.
I also show some code how I did it so far, but it's in Python 3.6 and might serve just as template:
(on the other hand the thumbnail method used here is quick like hell, in tests it was fastest so far)
Additionally, but less important, I would like that you can also disable generating "web images" (the "thumbs" with _small suffix), instead just show the original picture (reason: hdd health).
The text was updated successfully, but these errors were encountered: