Deutsches Support Forum

icon
Avatar
Shanster
Beiträge: 12
It would be nice if the watermark-text inside the pictures is free to edit. Because my Joomla-Installation is inside a sub-directory, the directory name is always mentioned, which looks a bit ugly.
28.04.2009 20:47
Avatar
admin
Moderator
Beiträge: 885
Hi Shanster,

the current "watermark"-function is a temporary solution. It is planned to replace it with a better solution, which generates true watermarks (with background pictures).

In the meantime you could add your own text by changing line 237 in /components/com_misterstate/includes/upload.gallery.php:

iconphp:
$wmstr = substr($mosConfig_live_site,7);


into

iconphp:
$wmstr = "your_text";


Hope this helps you until I have refactored the watermark part of the gallery.
29.04.2009 05:12
Avatar
Shanster
Beiträge: 12
Thank you for the hint!
[Zuletzt bearbeitet Shanster, 29.04.2009 20:35]
29.04.2009 20:35
Avatar
ILJ
Beiträge:
its includes/gallery/upload.gallery.php:

which code does the watermark height settings?

$ftcolor = imagecolorallocate($dst_img,239,239,239);
imagestring ($dst_img, 2,10, $destHeight-20, $wmstr, $ftcolor);

i would like to have a cross section 90' watermark text on my images.

tks!
14.06.2009 20:58
Avatar
admin
Moderator
Beiträge: 885
Hi,

http://de2.php.net/manual/en/function.imagestring.php
Notice: with imagestring() you can add only strings but not background pictures (real watermarks) to a picture.

best regards,
Darko
16.06.2009 00:54
icon