Support » Plugin: PrettyPhoto WPGallery » Watermark plugin

  • Hi,
    the theme that I use for a web page containing plugin PrettyPhoto WPGallery. Please, can you advise me what I could use it as a plugin for the watermark. I tried two and both have problems (Easy Watermark, Scissors and Watermark) I’d like to achieve that in the thumbnail is not showing watermark, and in the big picture that is displayed. That both should work, but I think the problem is in the way plugin PrettyPhoto loads images so it is in conflict with this plugin for the watermark.
    web: http://www.kaminihoyan.hr/izvedeni-radovi/
    Before I edit all pictures in photoshop (with watermark showing in all sizes of photos), I want to ask here, so maybe some user have experience with that.

    BR,
    Martina

    http://wordpress.org/plugins/prettyphoto-gallery/

Viewing 1 replies (of 1 total)
  • Plugin Author Webby Scots

    (@webby-scots)

    Hi Martina,

    PrettyPhoto WPGallery work without the other plugin?

    On the link you sent it looks like the watermark plugin is doing its own override of the gallery shortcode and this is obviously a conflict.

    I haven’t seen the code of the plugin you are using, but PrettyPhoto WPGallery uses a filter hook to change the contents of the gallery shortcode output. So either the plugins you are trying to use are overriding the shortcode with their own and not calling the filter, or they are using the same filter with a later priority. If it is the latter then…

    If you look at this line:

    add_filter(‘post_gallery’,array(&$this,’gallery_shortcode_prettyPhoto’),10,2);

    if you change that to

    add_filter(‘post_gallery’,array(&$this,’gallery_shortcode_prettyPhoto’),100,2);

    Note the 10 change to 100, this calls our function at a later priority.

    That said, not all plugins do things the right way, I have seen some supposed “premium” plugins using pattern matching to find and display content for a shortcode, therein butchering any of the functions hooking into shortcodes or their output. If this fix doesn’t work I think I would need to see the code for the other plugin and your theme.

    If you want you can email them to me as you already have my email address. If they are free then a download link will be fine.

Viewing 1 replies (of 1 total)
  • The topic ‘Watermark plugin’ is closed to new replies.