Quote:
Originally Posted by DragonByte Tech
Yes it looks like it's losing the compression. I have it set to max quality. If you want to see what it's like, try changing the setting.
Open
dbtech/gallery/includes/class_core.php
Find
PHP Code:
imagejpeg($destination_image_handle, $new_name, 100);
and change it to something like
PHP Code:
imagejpeg($destination_image_handle, $new_name, 75);
That reduced the size down to 363k for me and I can't tell the difference between it and the 100 one. If that works, I'll add a setting in the next version for the admin to specify the quality on JPG images
Dylan
|
Much better, works great. :up:
Also noticed if a member posts a comment the link to their profile doesn't work. This is the link that appears : member.php?1-Admin
Fixed by editing template
dbtech_gallery_view_image_comment_bits_vb
Find:
Code:
<a href="member.php?1-Admin" class="username">{vb:raw comment_data.musername}</a>
Replace With:
Code:
<a class="username" href="{vb:raw comment_data.user_path}">{vb:raw comment_data.musername}</a>