Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Compress thumbs images

9 years 4 months ago
Licenses:
JomSocial Expired

Hi,

Is it possible to compress more thumbs images (thumbs pictures, thumbs videos, thumbs avatar, thumbs groups...) ?

In Google PageSpeed the thumbs are not compressed enough

Thanks

9 years 4 months ago
Licenses:

Hi, Adrien.

If you want to fiddle with images compression I advise you to install on your server ImageMagick library and set path to it in:
Backend -> Components -> JomSocial -> Photos -> Photos Settings.

By default JomSocial uses GD library so you may also configure it on your server to get better results.

JomSocial doesn't compress or process any images. Everything is done by external (server) image processing libraries so any changes should be applied in them directly.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Adrien
9 years 4 months ago
Licenses:
JomSocial Expired

Ok, thank you Michal, I test with ImageMagick ...

9 years 4 months ago
Licenses:
JomSocial Expired

I just installed imagick :

# php -m | grep imagick
imagick

Backend -> Components -> JomSocial -> Photos -> Photos Settings.
Path ImageMagick : /usr/lib64/php/modules/
or
Path ImageMagick : /usr/lib64/php/modules/imagick.so
?
How can I verify that it is enabled?

9 years 4 months ago
Licenses:
JomSocial Expired

Hello,

In Backend -> Components -> JomSocial -> Photos -> Photos Settings :

it is necessary to path :

/usr/bin/convert
or
/usr/include/ImageMagick/magick
or
/usr/include/ImageMagick
or
/usr/lib64/ImageMagick-6.5.4
or
/usr/lib64/php/modules/imagick.so

?

Thanks

9 years 4 months ago
Licenses:

Hi, Adrien.

It should be /usr/bin/convert


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 4 months ago
Licenses:
JomSocial Expired

Hi, Michal.
Ok, I put /usr/bin/convert
but it does not compress images
how can I increase the compression ?
which parameter script or does it update?
Thanks

9 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Adrien,

before I answer the imagick issue, I just wanna clarify something

do you want compress the image size to be smaller size? are you sure??? because the image quality will be bad. Have you tried set "Image Output Quality" from Photo setting?

9 years 3 months ago
Licenses:
JomSocial Expired

Hi,

Photo setting :
Quality of the output image => Medium
but it does not compress images

I do not want to reduce the size of images, but compress images automatically
it should probably be a parameter file to optimize the compression of images and thumbs ?
(ex : thumb image 64x64px = 22Ko !! this should be 5 or 10 Ko max)

Regards,

9 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Adrien,

That size 22Kb is the best size for that resolution from phpGD/imagick, if you wanna make smaller your image will be pixelize.

thank you

9 years 3 months ago
Licenses:
JomSocial Expired

Ok, thanks, What Is parameter file can update the compression ratio of the images ?

9 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

You can edit this file components/com_community/defines.community.php and change value "COMMUNITY_SMALL_AVATAR_WIDTH"

we create the css and designed it for 64x64 pixel, if you edit it, I afraid it will make your site bad, and you should edit css as well.

9 years 3 months ago
Licenses:
JomSocial Expired

Ok thank you, I'm your advice, I do not change the images

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW