gumoore wrote:
My info is:
Operating system: Linux
PHP: 5.2.17 (Show info) [2012-10-12 15:17:43]
mysql: 5.1.65-cll [2012-10-12 15:17:43]
Graphics Library: External ImageMagick 6.4.8
Question, how do I change the graphics library because I too cannot get the watermark to work.
in piwigo/local/config.php add or change this line:
$conf['graphics_library'] = 'gd';
after that, change the position of the watermark, save and try again to upload images.
cheers,
polly
Offline
Thank you so much. Worked wonderfully!
Offline
Hi there,
I have same problem. No watermarks. I have ImageMagick 6.3.3 in my server. But the environment is
Operating system: Linux
PHP: 5.3.13 (Show info) [2013-07-21 10:53:26]
MySQL: 5.0.91-log [2013-07-21 10:53:26]
Graphics Library: External ImageMagick 6.3.3
Also I dont have and "config file" in /root/local/ but i have a folder "config" i.e, /root/local/config/ in this I have 4 files,
config.inc.bak.php
config.inc.php
database.inc.php
index.php
Where should I include/change $conf['graphics_library'] = 'gd';
Polly wrote:
gumoore wrote:
My info is:
Operating system: Linux
PHP: 5.2.17 (Show info) [2012-10-12 15:17:43]
mysql: 5.1.65-cll [2012-10-12 15:17:43]
Graphics Library: External ImageMagick 6.4.8
Question, how do I change the graphics library because I too cannot get the watermark to work.in piwigo/local/config.php add or change this line:
$conf['graphics_library'] = 'gd';
after that, change the position of the watermark, save and try again to upload images.
cheers,
polly
Offline
it's obviously /root/local/config/config.inc.php (what else ?)
Offline
Thanks Mate...
(I am not a developer, so asked questions which you might find silly.)
Offline
quasar wrote:
Thanks Mate...
(I am not a developer, so asked questions which you might find silly.)
yes but you can read manuals, no? so I'm happy to announce you there is a documentation!
Offline
Thanks for letting me know that there is documentation of this. I tried seeing, but maybe I didn't see properly.
well will you care to share the link of documentation where watermark manual is there.
Offline
Local config is what you asked for http://piwigo.org/doc/doku.php?id=user_ … onf_locale
Offline
Hi friends,
I have this funny situation. My watermark works in GD but not in ImageMagick.
Case 1.
Input>>> I don't edit anything in local file editor (in local/config/config.inc.php)
Environment>>
Operating system: Linux
PHP: 5.3.13 (Show info) [2013-07-22 05:20:34]
MySQL: 5.0.91-log [2013-07-22 05:20:34]
Graphics Library: External ImageMagick 6.3.3
Output>> No watermark
Case 2.
Input>> I put path of ImageMagick I got from my web hosting guys, $conf['ext_imagick_dir'] = '/usr/local/lib/ImageMagick';
Environment>>
Operating system: Linux
PHP: 5.3.13 (Show info) [2013-07-22 05:22:25]
MySQL: 5.0.91-log [2013-07-22 05:22:25]
Graphics Library: GD bundled (2.0.34 compatible)
Output>> Watermark
Case 3. Local editor entry >> $conf['graphics_library'] = 'gd';
Environment>>
Operating system: Linux
PHP: 5.3.13 (Show info) [2013-07-22 05:22:25]
MySQL: 5.0.91-log [2013-07-22 05:22:25]
Graphics Library: GD bundled (2.0.34 compatible)
Output>> Watermark
This means,
1. when I am using ImageMagick, there is no watermark
2. The path I am putting is incorrect.
I found that its better to use ImageMagick than GD, so I am trying to get ImageMagick.
I have over 10k images on my server and I'm trying to do batch multiple sizes and I want to use image Magic.
Regards
Quasar
Last edited by quasar (2013-07-22 11:41:03)
Offline
Hi
do you own the server or is it a shared host? Because you should install imagick, the php extension for Imagemagick
Offline
Hi there,
I am on shared host. When I asked about ImageMagick, they (hosting guys) said its supported by default and path for ImageMagick is /usr/local/lib/ImageMagick.
Server information
(what I got from piwigo admin link, admin.php?action=phpinfo)
Last edited by quasar (2013-07-22 14:35:09)
Offline
Hi flop25,
Thanks... You were right... I dont have imagick and I will have to live with GD.
Thanks for the support.
Offline
imagick is quite useful when the binaries are not where they are supposed to be
Did you tried "/usr/local/lib/ImageMagick/" with the trailing slash?
Offline
Dear flop25,
I tried that also, and it didnt work. I got confirmation from hosting support guy that Imagick is not available.
I was generating multiple size images while shunting between GD and ImageMagick, I think some of the resized images were not made properly. I will not delete all size images, and will again use resize.
The hosting guy said "You will not be able to use IMAGICK as PHP built-in class. You have to use the alternative ‘convert’ utility. Path is: /usr/local/bin/convert " & "We have ImageMagick binaries. But it is not complied to PHP so IMAGICK won’t work. "
So I guess I should go for GD. right friend?
Offline
/usr/local/bin/convert are the binairies Try that path, with the trailing slash also
Offline