Thumbnail quality
- Posted by seppe (44) Offline
Good morning, regarding topic "minifrontpage thumbnail picture quality", I start my own topic
I tried to change the settings already to
if($file_ext == 'png'){
$imagetype = IMAGETYPE_PNG;
$quality = '9';
$file_ext = 'png';
}elseif($file_ext == 'gif'){
$imagetype = IMAGETYPE_PNG;
$quality = '9';
$file_ext = 'png';
} else {
$imagetype = IMAGETYPE_JPEG;
$quality = '90';
$file_ext = 'jpg';
After the change, I removed all the thumbnails, and generate them again. -> no difference
Attachment 1 is the image in original size on the website. dimensions: 250x250
Attachment 2 is the thumbnail which get created by the system. default settings 65x65
Both are square, I always try to do it, hoping to have the best quality.
Although, for some reason, I get a low quality thumbnail
edit: I am using version 3.0.2
greetings
4 years 4 months ago #1
by seppe
I tried to change the settings already to
if($file_ext == 'png'){
$imagetype = IMAGETYPE_PNG;
$quality = '9';
$file_ext = 'png';
}elseif($file_ext == 'gif'){
$imagetype = IMAGETYPE_PNG;
$quality = '9';
$file_ext = 'png';
} else {
$imagetype = IMAGETYPE_JPEG;
$quality = '90';
$file_ext = 'jpg';
After the change, I removed all the thumbnails, and generate them again. -> no difference
Attachment 1 is the image in original size on the website. dimensions: 250x250
Attachment 2 is the thumbnail which get created by the system. default settings 65x65
Both are square, I always try to do it, hoping to have the best quality.
Although, for some reason, I get a low quality thumbnail
edit: I am using version 3.0.2
greetings
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Hi Seppe, try to change the value of $size_multiplier to 1 at lines 198 and 224 then change the thumbnail settings from your module backend into 250x250
4 years 4 months ago #2
by TemplatePlazza
Please Log in or Create an account to join the conversation.
- Posted by seppe (44) Offline
Good afternoon
The thumbnail needs to be 65x65. otherwise there is extension is useless. then I van use normal articles.
All layout is based on the 65x65 dimensions
4 years 3 months ago #3
by seppe
The thumbnail needs to be 65x65. otherwise there is extension is useless. then I van use normal articles.
All layout is based on the 65x65 dimensions
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
If you want to get 'exactly' 65x65 (fixed) dimension for the thumbnail then I have to say that you won't get exactly 65x65 dimension with minifrontpage, because minifrontpage layout is designed using responsive design guidelines in mind so the thumbnail dimension will adapt depend on its column setting and also the width of the module parent container (please see the video screencast below) or width of the device (smartphones, tablet etc).
So let say you have a 65x65 thumbnail, but the module is placed on container that have width = 600 px, and you have set 4 column in the module settings, then the thumbnail size will resized to 600/4 = 150px and it will blurry because the container is bigger then the actual thumbnail size. But if your thumbnail size is 250x250 it's likely won't blurry because the container is smaller than the thumbnail size .
Hope you can understand the logic.
Actually, minifrontpage pro (www.templateplazza.com/items/mini-frontpage-pro) has a more advanced thumbnail settings that is probably will help you to do experiment to get the best thumbnail size.
https://www.dropbox.com/s%2Fgqjz2re2z31je1l%2FModules%2520mod_minifrontpagepro%2520-%2520J39%2520-%2520Administration%25202020-08-25%252019-46-46.png?raw=1
4 years 3 months ago #4
by TemplatePlazza
So let say you have a 65x65 thumbnail, but the module is placed on container that have width = 600 px, and you have set 4 column in the module settings, then the thumbnail size will resized to 600/4 = 150px and it will blurry because the container is bigger then the actual thumbnail size. But if your thumbnail size is 250x250 it's likely won't blurry because the container is smaller than the thumbnail size .
Hope you can understand the logic.
Actually, minifrontpage pro (www.templateplazza.com/items/mini-frontpage-pro) has a more advanced thumbnail settings that is probably will help you to do experiment to get the best thumbnail size.
https://www.dropbox.com/s%2Fgqjz2re2z31je1l%2FModules%2520mod_minifrontpagepro%2520-%2520J39%2520-%2520Administration%25202020-08-25%252019-46-46.png?raw=1
Please Log in or Create an account to join the conversation.
- Posted by seppe (44) Offline
Good afternoon
Sorry for the late reply
Ok, now I'm getting it.
I will check my website dimensions, and start try-outs with the different dimenions.
I will keep you informed
Greetz
4 years 3 months ago #5
by seppe
Sorry for the late reply
Ok, now I'm getting it.
I will check my website dimensions, and start try-outs with the different dimenions.
I will keep you informed
Greetz
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline