Thumbnail: scale / resize / crop
I use v18.104.22.168 release.
I uploaded an image and set different sizes for thumbnails (as in the documentation: small, medium, large).
The original image is 1440x383 px, and type "small" is 740xautomatic px
In some cases, I want 740x740 px, and other 740xautomatic px
I tried to use the scale & crop functions to resize the image (rectangle to square), but I didn't succeed: the original image is scaled / cropped, but the selection area remains rectangle.
Do you have a solution?
Maybe put a link to upload an image to replace the generated thumbnail?
I don't understand the crop functionality, except to add a right/left black band.
If you to use the image slider use the dimensions that has been set by the programmers, I have frantically searched for a whole month as to where it is located to change it to my own dimensions but couldn't find it.
My need is to have a picture with different proportions from the original image.
- for the banner area, I need an image 1440x500 but cropped to 480x480 in small screens
- for others areas, I need the small image in the same proportions than the original (so 480x167)
Due to the others areas, I can't force 480x480 for small images.
Currently, I upload 2 images (480x480 and 1440x450), I create 2 image blocks in the banner area (1 for small screens with the 480x480 ; and 1 for large screens with 1440x500) hidden/visible according to the size screen.
But I want to upload only 1 image (1440x500) and I want the possibility to crop to 480x480 for small screen (or to upload a different image instead, without using ftp).
If I put a slider block, this solution is annoying: I need to copy the texts 2 times.
Do you see another solution?
e.g. create your own thumbnail type "small" that's 740 x auto and "small_square" that's 740x740? Then in your own code you use either thumbnail as appropriate.
Yes it's the solution: I can create some sizes and rewrite/change the C5 block "Media slider" to use this specifics sizes.
The best is to have to ability to change/overwrite the thumbnail directly in C5.
I will modify the block.
Thanks for your help.