1. MarcioD
  2. Free Templates / Extensions
  3. Wednesday, 25 September 2024
  4.  Subscribe via email
I'm using "J51_ThumbsGallery", how can I change the terrible quality of the thumbnails?
I can improve the module code if you tell me what to do :)
Accepted Answer Pending Moderation
0
Votes
Undo
Fantastic, thank you very, very much :)
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Would you have a URL to an example of your image?

The module uses the PHP ImageCopyResampled function (https://www.php.net/manual/en/function.imagecopyresampled.php) to resize the image. As long as the original image is larger than the thumbnail, there should be no difference in quality.

Ciaran
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 2
Accepted Answer Pending Moderation
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

You might find that increasing the size in your module settings and adding the following to the custom CSS field of your template settings might help...

.j51thumbs .j51Box img {
max-width: 160px;
}


This will create higher resolution images but force the current size with CSS.

Ciaran
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you very much, now it's wonderful :)
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Only now when you hover the mouse over it the shadow is moved.
Attachments (1)
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

To amend try also adding the following to the Custom CSS....

.j51thumbs i {
transform: scale(.5);
transform-origin: 0 0;
}


Ciaran
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok