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.
Hi, I created a text and image watermark and both won't apply to images that are uploaded or existing images even though the watermark shows on the preview image. What else do I need to do to get the watermark to show? I have no errors at all.
Comment | File | Size | Author |
---|---|---|---|
#11 | 2_0_2.png | 77.54 KB | dman |
#10 | 1.png | 114.83 KB | supernova00 |
#10 | 2.png | 117.62 KB | supernova00 |
Comments
Comment #1
supernova00 CreditAttribution: supernova00 commentedJust wanted to add that this is with using GD2. I installed this module, enabled it, went to settings and added the image and text water mark (one at a time) and both don't work but work on the preview image. Is there any setting that I'm missing somewhere?
Comment #2
dman CreditAttribution: dman commentedI can't tell what you are missing yet.
Are you using imagefield, or how are you rendering the result? Do other effects work?
Are you sure you are looking at the right image at the location
/sites/{sitename}/files/imagecache/{presetname}/{filepath}
Refresh?
Comment #3
supernova00 CreditAttribution: supernova00 commentedYes, I am using imagefield. No, no other effects work.
Here is the location that the preview shows. This is the image that is shown after saving a new preset for rounded corners.
http://www.unfortunatehumor.com/sites/default/files/imagecache/blah/imag...
and the one for the two watermarks
http://www.unfortunatehumor.com/sites/default/files/imagecache/watermark...
Is there anything that I'm supposed to do after saving a preset? Like to make sure it gets applied to newly uploaded files?
Here is an image that should have two watermarks (one text and the other an image) and rounded corners but doesn't have anything,.
Comment #4
dman CreditAttribution: dman commentedWell, if no other effects work at all, I'd be worried.
Are you sure you've got imageAPI_GD turned on?
Imagecache provides a few buttons that allow you to flush the presets, although that happens automatically any time you make a change.
I still can't guess about this... The path at least looks right for the sample, although you can't see rounded corners on that example. :-)
Comment #5
supernova00 CreditAttribution: supernova00 commentedWell it kind of does have rounded corners. Using Firefox trunk I see black rounded corners on that preview.
Yes, I do have imageAPI_GD 6.x-1.6 enabled. Is there any other type of logging or any place I can look to see if there are in fact errors?
Comment #6
supernova00 CreditAttribution: supernova00 commentedI have my uploaded images saved to:
/sites/default/files/images/
and the image overlay is saved at:
/sites/default/files/
could that make a difference?
also the preview is saved here but I don't actually have that folder, I have a "addwatermark" folder with that image name.
http://www.unfortunatehumor.com/sites/default/files/imagecache/watermark...
Comment #7
dman CreditAttribution: dman commentedThat example illustrates where the paths to imagecache-generated files are!
You are getting two overlays on your images when I look at:
http://www.unfortunatehumor.com/sites/default/files/imagecache/watermark...
(the top text position looks like it needs a tweak)
Imagecache is a cache and produces the derivative images on-demand. The files are not there until you look for them.
So is the actual problem not the text overlays (which ARE working) but the way that you link to it?
Editing the fields display settings under your content type lets you choose the imagecache preset to display.
Comment #8
supernova00 CreditAttribution: supernova00 commentedThere is no field here /admin/content/node-type/image/fields to choose which overlay to use. Neither in the add new or add existing field.
"Imagecache is a cache and produces the derivative images on-demand. The files are not there until you look for them." What do you mean by this? I can't automatically add the watermark to my images upon upload?
Thank you for taking the time to work this out! This is the only thing holding me back from launching my site though :(
Comment #9
dman CreditAttribution: dman commentedYou said you are using imagefield. If you are using imagefield, then you should be able to choose the imagecache preset used for display on the 'Display Fields" page. I can't imagine why that's not working for you.
Imagecache files will not be in the imagecache folder (if that's where you are looking) until after the derivative has been requested through the web interface at least once. this confuses people sometimes.
Comment #10
supernova00 CreditAttribution: supernova00 commentedNope, there aren't any fields for imagecache. I've attached two screenshots. In the existing fields, there is only a selection for my video upload so I didn't include a screenshot showing those.
Comment #11
dman CreditAttribution: dman commentedComment #12
supernova00 CreditAttribution: supernova00 commentedI do not have anything at all under "Display Fields" tab.
"There are no fields configured for this content type. You can add new fields on the Manage fields page."
Comment #13
panosp CreditAttribution: panosp commentedI went through pretty much the same problems but it worked after all. This is what I did (I put this tutorial together pretty fast so drop a note if I need to clarify parts of it) http://koukounari.gr/watermark-images-in-drupal
@supernova00 in my example images are implemented as content type's fields.
Comment #14
fietserwinD6 EOL. This module's D6 issues already haven't received any attention for over a year. Closing them all unconditionally now.