Support » Plugin: Nextend Image Magnifier » Adding Lightbox or other Popup

  • Resolved beatfreqs

    (@beatfreqs)


    Hi,

    I am trying to add a lightbox or other popup style for the click event.
    I can’t get anything to function, and no matter what, I only get the attachment url image to display on click. I have the js/css to may pages for the light box I want to use, and added a rel=’lightbox’ to your plugin’s php in this section:

    if($click == 0){
    
      	echo '<a href="'.$link_url.'" rel="lightbox">';
    
      }

    My shortcode in PHP looks like this:
    [magny image="'.$getAttachURL[0].'" title="" description="" align="center" click="0" link_url="'.$getAttachURL[0].'" scroll_zoom="1" scroll_size="1" small_image="" canvas_mode="1" maxwidth="500px" zoom="1" height="100%" dia="200px" skin="new-im-frame-simple,new-title-off,new-description-off,new-slider-off,new-im-magnifier-simple new-im-magnifier-square" ]
    Adding and removing the data-link_url doesn’t help. How can I make the click event a lightbox?

    http://wordpress.org/extend/plugins/nextend-image-magnifier/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Nevermind, figured it out. Will post code if anyone needs it.

    hi could you please share it how did you do it? hanks

    The above code works with the plugin called “Shutter Reloaded.”
    The file I edited in the plugin was ‘nextend-image-magnifier.php,’ line 84, i think.

    I never figured it out fully, just moved on to a plugin that worked with the rel=”lightbox” tag.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding Lightbox or other Popup’ is closed to new replies.