Member
Member
s00thsayer   2010-07-19, 06:20
#1

i have video thumbnail watermarks enabled for my gallery. in my gallery i have a "panoramic" album with .mov files that i do not want to have watermarked thumbnails. so...in the panoramic album settings i set the "album watermark" property to "*no watermark" however the thumbnails are still watermarked. i've also tried disabling the gallery video watermark setting and tried to specify an "album watermark" and no watermark was displayed. is the album watermark option working for anyone else out there? i was hoping any watermark setting specified at the album level would over-ride any settings at the gallery level. i have tried different themes all with the same issues. thanks. -- Zenphoto version 1.3 [5479]

Administrator
Administrator
acrylian   2010-07-19, 08:20
#2

You have of course to clear the image cache after changing those settings, otherwise the older cached files are still used.

Member
Member
s00thsayer   2010-07-19, 17:51
#3

i have cleared the album cache with the "clear album cache" button after changing the settings and cleared the browser cache ... still the "album watermark" settings do not seem to do anything.

Administrator
Administrator
acrylian   2010-07-19, 18:06
#4

Works for me, sorry.

Member
Member
s00thsayer   2010-07-19, 18:10
#5

thanks for the replies!

Member
Member
s00thsayer   2010-07-19, 18:27
#6

confirmed that this is working properly in a demo build of the same version... i'll have to figure out why my install is not working properly

Member
Member
s00thsayer   2010-07-19, 18:57
#7

oops...it's not completely working in the demo either. the "album watermark" setting seems to do nothing...i cannot get it to work in my gallery or the demo. if an "image watermark" is set individually on an image, it over-rides the gallery watermark setting properly, however, for videos with image thumbnails the "image watermark" setting does nothing.

http://demo.opensourcecms.com/zenphoto/
http://demo.opensourcecms.com/zenphoto/admin - user: admin pass: demo123

Member
Member
sbillard   2010-07-19, 23:51
#8

Perhaps that is because ther is no "image" for a video. Remember, thumbnail watermarks are different from image watermarks.

Member
Member
s00thsayer   2010-07-20, 04:04
#9

oh ok...i guess i mis-understood the function of the "album watermark" and "image watermark" settings. i guess there is no setting that will control the thumbnail watermark for videos the way i want. no big deal. thanks for clearing that up!

-- any suggestions on how to add code that will block a particular album from adding the video-watermark to video thumbs? something like this on the theme album.php ? ...

Member
Member
s00thsayer   2010-07-20, 06:05
#10

figured it out for anyone else that wants to do this...

in functions-basic.php ... in function getImageProcessorURI

... change this line ...

if (!empty($passedWM)) $uri .= '&wmk='.$passedWM;

... to this (replacing panoramic with your album name to block)...

if (!empty($passedWM) && ($album != 'panoramic')) $uri .= '&wmk='.$passedWM;

... then clear the album cache

Junior Member
Junior Member
photoenjoying   2010-07-20, 06:26
#11

got the same problelm...this solution does not work for me

Member
Member
s00thsayer   2010-07-20, 07:04
#12

the code should work to block an album from showing video watermarks on the thumbs ... use the code above that modifies the functions-basic.php file (don't try to add the garbage code to album.php that does nothing). if your album you need to "block" video watermark thumbs is not a root album you'll probably need the entire album path ... for example ...

if (!empty($passedWM) && ($album != 'parent_folder/subfolder/panoramic')) $uri .= '&wmk='.$passedWM;

clear the album cache in the zenphoto album admin after making the changes or the cached thumbs will load

Unregistered
Unregistered
Guest   2010-07-20, 09:43
#13

i also have the same problem and its driving me crazy. anyone got any more advise that may help?

thanks in advance.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.