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
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
Accepted Answer Pending Moderation
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
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you very much, now it's wonderful :)
Accepted Answer Pending Moderation
0
Votes
Undo
Only now when you hover the mouse over it the shadow is moved.
Attachments (1)
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
Accepted Answer Pending Moderation
0
Votes
Undo
Fantastic, thank you very, very much :)
  • Page :
  • 1


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