Nextend Image Magnifier
[resolved] Adding Lightbox or other Popup (4 posts)

  1. beatfreqs
    Posted 3 years ago #


    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?


  2. beatfreqs
    Posted 3 years ago #

    Nevermind, figured it out. Will post code if anyone needs it.

  3. kaay
    Posted 3 years ago #

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

  4. beatfreqs
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Nextend Image Magnifier
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic