Watermarks not showing up

supernova00 - October 9, 2009 - 16:59
Project:Imagecache Actions
Version:6.x-1.x-dev
Component:Text Actions Module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

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.

#1

supernova00 - October 9, 2009 - 18:19

Just 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?

#2

dman - October 10, 2009 - 00:23

I 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?

#3

supernova00 - October 11, 2009 - 15:45

Yes, 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,.

#4

dman - October 11, 2009 - 18:56

Well, 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. :-)

#5

supernova00 - October 12, 2009 - 22:45

Well 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?

#6

supernova00 - October 12, 2009 - 22:59

I 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...

#7

dman - October 12, 2009 - 23:20

That 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.

#8

supernova00 - October 13, 2009 - 21:39

There 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 :(

#9

dman - October 13, 2009 - 23:30

You 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.

#10

supernova00 - October 15, 2009 - 18:10

Nope, 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.

AttachmentSize
1.png 114.83 KB
2.png 117.62 KB

#11

dman - October 15, 2009 - 20:07

#7 Editing the fields display settings under your content type lets you choose the imagecache preset to display.

#9 you should be able to choose the imagecache preset used for display on the 'Display Fields" page.

AttachmentSize
2_0_2.png 77.54 KB

#12

supernova00 - October 15, 2009 - 22:14

I 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."

 
 

Drupal is a registered trademark of Dries Buytaert.