• It works, but it’s pinning thumbnails from my gallery instead of the actual image. I have been struggling with jquery selectors for hours and I just can’t get it to pick the href of the link instead of the src of the img tag.

    See: http://bit.ly/15eiH6d

    I have tried so many things. Right now the Image Selector option is set to something other than the default and it doesn’t work, but I don’t think that should hinder troubleshooting. I’ve been trying to use the ngg-gallery-thumbnail class and cboxElement from Colorbox to get to the image url.

    http://wordpress.org/plugins/jquery-pin-it-button-for-images/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mrsztuczkens

    (@mrsztuczkens)

    The plugin pins thumbnails because it always pins the image on which it’s rendered, no matter where the image links to. So when you put a thumbnail in a post and hover over it, it pins the thumbnail, just like any other image. For now the plugin doesn’t offer pinning linked images.

    The selector is there to select images that should have the button on, nothing more.

    Thread Starter pleasureinstitute

    (@pleasureinstitute)

    I was afraid of that. Is there a reason jquery can’t be used to pick an a tag instead of an img tag? It sounds like an easy thing to change, but I don’t know. Maybe I’ll try to figure it out later.

    Thread Starter pleasureinstitute

    (@pleasureinstitute)

    Oh I misunderstood you, never mind.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pins thumbnails instead of linked photo’ is closed to new replies.