Thumbnail: scale / resize / crop

Permalink
Hi,

I use v5.7.5.3 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.

Thanks,
Ruben

aruben
 
section1 replied on at Permalink Reply
Avoid using the scale function, set your initial pixel height and width in a photo editing software and upload it to your site. The file size will be smaller and the pics will load much faster.

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.
aruben replied on at Permalink Reply
aruben
Thanks for your recommandations.

My need is to have a picture with different proportions from the original image.

Typically:
- 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?
Thanks,
Ruben
section1 replied on at Permalink Reply
I'm sorry but I don't fully understand what you need, all I know is if you want a certain pixel size then you need to create in photoshop or something else like it. You don't need ftp to upload pics to C5 but it would come in handy for other things.
andrew replied on at Permalink Reply
andrew
Could you create different versions for both?

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.
aruben replied on at Permalink Reply
aruben
Hi,
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.
Ruben