By Philippe on Sunday, 13 August 2017
Posted in Technical Issues
Replies 19
Likes 0
Views 559
Votes 0
Hello,

There is a way for Easysocial to generate photos versions for Retina display ? With dual resolution @2x

Possibly including the Retina.js plugin to EasySocial...

Thank you.
Okay Arlex.
In this case I wanted to change the resize value. 2048 pixels instead of 1280.

I found how to do it
In : administrator / components / com_easysocial / constants.php

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

Is that the right method ?

Thank you
Philippe
·
Monday, 14 August 2017 22:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Unfortunately currently that is no easy way to inject this Retina.js in Easysocial and swap out your existing images to load high quality image on the page.
·
Monday, 14 August 2017 11:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, you can use this method but this only affect for those new photo upload and this image size only for large image.

In EasySocial, when you upload 1 photo, it will resize to 4 type of image e.g. original, large, stock, thumbnail.
·
Tuesday, 15 August 2017 11:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok thank you
·
Tuesday, 15 August 2017 16:43
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome.
·
Tuesday, 15 August 2017 18:20
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post