Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I try many times. Add image node, upload image and both, thumb and image don't have watermark.
I put the watermark png in the drupal root and watchdog its ok, no errors.
I try in new drupal too, with only image and watermark module.
thanks
Comment | File | Size | Author |
---|---|---|---|
#12 | watermark.patch | 37.24 KB | sgriffin |
#7 | watermark.module.txt | 17.77 KB | Wounded Knee |
#2 | Screenshot.jpg | 51.06 KB | Wounded Knee |
Comments
Comment #1
VM CreditAttribution: VM commentedare you sure you have the settings properly set in administer -> water mark ?
Comment #2
Wounded Knee CreditAttribution: Wounded Knee commentedyes, see screenshot
Comment #3
VM CreditAttribution: VM commentedwhere exactly is the watermark.png file, according to your settings, you have it in the root of your drupal install.
it should probably be in files/watermark/watermark.png, and the setting adjusted accordingly.
Comment #4
Wounded Knee CreditAttribution: Wounded Knee commentednothing :(
I copy the png at files/watermark/ and update settings.
thanks
Comment #5
Wounded Knee CreditAttribution: Wounded Knee commentedI tried all, I need put my head in the fridge
Comment #6
Wounded Knee CreditAttribution: Wounded Knee commentedMore info:
In drupal 4.7 it works
In Drupal 5.5 not:
with image-5.x-1.0 to last
I see in watermark.module:
BUT I never seen this option in /node/add/image
also 'Apply watermark', 'Watermark settings', 'Automatic watermark process bypass: Please decide yourself if a watermark needs to be applied. Be careful, do not apply watermarks twice!'... don't exist in settings/locale
cheers
Comment #7
Wounded Knee CreditAttribution: Wounded Knee commentedFinally works, with this code: Watermark 5.x-1.0-alpha1 + Watermark language issue + some change
http://drupal.org/files/issues/watermark.tar_.gz http://drupal.org/node/198826
I delete "additional option to toggle watermark process when a user has "manage watermarks" permission", because don't works for me.
Edit: attach file. sorry for paste all code.
Comment #8
kbahey CreditAttribution: kbahey commentedPlease do not paste entire modules in the issue. A few lines is OK, but entire modules is not.
Also, create a patch, then others can test it, and if confirmed, I will commit it.
See http://drupal.org/patch on how to create patches.
Comment #9
sgriffin CreditAttribution: sgriffin commentedWas this patch ever rolled in? watermark does not appear to be compatible with image 5.x-2.0-alpha3, gd, and/or php 5.
Versions dev or head.
Hacked version works on only original but not on rebuilt derivate images, or other image presets.
Comment #10
sgriffin CreditAttribution: sgriffin commentedthanks wounded knee, I was finally able to get watermark to work by checking an odd phantom preset called "_original" in the watermark module, by using your updated module, and replacing function _watermark_is_node_excluded with the latest version, otherwise, it generates for each errors.
Comment #11
kbahey CreditAttribution: kbahey commentedsgriffin
Can you please create a patch for what worked for you so I commit it and everyone gets teh fix? Please create the patch using http://drupal.org/patch against the latest version with the DRUPAL-5 tag.
Comment #12
sgriffin CreditAttribution: sgriffin commentedNot sure if this patch is very pretty, in fact I am sure.
But I do not program really.
The changes I made are exactly as described in #10. I used http://drupal.org/files/issues/watermark.tar_.gz and replaced function _watermark_is_node_excluded with the one in the dev version.
Not sure if this helps, but the site I am working on is not live and is installed in a subdirectory, could be the reason why the dev or head versions do not work. I didn't check into the differences from woundedknee.
Comment #13
kbahey CreditAttribution: kbahey commentedThe patch has too many changes, even if I ignore white space. So it is against an older version of the module, and would overwrite other stuff in it if applied as is.
If you or anyone can provide a patch with just the change that fixes the issues, I will happily review and commit it.
Comment #14
sgriffin CreditAttribution: sgriffin commentedI am not sure what all the issues are, this is based on the problems occurred from december 2007. These bug fixes may not have been rolled in since then which is why there are so many changes.
My post was just FYI for this modules maintainer, so future users will know which code fork to use.
Its also possible, that the head or dev version of watermark works as is, but against what versions of dependent modules, I don't know either.
Comment #15
sgriffin CreditAttribution: sgriffin commentedIt is also possible to use imagecache actions to watermark. There is added functionality in that you can affect all previously uploaded images.
This is done with imagecache_image.module, and imagecache canvas actions and image of course.