UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Incorrect thumbnail sizes

Philippe · ·
4:16 PM Friday, 29 September 2017
None
Hello,

The constants.php file specifies especially the values of the following generated images :

define('SOCIAL_PHOTOS_THUMB_WIDTH', 256);
define('SOCIAL_PHOTOS_THUMB_HEIGHT', 256);

define('SOCIAL_PHOTOS_LARGE_WIDTH', 1280);
define('SOCIAL_PHOTOS_LARGE_HEIGHT', 1280);

This means that _ thumbnail.jpg images will have a maximum of 256 pixels in height or width.
And images _large.jpg will have a maximum of 1280 pixels in height or width.


In fact, I found that this rule is respected for _large images (1280 pixels is effectively the maximum value in width or height).
However this rule is not respected for _thumbnail images (we have 256 pixels for width or height, but the other value is always greater than 256 pixels).


For example, in your demo :
http://easysocial.stackideas.com/albums/19-scenery

wallpaper-4_large.jpg : 1280 x 853 pixels
wallpaper-4_thumbnail.jpg : 384 x 256 pixels
This is not consistent, wallpaper-4_thumbnail.jpg should have the following size: 256 x 171 pixels

wallpaper-27_large.jpg : 1280 x 960 pixels
wallpaper-27_thumbnail.jpg: 341 x 256 pixels
wallpaper-27_thumbnail.jpg should rather do: 256 x 192 pixels

Thank you.
Philippe
The replies under this section are restricted to logged in users or users with an active subscription with us