Watermarks didn't work

When I enable watermarks images not displayed. Watermarks files uploaded to website. May be watermark requires special version of php or something else (at localhost all work OK and I have php 5.3.x but at hosting I have php 5.2.x)? I know that ajax file upload didn't work on php 5.2.x because you use function that not exist in this php version. Btw it would be nice if you describe this tips in zenPhoto settings near functions that this one would work only on php 5.3.x etc because sometime hard to understood what's the problem. Ty in advance!

Comments

  • Most likely your graphics library is not able to handle your watermark image. Since you say it works locally, most likely your hosting service does not have sufficient memory for the watermark procesing.

    As to your comment on ajax file upload (we actually have no such thing)--uploads are handled by HTML, javascipt, or Flash depending on what you selectm not PHP your statement does not make any sense. All there methods work just fine on PHP 5.2.17, for instance.

    So what do you want us to describe? PHP 5.2 certainly works. As does PHP 5.3. It is, however, possible for service providers to omit PHP functions. Nothing we can do about that.
  • Ivaseg Member
    Php 5.2.17, GD2, memory_limit 128 Mb, there is no images largest then 1 Mb so I think 128 Mb is enough to waternark.

    I've got next errror when trying to upload images through ajax:

    `PHP Fatal error: Call to undefined function array_replace_recursive() in /usr/local/www/apache/gal/zp-core/admin-jQuery/uploader.php on line 110`

    And function array_replace_recursive was added in php 5.3
  • acrylian Administrator, Developer
    You should try to use one of the other upload ways then. We cannot always test adapted 3rd party tools and prefer not to modify them if possible because this may cause update issues (we recommend the same regarding Zenphoto itself).

    It might be that your server is not configured to create such watermarks. Also you might need to clear the image cache before you see any effect. If the images are already generated they are not regenerated with the watermark otherwise.
  • Ivaseg Member
    Ok, I understood and I use flash uploader because it work almost fine.
    It might be that your server is not configured to create such watermarks.
    can you explain more better what about settings you talking? And yes, images cache cleared and this is not help.
  • acrylian Administrator, Developer
    The server needs the eability to merge two images. I am not really a server expert but as far as I know that is an option (imagealphablending I think) that needs to activated for the graphics libary. It might also lack support for png24 images.
  • i think there might be something wrong with the watermark creater and editor. you can try this imaging sdk which contains such a function. it can be applied in c#, vb,etc. Install it and it becomes a selectable processing option.Then you can create and edit watermarks in any program at all, including Adobe Acrobat . Just open the images, select watermark ,and follow the setps given in the sdk, the task will be finished in several seconds.you can then zoom in and zoom out , or adjust the light of the watermark on your own will. if you haven´t found a good choice , you can have a try. best wishes. http://www.rasteredge.com/how-to/csharp-imaging/create-watermark/
  • acrylian Administrator, Developer
    If you think there is something wrong (I cannot test, I currently have no Imagick available) you should open a ticket on the issue tracker with a detailed description what goes wrong when. On the forum these things get lost.
Sign In or Register to comment.