WordPress.org

Forums

Alligator Popup
[resolved] Link to image popup? (3 posts)

  1. Kittyittybitty
    Member
    Posted 1 year ago #

    Love it!
    Is there a way to add the popup link to an image? I have a feeling not, but I'm trying.
    :)
    Thanks!

    https://wordpress.org/plugins/alligator-popup/

  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Plugin Author

    Posted 1 year ago #

    I initially didn't think that this would work, but I have just tried a test which indicates that this can be achieved with Alligator Popup. You would use the shortcode as normal, but specify the path to the image instead of a page and include the height and width of the image.
    eg:

    [popup url="http://sitename/wp-content/uploads/image.jpg" height=900 width=700]link text[/popup]

    You can also wrap the shortcode around an image instead of the link texteg:

    [popup url="http://sitename/wp-content/uploads/image.jpg" height=900 width=700]<img src="http://sitename/wp-content/uploads/image-150x150.jpg" alt="myimage" width="150" height="150" />[/popup]
  3. Kittyittybitty
    Member
    Posted 1 year ago #

    Thank you for your prompt reply!
    I'll give it a try.
    :)
    ~Kitty

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Alligator Popup
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic