Scale thumbnail image proportional with detection of longest side?

Dear support,

in Latest News Extended, for thumbnails I would like to achieve the following two points:
    1) proportional scaling of thumbnail image
    2) configure width and height (e.g. 96px) to only apply to the longest side and resize the shorter side keeping aspect ratio; such that the resized thumbnail becomes e.g. either 96px x 72px or 72px x 96px, depending on portrait or landscape of original image

Can you help me?

Thanks in advance,
Sascha.
11 years 3 months ago #1 by Sascha
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5310) Offline
Hi sascha, There is "Resize Option" parameter about how to produce the thumbnail in the module backend. have you tried it? There are some options such as crop, auto, exact, portrait, landscape etc.
11 years 3 months ago #2 by TemplatePlazza
The topic has been marked as resolved.
Yes, I have tried, but I'm not quite able to figure out the right setting.
Perhaps you can tell me which options to choose?

Thanks,
Sascha.
11 years 3 months ago #3 by Sascha
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5310) Offline
How about to try : auto, portrait or landscape.
Please make sure to delete all generated thumbnails images when you're testing the options
11 years 3 months ago #4 by TemplatePlazza
The topic has been marked as resolved.

make sure to delete all generated thumbnails images when you're testing the options

That might be the cause...

Could you please tell me how to delete previously generated thumbnails?
I wasn't able to find such a button...
11 years 3 months ago #5 by Sascha
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5310) Offline
The images are generated and saved into this folder : [root]/images/latestnewsxtd
11 years 3 months ago #6 by TemplatePlazza
The topic has been marked as resolved.
Powered by Kunena Forum