I have a couple of (possibly related) problems with the thumbnail generation and the watermark.
First of all I noticed, that the thumbnail quality setting is also the setting for the overall image quality when using a watermark. So if the thumbnail quality is set very low, the full pictures with watermark also have a very poor quality. I tried to increase the thumbnail quality and ended up setting it to 100% in order to have good quality full size images with watermark.
However, by doing so 2 new issues arose.
One, the thumbnails are now about 15-20kB instead of 3-5kB (which is not a bug, just not desirable).
Two, the lightbox preview doesn't work correctly anymore. The entire preview images is not loaded (see attached picture).
Then there is another thing: With lightbox preview is enabled the watermark is not transparent but has a black background. This is independent to the thumbnail quality setting.
It happens on my windows test system and on my linux online server. It seems to be unrelated to the server setup.
Any ideas?
And last but not least I found a hardcoded language variable in album_hotornot.php and fixed it. See attached code. ;)
To fix the hardcoded language in album_hotornot.php do the following:
#
#-----[ OPEN ]------------------------------------------------
#
album_hotornot.php
#
#-----[ FIND ]------------------------------------------------
#
$message = "Your rating has been entered successfully.<br /><br />To rate more pictures click <a href='append_sid(album_append_uid('album_hotornot.$phpEx'))'>here</a> to do so.<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href="" . append_sid(album_append_uid("album.$phpEx")) . "">", "</a>");
#
#-----[ REPLACE WITH ]----------------------------------------
#
$message = $lang['Rating_successful'] . sprintf($lang['Click_rate_more'], "<a href="" . append_sid(album_append_uid("album_hotornot.$phpEx")) . "">", "</a>") . sprintf($lang['Click_return_album_index'], "<a href="" . append_sid(album_append_uid("album.$phpEx")) . "">", "</a>");
#
#-----[ OPEN ]------------------------------------------------
#
language/lang_english/lang_album_main.php
#
#-----[ FIND ]------------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
// Hot or Not
$lang['Rating_successful'] = 'Your rating has been entered successfully.<br /><br />';
$lang['Click_rate_more'] = 'To rate more pictures click %shere%s to do so.<br /><br />';
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
#-----[ OPEN ]------------------------------------------------
#
album_hotornot.php
#
#-----[ FIND ]------------------------------------------------
#
$message = "Your rating has been entered successfully.<br /><br />To rate more pictures click <a href='append_sid(album_append_uid('album_hotornot.$phpEx'))'>here</a> to do so.<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href="" . append_sid(album_append_uid("album.$phpEx")) . "">", "</a>");
#
#-----[ REPLACE WITH ]----------------------------------------
#
$message = $lang['Rating_successful'] . sprintf($lang['Click_rate_more'], "<a href="" . append_sid(album_append_uid("album_hotornot.$phpEx")) . "">", "</a>") . sprintf($lang['Click_return_album_index'], "<a href="" . append_sid(album_append_uid("album.$phpEx")) . "">", "</a>");
#
#-----[ OPEN ]------------------------------------------------
#
language/lang_english/lang_album_main.php
#
#-----[ FIND ]------------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
// Hot or Not
$lang['Rating_successful'] = 'Your rating has been entered successfully.<br /><br />';
$lang['Click_rate_more'] = 'To rate more pictures click %shere%s to do so.<br /><br />';
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM