WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Auto ThickBox Plus] Add overlayed logo (Watermark-like) over gallery pictures

[Resolved] [Plugin: Auto ThickBox Plus] Add overlayed logo (Watermark-like) over gallery pictures

  • Hi, i’d like to overlay text or a semitransparent logo/icon to every image-popup.

    I’m thinking of something like this:
    <a href="http://www.url.com"><img src="/semitransparent-logo.png" title="description" style="height:48px; width:48px; position:absolute; top:33.0%; right:10.0%;" alt="alternative text"; font-style:italic; font-weight:bold; font-size:80% /></a>

    But where do i need to place this code to make it work on auto-thickbox plus gallery view popup?

    I don’t want to place this logo directy on the images, i know there are plugins which can do hard watermark all images. So please help me.

    Thanks Pappl

    http://wordpress.org/extend/plugins/auto-thickbox-plus/

Viewing 1 replies (of 1 total)
  • Plugin Author attosoft

    @attosoft

    Hi PAPPL,

    where do i need to place this code to make it work on auto-thickbox plus gallery view popup?

    There are several places that you can add the code. For instance, you can add the following code at between line 204 and 205 in thickbox.js.

    TB_Image += '<a href="http://www.url.com"><img src="/resources/paw48.png" title="description" alt="alternative text" style="height:48px; width:48px; position:absolute; top:33.0%; right:10.0%;" /></a>';
    

    By default, Auto ThickBox Plus uses thickbox.min.js. So you need to replace thickbox.min.js with modified thickbox.js.

    BTW in your code, alt attribute position is wrong.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Auto ThickBox Plus] Add overlayed logo (Watermark-like) over gallery pictures’ is closed to new replies.