Support » Requests and Feedback » image pop up plugin

  • Resolved ronco

    (@ronco)


    Would anyone be willing to write a plugin that allows me to insert a thumbnail in a post, which opens as a pop up of the full scale image when clicked? I don’t want a gallery in the post, only the thumbnail. This would be greatly appreciated!

Viewing 15 replies - 1 through 15 (of 26 total)
  • You may want to check out my Open Browser Window Plugin.

    I’m also planning on releasing one exclusively for images.

    If you use IImage Browser as well then you may like to read this.

    Ajay, thanks very much. I was looking for something a little more automated perhaps, but I’ll play around with IImage Browser and your hack and see how that goes. Please let me know when you release your Open Browser Window Plugin for images. Thanks again.

    I’ve had a play around with Ajay’s plugin and hack but they are much too complicated for what I want. Any other offers?

    I’ve noticed a few requests on other forums for this type of plugin, so it seems to be in demand – but with no supply! Can anyone do this?

    There is a plugin called zap_imgpop that does what you want –

    Zap_ImgPop (WordPress plugin)

    Thanks very much, jimatwork, I haven’t had a chance to try it yet but your plugin seems to do exactly what I want. Yipee!

    Right, I’ve tried it now and your plugin works perfectly – just exactly what I was looking for. Thank you again.

    I guess ZAP’s plugin does a very good job.

    Will however post when I do release Open Image Window Plugin.

    It’s always good to have more than one plugin to do the “same” thing. Since programming is creative, what one thinks is the answer to a question may be interpreted differently by another. I should know since I am a programmer. I awit your plugin Ajay and will check it out when you are done.

    Alas, this does not work with the Horizontal theme – which is the one I am using! I assume there is some sort of clash with the javascript used in the theme. Any ideas about a solution? I was so close!

    You can do this on a per-image basis using a bit of Javascript. It’s a little more work than Zap’s elegant solution (OK, it’s more than a little more work) but it’s pretty simple and it works great.

    First, upload your full size image to wp. Either let wp make the thumbnail or create one yourself and upload it.

    Second, insert the thumbnail into the post, and add this code around it:

    <a href="URI of your full size image" onclick="window.open('URI of your full size image','popup','width=XXX,height=YYY,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="URI of your image thumbnail" border="0" height="thumbnail height" width="thumbnail width" alt="panorama" align="either left or right" /></a>

    Obviously you’ll have to replace the “text” values above with the appropriate ones for your own site. I’m doing some testing with 2.0 at the moment, and I just tested this for my own use this afternoon. You can see it in action on my test blog in this post. You can view the page source to see how the values work on the test site.

    hth

    @ajay – just installed your plugin and the “hack” for IImageBrowser, which I started using recently. Works very nicely for me – thanks.

    Actually Jack, although that solution isn’t particularly elegant, it does work well with the Horizontal theme – so thanks very much for that, I may have to use it if nothing else is forthcoming. However, I wonder why Zap’s plugin doesn’t work with that theme. I really would prefer the convenience of a simple plugin if it can be made.

    ronco: What is the link to your site? Are you getting errors?

    Jim, I’m just working locally on this at the moment. I’m halfway through converting the Horizontal theme to a scrolling gallery. I’m not getting any errors as such – instead of opening a popup, when I click on the thumbnail, it simply opens the image in a new window. Zap’s plugin works fine with other themes I have tried so, as I said, I’m assuming there is a conflict with the javascript code that’s already used in the Horizontal theme.

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘image pop up plugin’ is closed to new replies.