Simple Popup Images WordPress Plugin

The Simple Popup Images plugin allows you to add pop-up images to your WordPress 2.0 or later blog. You put a thumbnail image in your post; if a user clicks on it, a larger version appears in a separate window. Nota bene: I’ve stopped development on this plugin, as it works decently if old-schoolishly. These days I suggest you try my WP FancyZoom plugin instead.

Current version: Simple Popup Images 1.0

Features that I think are cool:

  • Plugin’s UI makes it easy to add the image and thumbnail to your post
  • Can automatically make thumbnails from a large image (requires the GD library to be installed)
  • The resulting popup window can, if you like, vanish the moment the user clicks away from it
  • Easy installation

Installing

  1. Grab the latest version
  2. Put the entire plugin folder in your wp-content/plugins/ folder
  3. OPTIONAL: If you want, move the popup.php file somewhere else on your server
  4. Activate the plugin in your WordPress admin panel
  5. OPTIONAL: If you moved the popup.php file elsewhere, enter the file’s new directory in the plugin’s option page

Using

The plugin adds a “Popup” button to the quicktags bar. If you’re using the visual rich editor under WordPress 2.1, select the “Code” tab on the editor to see the quicktags. Click the button and a window will pop up. Follow the new page’s directions.

Important note for visual rich editor users under WP 2.0: There is a known bug with the “Insert” button. What you will need to do for now is press the “Preview” button and copy-and-paste the code from the “Popup Image Code” box into your post. You can then close the popup window.

Thanking

If you use this plugin and find it useful, you can best thank me by linking back to this plugin page or the blog as a whole. However, if you really want to send me money, I certainly won’t stop you. Drop me an email and we’ll talk.

Changelog

1.0

  • This plugin is now abandoned, and will not be further developed.
  • Fixed a bug where the “Popim” button wouldn’t show up when writing a new page.

0.9

  • New feature: popup windows can now have scrollbars.

0.8

  • Fixed a bug involving WordPress installations that are at the root of the site’s directory structure
  • Better handling of directories overall

0.7

  • Upgraded plugin to work with WordPress 2.1
  • Added support for Quicktag button in the visual rich editor
  • Better handling of directories on non-Unix systems

0.6

  • Some servers are configured to disallow fopen() calls to use a URL, which in turn prevents getimagesize() from working with URLs. As a fallback, the plugin will now look for files both by URL and by filename on the local server. To support this, the plugin has a new option: the directory on your local server that corresponds to your website.

0.5

  • Fixed a bug involving array_combine() and array_merge() that occurred under some versions of PHP.
  • Fixed a bug that kept the UI from correctly finding a generated thumbnail image.

0.4

  • The “Insert” button doesn’t work with the rich visual editor. As a stopgap measure, the “Preview” button now shows the code to be pasted in the post, so that you can copy and paste it yourself.

0.3

  • Fixed a bug that caused the wrong URL to be reported if the image or thumbnail couldn’t be found.
  • Fixed a bug that cause the wrong URL to be reported if the auto-generated thumbnail couldn’t be saved.
  • The “Add a popup image” link is now available when writing a new page using the visual rich editor.
  • When using the “Add a popup image” link with the visual rich editor, the main window is no longer taken over by a second copy of the page that allows you to choose the correct image and thumbnail.

0.2

  • Now chmods thumbnails to be readable and writable by anyone
  • Link tag now has the title attribute set

0.1

  • First release

Acknowledgements

This is a plugin-ified version of Amy’s modified popup script. See? I told you I was doing something cool with it.

199 Comments

  1. on August 1, 2006 at 11:46 am | Permalink

    Nice plugin. Tx! Works fine in WP 1.5.1.

    Initially, I was getting 404 errors until I realized that the thumbnail was chmod’d incorrectly.

    The plugin generates an unreadable (chmod) thumbnail or did I miss something? The folder was set correctly.

  2. on August 1, 2006 at 11:56 am | Permalink

    The plugin generates an unreadable (chmod) thumbnail or did I miss something? The folder was set correctly.

    It should have picked up the default permissions from the folder. However, there can be problems with that, so I’ve made version 0.2 explicitly chmod the thumbnail and make it world-readable and -writable.

  3. on August 1, 2006 at 10:28 pm | Permalink

    First, let me say thanks for all the work you’ve put into this. It’s exactly what I’ve been looking for!

    Now… the bad news. I can’t get it to work! When I press the ‘insert’ button, I get an error message stating that the image and its corresponding thumbnail do not exist, though I know full well that they do.

    Could this be related to the chmod issue discussed above?

  4. on August 1, 2006 at 10:46 pm | Permalink

    Now… the bad news. I can’t get it to work! When I press the ‘insert’ button, I get an error message stating that the image and its corresponding thumbnail do not exist, though I know full well that they do.

    What happens if you press the “preview” button? Does the link appear correctly?

  5. on August 2, 2006 at 2:19 am | Permalink

    This is EXACTLY what I was looking for about two years ago! I want it… will it work on WordPress 1.5.X? Please let me know!

  6. on August 2, 2006 at 2:22 am | Permalink

    OK now! v0.2 works perfectly even with gifs and animated gifs. I would imagine any format in the GD library.

    Just FYI. I moved popup.php to the root (httpdocs) and got ride of the path in the options page per Stephen’s instructions.

    Also, no problems with popup blockers in IE7 or FF1.5.

  7. on August 2, 2006 at 5:13 am | Permalink

    Thank you for this plugin! Like Len, it is exactly what I’ve been looking for. Also like Len, I can’t get it to work. I cannot generate thumbnails. I get this error message: “I couldn’t save the resized image at /x/x/x/x/x/picture.jpg for some reason. The most likely cause is that you don’t have write permission set on the directory”. When I put in the path to a thumbnail sized image I have already created, it shows up, but clicking the thumbnail generates a new window that displays a 404 error.

    Hope you can help! This is exactly what I have been wanting, if I can get it to work!

    P.S. The X’s in the path above are just for privacy.

  8. on August 2, 2006 at 5:15 am | Permalink

    I don’t think I have the latest version, as the plugin version I have still has the path in the options page…

  9. on August 2, 2006 at 8:26 am | Permalink

    Is it actually trying to save the thumbnail at “picture.jpg” rather than “picture-thumbnail.jpg”? If so, it could be running into a problem trying to overwrite an existing image. Otherwise, I’d guess that it is a permissions problem. On a Unix distribution, you’ll need to have the directories in which your images live set to world-writable. You can do that with a

    chmod a+w

    command. As for the options page, version 0.2 has the path in the options page. I think what Robert is talking about is actually changing the path to the popup.php script in the options page, not that there’s no path entry box in the options page.

  10. on August 2, 2006 at 9:44 am | Permalink

    There is nothing in my ‘Path to popup.php:’ field. I put popup.php in the root folder and deleted the path. I think Stephen mentioned doing this in the instructions somewhere(?).

    Those relative paths always confuse me and my system.

    Works fine… just what I was looking for!

  11. Craig
    on August 2, 2006 at 11:55 am | Permalink

    Great Plug-In. Any plans to extend support to Pages as well as Blogs?

  12. on August 2, 2006 at 12:00 pm | Permalink

    Do you mean for WordPress pages as well as for posts? It should
    already do so, with a “Popup” button or link available whether you’re
    writing a post or a page.

  13. Razvan
    on August 3, 2006 at 6:47 pm | Permalink

    Every time I try to insert a picture I get the message:

    [Simple Popup Images unable to find image size for imagename at http://mysite.comhttp://mysite.com/uploads/2006/08/mypicture.jpg ]

    What is wrong?

  14. on August 4, 2006 at 7:34 am | Permalink

    Is it actually trying to save the thumbnail at “picture.jpg” rather than “picture-thumbnail.jpg”? If so, it could be running into a problem trying to overwrite an existing image.

    Yes, it does seem to be trying to save it to “picture.jpg”. It says: “I couldn’t save the resized image at /myroot/myuser/mysite/myfolder/myotherfolder/year/kitten.jpg for some reason. The most likely cause is that you don’t have write permission set on the directory”

  15. on August 4, 2006 at 8:44 am | Permalink

    Every time I try to insert a picture I get the message:

    [Simple Popup Images unable to find image size for imagename at http://mysite.comhttp://mysite.com/uploads/2006/08/mypicture.jpg ]

    The problem is that you’ve got two “http://mysite.com”s in there. Remove one and see if it works.

  16. Razvan
    on August 4, 2006 at 2:04 pm | Permalink

    But I am not entering the “mysite.com” at all, just the “mypicture.jpg”, and I get that result.

  17. on August 4, 2006 at 2:57 pm | Permalink

    Aha, that’s clearly a bug, one that I’ve been able to reproduce. I’ll work on fixing it and get version 0.3 uploaded.

  18. on August 6, 2006 at 5:11 pm | Permalink

    I just installed and activated this. The only problem is when i click the link in the rich text editor it navigates me away from the write page, and doesn’t insert the image after I put in the info.

    Without the RTE it works fine as far as inserting the code and all but I get a lovely 404 error when i click the thumbnail in the finished post. Help? Please? Pretty please?

  19. on August 6, 2006 at 5:16 pm | Permalink

    RE: above comment, putting in the full web address solved the problem ( http://www.site.com/wp-content/blah blah

  20. on August 6, 2006 at 7:20 pm | Permalink

    without the RTE i dont even get the link! “add a pop-up image”, and with the rte i just get navigated away from the side whe n pressing the link, maby it just is a compability problem with other code i got on my site, but i cant get this to work at all!

  21. on August 6, 2006 at 7:29 pm | Permalink

    Getting navigated away from the RTE is a known bug, and I’m fixing it in a release coming up in a few days. In the normal (non-RTE) editor, you shouldn’t get a link — you should get a button that says “popup” in the quicktab button row. Do you get that button?

  22. on August 6, 2006 at 7:44 pm | Permalink

    omg :o , i just realised that with RTE, the link “add a pop-up image” shows under the text box! and without RTE it is over the text box saying popup… Im going to bed ashamed, spending over 3 hours troubleshooting what code that were interfering with pop-up image, after testing the add on id have to say, Great Work!

  23. on August 7, 2006 at 7:39 pm | Permalink

    Hi!

    I´ve got the plugin working, i can generate the thumbnail but… when after i generate the preview, i click on insert and nothing happens! I try to click over the preview thumbnail and i get the 404 error, but i´m sure the image is correctly on server!

  24. on August 7, 2006 at 8:02 pm | Permalink

    If you copy the image and thumbnail URLs from where you’re entering it in the Simple Popup Images form and paste those URLs into new browser windows, can you view the images?

  25. Lynn
    on August 10, 2006 at 7:09 pm | Permalink

    I’m getting the same error as Mic. All the permissions are set correctly for each folder. The insert button just does nothing. The generated thumbnail is working and so is the original image, it simply doesn’t insert it into the post.

  26. on August 10, 2006 at 7:43 pm | Permalink

    Lynn,

    Which editor are you using? And are you running on version 0.3 of the plugin?

  27. WolfmoonCT
    on August 10, 2006 at 8:30 pm | Permalink

    I have installed this, but I use Editormonkey for my site editor.. the popup button does not show up. Is there a way to get the popup button to show up using editormonkey plugin?

  28. Lynn
    on August 10, 2006 at 8:31 pm | Permalink

    I am using the 0.3 version and I’m on the RTE.

  29. on August 11, 2006 at 5:55 pm | Permalink

    Hello,

    I’m using the 0.3 version with the RTE editor, all seems fine until i publish the post and try to click the images to see the pop-up, i get a 404 error.

    Putting the full web-adress wouldn’t help, i’ve tried all that’s been suggested, i checked if both images are there and they are, but it seems like something’s messed with the hyperlink between the thumb & the pop-up.

    Please help =(
    A.H

  30. on August 11, 2006 at 6:00 pm | Permalink

    Update:

    Apparently the pop-up brought me to this page:

    http://ROOT/home/heatmax/public_html/dailybuzzer/wp-content/plugins/popup-images/popup.php?z=http://ROOT/i/PICNAME&width=692&height=902&title=PICNAME

    A folder that’s obviously not there. The plugin is linking me through the wrong path, instead of doing this – http://ROOT.COM/I/PICNAME, it’s leading me to that long, messy thing above.

    A.H

  31. on August 11, 2006 at 10:03 pm | Permalink

    Lynn, Mic,

    The visual rich editor is complex and twisty. I’m going to need to re-write the UI for inserting the code. As a stopgap measure, I’ve updated the plugin so that the “Preview” button shows you the code to be inserted in your post. You can copy-and-paste the code back into your post and then close the window.

    WolfmoonCT,

    I’m not planning on supporting Editormonkey right now. If someone else wants to add support and submit it as a patch to me, I’d be happy to include it.

    A.H.,

    I’m not sure what’s going on. Could you try the workaround I’ve posted for version 0.4 and the RTE?

  32. on August 16, 2006 at 5:02 am | Permalink

    thanks

  33. on August 17, 2006 at 11:02 am | Permalink

    I just did a WP 2.04 install adapted for small business site. I must admit that the RTE is a piece of junk. What were they thinking? I turned it off and never want to see it again as it trys to wrap around just about everything. The uploader is also junk.

    Once the RTE is off, your Pop-up plugin works fine. Span it and it looks great! See it here:

    http://www.advancedlabs.com.sg/vendors/clarinox-technologies/

  34. on August 18, 2006 at 7:51 pm | Permalink

    Great! I’m glad it works for you. I’m not fond of the RTE myself, but I know plenty of people are. I’m hoping to overhaul the plugin to make it work with TinyMCE/the RTE yet still have it work well with the normal editor.

  35. on August 19, 2006 at 2:43 pm | Permalink

    Confirmed – 404 error and wrong string for thumb. Both image and thumb open correctly when directly checked.

    Using just code without “Insert” does the same, i.e. does not work.

    Hope to get some info on this! Thanks!

  36. on August 20, 2006 at 4:40 pm | Permalink

    Mairis,

    Can you email me the exact things you put in the image title, URL to image, and URL to thumbnail boxes? Also, please press the “Preview” button and send me the code that’s being generated.

  37. on August 23, 2006 at 3:55 am | Permalink

    I get strage errors, while I view a page, where I have put an image:

    ———–PAGE————-

    Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /home8/informatyka/2002/ID/m/malesins/public_html/wild-eye/wp-content/plugins/popup-images/popup-images.php on line 54

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home8/informatyka/2002/ID/m/malesins/public_html/wild-eye/wp-content/plugins/popup-images/popup-images.php on line 55

    Warning: array_change_key_case() [function.array-change-key-case]: The argument should be an array in /home8/informatyka/2002/ID/m/malesins/public_html/wild-eye/wp-content/plugins/popup-images/popup-images.php on line 58

    [Here goes the normal page part]

    [Simple Popup Images unable to add image: missing parameters.]

    ———–PAGE————-

    I have WP version: 2.0.4 (…I guess)
    I use RTE and I have plaste the PopupImageCode on the end of the page.

    The same happens if I try to put it into a post.

    Can someone help?

  38. on August 23, 2006 at 8:14 am | Permalink

    Could you send me the popup code that you pasted in your post?

  39. on August 25, 2006 at 11:38 am | Permalink

    This is a 3 part post. 1st and 2nd part. I am trying to add a couple of features to your UI. 1st I would like to add an upload feature and 2nd a browse. This way I can do everything from one place. Upload my pics to a desired directory. If it exists and if not make it. Browse to the directory and get the file path to image and thumbnail. Simple enough and wont need me understanding your code.

    This is the 3rd part and the part I need help with. I noticed if I make a post and past in the preview code, and then later needed to re-edit that post, the image code would disappear. After some reading I found I could disable the WYSIWYG and I shouldn’t have a problem anymore. However now I do not have the link to Add a Popup Image.

    Can you help me with the 3rd part and Ill see what I can do about the other 2? I will share what I come up with when Im done.

    Thanks,
    Jesse

  40. on August 25, 2006 at 9:40 pm | Permalink

    My solution for part 1 and 2 was to install a php script called Web File Browser 0.4b14. It allows me browse upload and open the file once located on my server. I then use the URL from the address bar in the browser.

    My solution for the 3rd part was to add a link to the UI on the options page. The UI stays open when I switch to the post or manage pages.

    I would still like to add the Link for Add a Image Popup to the post options page. Let me know if you have any ideas.

    Thanks,
    Jesse

  41. on August 25, 2006 at 9:44 pm | Permalink

    This is the 3rd part and the part I need help with. I noticed if I make a post and past in the preview code, and then later needed to re-edit that post, the image code would disappear. After some reading I found I could disable the WYSIWYG and I shouldn’t have a problem anymore. However now I do not have the link to Add a Popup Image.

    Right. When you’re using the standard editor, there’s a “Popup” button in among the quicktags, which should work for you.

  42. on August 25, 2006 at 9:48 pm | Permalink

    ah, dont I feel like a dip. It was there all along(but camoflauged). I would also like to clerify that the link on the UI that I added connects to the Web File Browser. Now I can do everything for a post from that nice simple interface.

    Thanks Again,
    Jesse

  43. Mike
    on August 26, 2006 at 6:42 pm | Permalink

    I installed the plug-in and I’m having one problem. I’m getting a thumbnail of the image but when I click on the image to open up in a pop-up I get a 404 error.
    The URL is correct but for some reason it’s not loading…

  44. on August 26, 2006 at 6:50 pm | Permalink

    I was getting this error too, I found that if i right clicked on the thumbnail and said open in new window the image opend just fine. So I came to the conclusion there must be a problem with the javascript. I replaced the return of the function from within popup-images.php with a different script which suited my needs and still worked.

    Here’s the script I used:

    return ‘(Click on image to enlarge)’;

    This script has some problems of its own but it is openeing my full size image in a new window without the 404 error so for the time being Im satisfied.

    Jesse

  45. on August 28, 2006 at 7:41 am | Permalink

    Hi, I’ve installed you plugin into word press, it’s what I’ve been looking for for a while now. Everything works fine up until I click on the final thumbnail. a page pops up, the correct size but with a 404 message, can someone please advise about this.
    Thanks, simon

  46. on August 28, 2006 at 8:13 am | Permalink

    Mike and Simon,

    Could you give me a URL to your page for me to look at the error?

  47. on August 28, 2006 at 9:37 am | Permalink

    Thanks Stephen for you emails: it works now. I have changed the path to the popup.php in the options to read: http://www.simonsharville.co.uk/economycustard/wp-content/plugins/popup-images/popup.php

    It may be because my blog sits in my main site, anyway you were a great help and it’s agreat plugin.

    thanks simon

  48. Annabanana
    on August 29, 2006 at 6:23 am | Permalink

    I’m getting the same array errors as Shergan. Here’s the code I inserted:

    Here’s the error:

    Warning: array_combine() [function.array-combine]: Both parameters should have number of elements at least 0 in /usr431/home/e/q/equinoxd/public_html/blog/wp-content/plugins/popup-images/popup-images.php on line 54

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /usr431/home/e/q/equinoxd/public_html/blog/wp-content/plugins/popup-images/popup-images.php on line 55

    Warning: array_change_key_case() [function.array-change-key-case]: The argument should be an array in /usr431/home/e/q/equinoxd/public_html/blog/wp-content/plugins/popup-images/popup-images.php on line 58

    [Simple Popup Images unable to add image: missing parameters.]Testing a thumbnail image

  49. on August 31, 2006 at 4:04 am | Permalink

    Hi,

    I was wondering if it is possible to have a popup on a text, without thumbnail…

    Thanks, great plugin, nice site

    Bye from Francitaly (I leave in France and in Italy)

  50. Jesse
    on August 31, 2006 at 1:42 pm | Permalink

    Simone:

    You would need to alter the code of the plugin to do this. The plugin will not have an output if there is no thumb url, image url and a image title.

    It is possible to do what you want with this plugin, but it might just be easier to use target=”new” in you link intead.

    Whats exactly are you trying to do, display a whole page of text, or a definition? Please give us a little more information so we can better help you.

    Jesse

  51. on September 3, 2006 at 3:45 pm | Permalink

    Excellent plug-in; exactly what I was looking for. Worked perfectly after I changed the path in the options panel.

    One note: I changed “onMouseOver” and “onMouseOut” to all lower case in popup-images.php, so the page would be valid XHTML Strict.

    Thanks again for an very well executed plug-in!

  52. on September 6, 2006 at 4:42 pm | Permalink

    How can I get the plugin to generate a larger thumbnail?

  53. on September 7, 2006 at 3:09 am | Permalink

    Hiya, awesome site, i love the idea of the pop up, but for the life of me i can’t get it to work, i’m trying to do it to the entry half way down my page.

    In the preview i can get the thumbnail to generate, but when i click on that it just shows part of my main page, and has an error message.

    I’ve read all the comments here, and have tried everything i can think of, any help would be great.

  54. on September 7, 2006 at 4:05 am | Permalink

    The plugin works perfectly for me, thank you! However, I was wondering how I can get rid of the ugly default border in the thumbnail? And also, I wanted to add a css class to the thumbnail image so I can style it. I tried adding border=’0′ and class=’img’, but nothing works.

  55. on September 7, 2006 at 4:16 am | Permalink

    In regards to my question above. I went into popup-images.php and I added:

    ‘” border=”‘ . 0 .

    At line 173.

    It seems to work. No default border, border is gone!

  56. on September 8, 2006 at 6:21 pm | Permalink

    Hi, I hope this hasn’t been answered already and I just missed it in the comments..I am getting the following error:

    [Simple Popup Images unable to find image size for Test at http://www.sundrybuzz.com/wp-content/uploads/2006/09/test.jpg ]

    The image URL seems fine: http://www.sundrybuzz.com/wp-content/uploads/2006/09/test.jpg

    Am I doing something wrong? I’m using Safari, and I believe I have the latest version of the plugin.

  57. on September 9, 2006 at 1:17 pm | Permalink

    Ron, larger with respect to what?

    Sam, what’s the error? Is it a 404 error or something similar? I’d guess that you don’t have the path to popup.php set correctly in your options.

    AC, yeah, I leave the border on so that it’s obviously clicky.

  58. on September 11, 2006 at 6:10 am | Permalink

    I’ve had errors. When I click insert
    ” * The image doesn’t exist at http://girls.bloggero.com/wp-content/uploads/2006/09/boobs-picture-1.jpg
    * The thumbnail doesn’t exist at http://girls.bloggero.com/wp-content/uploads/2006/09/boobs-picture-1-thumbnail.jpg

    They are there but this plugin can’t get the right “imageWidth=’0′ imageHeight=’0′ thumbWidth=’0′ thumbHeight=’0′”
    I’m not using wysiwyg.
    It’s working only if i add by hand sizes for the pics.

  59. on September 12, 2006 at 8:33 pm | Permalink

    Great plug-in. Everything works great, but I was wondering if there is a way to get the text to wrap around the image. Before I would add this code: align=”left” hspace=”10″ and that would do the trick. Now I add that code and no change at all. Any ideas would be appreciated. Thanks.

  60. on September 13, 2006 at 9:16 am | Permalink

    Sundry,

    I’ll take a look at that this weekend. I’m not sure what the heck could be going on.

    Bloggero,

    I’ve had other people report problems with the sizes not being set properly. It’s on the list for me to look at this weekend.

    jamie,

    What I really need to do is add an option to let you set what the HTML looks like. Do you have examples that I can look at where you’ve tried to set the text to wrap around the image and it hasn’t worked?

  61. on September 13, 2006 at 12:33 pm | Permalink

    I’m getting a strange problem. I’m using WP 2.0.4 on a Safari browser.

    The “pop-up” displays my home page instead of the image. I have tried various ways of delineating the image address without success. Help!

  62. on September 13, 2006 at 1:23 pm | Permalink

    Thanks for your reply. Please take a look at the last
    two post on my blog:

    http://independentmusicsource.com/Blog/

    The latest post is using your plug-in. The second post
    is using the default method, but I added the *
    align=”left” hspace=”10″ *. here is the code:

    I tried adding that to the code generated by your
    plug-in, but nothing happens. I do appreciate your
    time. Many thanks.

    Jamie
    IndependentMusicSource

  63. on September 14, 2006 at 1:55 am | Permalink

    “Comment by rich miller

    I’m getting a strange problem. I’m using WP 2.0.4 on a Safari browser.

    The “pop-up” displays my home page instead of the image. I have tried various ways of delineating the image address without success. Help! ”
    I use to have the same problem.
    1.I moved the popup.php in root dir and i delete the path to him from options.
    2.I added by hand all image atributes (width and height – even for thumbails)

  64. on September 17, 2006 at 2:53 pm | Permalink

    Is there anyway to make this plugin work with text links instead of image thumbnails? For example… to have someone click on “Click here to view image” and have the popup come up instead of having to click on a thumbnail of the image?

  65. on September 17, 2006 at 3:31 pm | Permalink

    Is there anyway to make this plugin work with text links instead of image thumbnails?

    Not without recoding the plugin, and that’s not something I’ll be doing in the near future.

  66. on September 18, 2006 at 1:57 am | Permalink

    * What are you typing into the “URL to image” and “URL to thumbnail”
    boxes in the user interface?
    From the wordpress 2 interface i get the link to original image and I generate thumbnai with your script.

    *What is the popup image code that’s generated? You can see it if you
    press the “preview” button in the user interface.
    I can see the code, but “thumbWidth=’0′ thumbHeight=’0′” so i put that values by hand.
    —–
    Anyway … the thumbWidth and thumbHeight are always 0 from my experience in ussing your script and needs to add them by hand. :(
    I don’t know php to debug this script, but it’s still a great script.

  67. Hedges
    on September 20, 2006 at 4:03 am | Permalink

    Have had version 0.4 installed with latest WordPress and everything had been working for a while now, no issues. Logged onto site today and all instances are showing the message “Simple Popup Images unable to find image size for imagename at http://www.mysite.com/blog/uploads/image11.jpg“. Checked upload folder by ftp, all good and I stress, this was working fine. I can still use the plugin and it shows the thumbnail when created but once published I get the above message. Anyone have any idea what is going on?

  68. on September 20, 2006 at 6:27 am | Permalink

    To Hedges:

    See the code : “thumbWidth=’0′ thumbHeight=’0′” ->Fix: put that values by hand for every picture.

  69. Hedges
    on September 20, 2006 at 9:02 pm | Permalink

    Thanks Bloggero,

    That fixed the issue of the thumbnail not appearing and by following Simons example of useing the full path to popup.php I got rid of the 404 on the popup as well. Thanks guys.

  70. on September 24, 2006 at 11:23 am | Permalink

    Please see the first post that uses Simple Pop-Up.

    http://sprangleblog.com/?p=21

    (fear not, I will install a small full-size image as soon as I solve the current issues.)

    I’d like have 5px padding, the option of aligninging left or right and word wrap. I’ve read the above threads but can’t see any advice on how to do that.

    Help, please?

  71. on September 25, 2006 at 5:50 pm | Permalink

    Stephen,

    I’m trying to create a thumbnail, and everything works fine until I try to “insert” and nothing happens. The image does not get inserted into the post. What am I doing wrong? Thanks.

  72. on September 25, 2006 at 6:57 pm | Permalink

    As a note, Jerseyjoe and I are working to fix his problem.

    Kathleen,

    Are you using the rich editor? If so, my plugin doesn’t quite work
    with it. You can cut and paste the code from the “Code” box into your
    post as a work-around for now.

  73. on September 25, 2006 at 8:07 pm | Permalink

    Kathleen,

    I suspect that if you edit at your post in HTML mode, do a “save” and then reopen it in the HTML mode again, the formatting wdid not survive.

    As Stephen Says, go into the WP Dashboard > Users and un-tick the box for using the Rich Text Ediotr. It eats the code. Once you do that, you should see your thumbnails.

    Having solved that issue, I’m looking forard to Stepehn’s advice on controlling the word wrap and padding for the image.

  74. on September 26, 2006 at 12:49 am | Permalink

    I’m 80% satisfied by this plugin.
    I want to know where/how to add some html/java code to the popup image ?

  75. on September 26, 2006 at 8:58 am | Permalink

    Bloggero,

    To the image itself? The image display is controlled by popup.php, which lives wherever you placed it.

  76. on September 26, 2006 at 9:58 am | Permalink

    Hi All,

    I did as JerseyJoe suggested and turned off the rich text editor. Though the thumbnail was generated it continues to not appear in my post. Can you help? Thanks!

  77. on September 28, 2006 at 5:58 am | Permalink

    To Kathleen,
    Add by hand all image sizes, put your popup.php in root dir, delete path to popup from options.
    (This works for me.)

  78. on September 29, 2006 at 9:16 am | Permalink

    I’ve released version 0.5, which should fix Kathleen’s bug (and hopefully others’ as well).

  79. on October 13, 2006 at 9:04 am | Permalink

    Great pluging – thanks alot! Actually my question is similar to Jamie’s 12th Sep comment. I used to put thumbnails on the right or left of the page with text wrapping using class=”alignright” or class=”alignleft”. Using the plugin it seems all my thumbnails will end up on the left, can i change this?

  80. on October 13, 2006 at 4:49 pm | Permalink

    Hi Steve,

    This plugin looks like everything I’ve been looking for, if only it would do what it’s told. When I instruct the plugin to look for the image using the url /public_html/media/popups, it comes back with an error that it can’t find the image at home/jthudson/public_html/media/popups to make a thumbnail.

    That, of course,isn’t the directory I specified for the image.

    What’s going on?

    John

  81. on October 13, 2006 at 9:04 pm | Permalink

    I have ran into a place where I a plugin that posts the contents via a SQL statment.

    When this happend all I get on the page is a border to the table I built. When I view sorce I can see the “popim” tag, its like the contents is not being filtered.

    How does the plugin popup-image filer, is it based on the content() function?

    Is there a way I can place a filter around the SQL statment of the function interupting things to fix this?

    Heres a link to the post where the table and popup images is working.
    Working

    Heres a link to where a plugin calls the contents and no popup images are displayed.
    Not Working

    Thanks for the Help,
    Jesse

  82. on October 13, 2006 at 11:57 pm | Permalink

    Nevermind, I figured it out. The plugin does only filter the_content() function.

    The plugin was using a foreach loop with the statement echo $posts->post_content;

    I have replaced that with the_content after setting the proper post ID before it.

    I hope this might help someone else in the future.

    Thanks Again for the Awsome Plugin.

    Later,
    Jesse

  83. on November 1, 2006 at 12:42 pm | Permalink

    I am probably the last guy who comments this, but this is really cool and so its cool to be the last one :D

  84. dd lamone
    on November 11, 2006 at 11:00 pm | Permalink

    Okay people, I managed to sort out the alignment problem.

    first, copy this line of CSS onto your theme’s CSS file and save it:

    .alignleft {
    float: left;
    }

    .alignright {
    float: right;
    }

    .centerimage {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    }

    span.leftimage {
    float: left; margin: 7px; margin-left: 0;
    border: 1px solid #000;
    }

    span.rightimage {
    float: right; margin: 7px; margin-right: 0;
    }

    then whenever the WP post generated this code in your posting form (after adding the popup pix process) – you’d see it there:

    Add: the code above

    So it’ll be like this:

    once you’ve done that, click the “save & continue editing” button, let it do the work, once done, scroll down and look at “post preview”.

    I did that and the text started to align around the image which is on the left.

    you should then tweak the CSS as you want it, add borders or waht not.

    Hope this helps.

    BTW; I wonder why no one ever answered the questions posted. This plug-in is very old too, through out the years, there surely be someone who has resolved it. It’s baffling, to me at least.

  85. dd lamone
    on November 11, 2006 at 11:02 pm | Permalink

    sorry bout that, here’s another attempt:

    Okay people, I managed to sort out the alignment problem.

    first, copy this line of CSS onto your theme’s CSS file and save it:

    .alignleft {
    float: left;
    }

    .alignright {
    float: right;
    }

    .centerimage {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    }

    span.leftimage {
    float: left; margin: 7px; margin-left: 0;
    border: 1px solid #000;
    }

    span.rightimage {
    float: right; margin: 7px; margin-right: 0;
    }

    then whenever the WP post generated this code in your posting form (after adding the popup pix process) – you’d see it there:

    [code][/code]

    Add: [code] the code above [/code]

    So it’ll be like this: [code][/code]

    once you’ve done that, click the “save & continue editing” button, let it do the work, once done, scroll down and look at “post preview”.

    I did that and the text started to align around the image which is on the left.

    you should then tweak the CSS as you want it, add borders or waht not.

    Hope this helps.

    BTW; I wonder why no one ever answered the questions posted. This plug-in is very old too, through out the years, there surely be someone who has resolved it. It’s baffling, to me at least.

  86. dd lamone
    on November 11, 2006 at 11:09 pm | Permalink

    okay i give up, this page doesn’t allow code posting or code markup. should install this plugin:

    code-markup-wordpress-plugin

    cheerio!

  87. on November 14, 2006 at 4:48 pm | Permalink

    Hi I’m david
    good work, but I have a question for you. I have a image title with a ” ‘ ” inside..like “Bob’s father”

    so javascript recognize it as stop field text — title=’ Bob’s father’–
    so the title text stops at Bob

    I use the code — Bob\’s father — to resolve it. And it works fine.
    but when i go to hover pop up image, it appears as “Bob\’s father “,
    it doesn’t recognize javascript anymore, or not?

    any suggestion to resolve that?
    thanks
    bye

  88. on November 15, 2006 at 5:40 am | Permalink

    I’m still hoping for a solution to the word wrap issue. The headshot on my Blog Home (http://sprangleblog.com) looks pretty bad until that issue is addressed. I’d like the image to stay left, have 5 pix of padding and with text wrapped.

    Anyone, please?

  89. on November 15, 2006 at 12:24 pm | Permalink

    david, are you using the most current version of the plugin? And how are you creating the title? If I enter an image title with a single quote using the UI page, it escapes it properly.

    jersyjoe, did you try dd’s approach above? The code that went missing in his comment is:

    [span class="leftimage"][popim ....][/span]

    with the straight brackets replaced by < and >. If not, you’ll have to fiddle more with CSS styles for the image, and that’s beyond what I can really do here.

  90. on November 15, 2006 at 12:34 pm | Permalink

    Hi Stephen

    I have the 0.6 version

    I use the pop up interface inside wordpress.(with preview and copying code)
    I put the image title and it appears like \ on the pop up image

    I resolve hiding alt code in popup.php
    but it’s strange..

  91. on November 15, 2006 at 12:38 pm | Permalink

    sorry I didnt resolve it, I only hide all title “alt” on popup images..

  92. on November 17, 2006 at 7:54 am | Permalink

    The plugin worked just fine, but since a day eveytime i want to up an image and i hit the preview button to copy/paste the code, my screen turns white, nothing happens though it says it’s done.
    Is this a known bug?

  93. Annabanana
    on November 21, 2006 at 8:51 am | Permalink

    I am a simple girl…I got this plugin working in our blog and it is great. Now I want to add a caption to the thumbnail image in the blog. I know the mouseover shows the title, but I have some really simple people using our site, and they would like to see a caption. Can anyone step me through adding this to my blog? THANKS!!!!

  94. on November 22, 2006 at 5:50 pm | Permalink

    WOW. I followed the instructions and it works like a charm!

    The only bug I get is that I do not have the popup menu above or below when I use the WYSI-Wordpress from MudBomb.com. I really like using that plug.

    My work around is to deactivate the WYSI and create my thumbnail posting. Then reactivate it.

    All in all this is a nice plugin. It was super easy to install. I appreciate your efforts in giving this to the community. Thank you!

  95. on November 28, 2006 at 2:19 pm | Permalink

    Good afternoon,

    I am trying to get the plugin set up on the most current entry entitled “Test” at http://divamaggie.com . When I click the thumbnail, I get a 404 error. Was hoping you might be able to help.

  96. on November 29, 2006 at 3:24 pm | Permalink

    david,

    I don’t know what’s going on there. Could you email me what all you’re putting in the various text fields of the UI?

    roy,

    That’s not a known bug. Are you using the WSIWYG editor?

    Annabanana,

    Do you mean a caption below the picture?

    Maggie,

    This happens when you’re creating the popup, inside the UI? It sounds like it might be a permissions or directory issue. Can you email me with more information?

    And thanks to all who are enjoying the plugin!

  97. Annabanana
    on November 29, 2006 at 3:39 pm | Permalink

    Stephen – yes, I’d like a caption below the thumbnaol picture when it is in the blog. I am sure I am just overlooking how to do this, but if you can tell me without much trouble to yourself, I’d love it!

  98. on December 7, 2006 at 2:38 pm | Permalink

    Hi Steve!

    I am receiving this error when trying to create thumbnail:

    “I couldn’t find the image file at //gablog/images/firepod/1.jpg to make a thumbnail from it”

    The path is correct. I tried also an absolute URL but in vain…

    Please help!
    thanks!
    Gabi.

  99. on December 11, 2006 at 9:46 am | Permalink

    I was wondering if someone could help me add scrollbars to my popup image. Some of my images are larger then the screen and some of the picture is not accessible to view. Thanks, Jesse.

  100. on December 11, 2006 at 9:50 am | Permalink

    Gabriel,

    Could you email me with more details? I’d like a link to your blog and a list of what all you’re entering in the fields to create the thumbnail.

    Jesse,

    For now you’ll need to edit popup-images.php. Around line 198 of that file is the string “scrollbars=no”. If you change that to “scrollbars=yes” then you’ll add scrollbars to all of your images.

  101. on December 14, 2006 at 5:28 pm | Permalink

    Stephen,

    thanks for the help… I sent an email also…

    This is what I enter:

    IMage Title: Some title
    URL to image: http://www.gabtone.com/gablog/1.jpg
    URL to thumbnail: (none – wasn’t sure what URL to enter here)
    Thumbnail width: 250

    When I hit “Generate thumbnail” I get:
    “I couldn’t find the image file at //www.gabtone.com/gablog/1.jpg to make a thumbnail from it”

    …whichs is false since if you paste that URL you will find that it is a valid path to an image…

    Thanks!

  102. on January 4, 2007 at 10:24 am | Permalink

    Gabriel, you might try and add the “http://” in front of the url of your picture.

    If you paste //www.something.com it’s not gonna work.

    Great plugin by the way !

  103. on January 10, 2007 at 7:30 am | Permalink

    Hello! your plugin is very useful for me.

    Just 1 question: How can I set the options so that “The resulting popup window can, if you like, vanish the moment the user clicks away from it”. Or, can it be setup that if the visitor click the popup a second time, it then dispears?

    Regards,
    Bernard

  104. on January 10, 2007 at 9:50 am | Permalink

    I don’t know of a good way to do the two-click thing, Bernard, but making it vanish with one click if you click away from it is an option that you set when you create the link. If you press the Popup button when writing your post, a window will appear for you to enter your information. At the bottom is an option, “What should happen when the user clicks away from the image?” Set that to “The window goes away” and you’re good to go.

  105. on January 10, 2007 at 12:11 pm | Permalink

    I was wondering if there is a way to add the scroll bars to the popup window. This would help eliminate not being able to view the whole image on a screen whos resolution is less then the popup.

    Thanks,
    Jesse

  106. on January 28, 2007 at 5:20 am | Permalink

    Stephen, I have been using your plugin for a while and it’s great, thank you.

    But a small problem has come up. I have updated to the latest wordpress and the latest version of your plugin. The problem is that the popup button doesn’t appear when I want write a new post, it does however appear when I want to write a new page or if I edit a post. This is the case in both Firefox and Safari. What I do at the moment when adding a new post is to just enter a title, post it then edit it and continue from there.

    If you have any advice on fixing this it would be great.

    good morning, by the way.

    simon

  107. on January 28, 2007 at 12:43 pm | Permalink

    hello,

    will you make update for your plugin for wp 2.1?

  108. on January 30, 2007 at 7:42 am | Permalink

    I’m planning on updating it to 2.1, but I haven’t upgraded this blog yet and so haven’t had a chance to fix the plugin. The only issue I’ve heard so far is that the popup button doesn’t appear when you’re writing a post — can you confirm that?

  109. on January 30, 2007 at 8:43 am | Permalink

    yes, thats the problem.
    my work around is: to write page as you would write a post, than just copy everything and paste it to new post window.
    anyway, if you’ll fix it – it would be great.
    thanks a lot.

  110. on January 31, 2007 at 3:13 am | Permalink

    There is another problem with it, if you need to update a post that already has a popup image it will remove half the code for that image and you will need to remove the rest and re-enter it all again.

    I have a feeling this is because the edit page like the write new post page opens in Visual mode and not Code mode, that’s in Firefox. Safari only gives you one mode choice. but I’m not sure about that.

    Still a great plugin though,

    simon

  111. on January 31, 2007 at 3:13 am | Permalink

    There is another problem with it, if you need to update a post that already has a popup image it will remove half the code for that image and you will need to remove the rest and re-enter it all again.

    I have a feeling this is because the edit page like the write new post page opens in Visual mode and not Code mode, that’s in Firefox. Safari only gives you one mode choice. but I’m not sure about that.

    Still a great plugin though,

    simon

  112. on January 31, 2007 at 3:43 am | Permalink

    yes, if you using visual mode editor – you will lose details about picture and thumbnail (height, width). its better not use visual mode editor because of that. :-)

  113. on January 31, 2007 at 7:51 am | Permalink

    Whoa, really? That’s new to me. I’m guessing the visual editor doesn’t like the pseudo-HTML element and trims things off of it. I need to find good instructions about how to interface with the visual editor and fix the plugin.

  114. on January 31, 2007 at 6:43 pm | Permalink

    Hi Stephen,

    I like the idea of your plugin but I can’t seem to get it to work.

    Even using absolute URLs in the popim code, and entering image size by hand, I get an error message telling me that the main image can’t be found. The thing is, the error tells me that Popup Images is trying to find my pic in the directory where the plugin resides, rather than where I have directed it.

    I should explain – I am using a different small pic for the ‘thumbnail’ which I figure shouldn’t matter. Popup Images actually finds the ‘thumbnail’ but not the main image.

    This is how my code looks:

    Any help appreciated.

  115. on January 31, 2007 at 6:44 pm | Permalink

    oops…

    code is stripped from the comments…

    not sure how to defeat that… trying:

    popim imageURL=’http://www.perpetualocean.com/tetherdcow/cowimage/watchingcatposter.jpg’ title=’Eeeeeeeeeek!’ thumbnailURL=’http://www.perpetualocean.com/tetherdcow/cowimage/questionmark.jpg’ imageWidth=’350′ imageHeight=’494′ thumbWidth=’20′ thumbHeight=’20′

  116. on February 2, 2007 at 1:35 pm | Permalink

    Hello Stephen,
    I like your plugin. Please when you update your plugin to be compatible with WP 2.1 post new article so I can see it in my feeds and then upgrade to 2.1 (I`m waiting your Plugin to upgrade :) )

  117. on February 12, 2007 at 4:12 pm | Permalink

    More post-WP 2.1 update woes here. After upgrading to 2.1 the following error appears in a popup window when I click the Popup button:

    Fatal error: Cannot redeclare get_locale() (previously declared in /home/.marcella/cubelodyte/cubelodyte.com/wp-includes/l10n.php:3) in /home/.marcella/cubelodyte/cubelodyte.com/wp-includes/wp-l10n.php on line 8

    Has anybody else reported this behavior?

  118. Derek
    on February 12, 2007 at 9:12 pm | Permalink

    Using 2.1, nothing happens when I install this plugin. There is no option to upload images when writing posts/pages.

  119. on February 13, 2007 at 1:29 am | Permalink

    So?!!!
    when is the update?
    I`m only waiting this plugin to be updated to update to 2.1!!!
    If it`ll take more than 20 days please tell us!

  120. on February 13, 2007 at 3:37 pm | Permalink

    Cubelodyte, that’s new to me. I’ll see if I can track it down as I convert the plugin to WP 2.1.

    Derek, that’s a known UI issue that I’ll be working on.

    Enblogopedia, I am working on it, but it’s something I can do only in my spare time. If you’d like to hire me to convert it, of course, I would be pleased to go faster.

  121. on February 14, 2007 at 1:29 pm | Permalink

    Simple Popup Images plugin has now been updated to work with WordPress 2.1. As part of the update, the plugin now plays nice with the WP 2.1 rich visual editor. Try it out and let me know if it works.

  122. kay
    on February 20, 2007 at 5:22 am | Permalink

    i am not able install the latest version 0.7 into wordpress 2.1, when i activate it, it says:

    Warning: strpos() [function.strpos]: Empty delimiter. in /mnt/w0513/d46/s00/b028a77f/www/galleseum.com/wp-content/plugins/popup-images/popup-images.php on line 270

    Warning: Cannot modify header information – headers already sent by (output started at /mnt/w0513/d46/s00/b028a77f/www/galleseum.com/wp-content/plugins/popup-images/popup-images.php:270) in /mnt/w0513/d46/s00/b028a77f/www/galleseum.com/wp-includes/pluggable.php on line 275

  123. on February 21, 2007 at 12:36 pm | Permalink

    Are you comfortable opening popup-images.php in a text editor? If so, try going to line 270,

    if (($i = strpos($popim_abspath, $popim_url_path)) === FALSE) {

    and changing it to

    if (empty($popim_url_path) || ($i = strpos($popim_abspath, $popim_url_path)) === FALSE) {

    The part in bold is what needs to be added.

  124. kay
    on February 22, 2007 at 5:44 pm | Permalink

    okay, i get it installed.

    but when i click pop up in code, and key in the url information and generate a thumbnail. i can’t preview or insert, when i press on either button, the popup window just went blank :(

    when i tested it on my pc server, it was fine, when i tested on my real site, it went blank.

  125. on February 25, 2007 at 9:28 am | Permalink

    All good, my name is Sandrus Marcellus and tried to install plugin Popup in mine wordpress (www.sandrus.liveserver.com.br) but did not function, plugin appears in the bar but when I ask for to open the image I appear an error and it does not open real the so great image. Thanks a lot

  126. on February 27, 2007 at 11:23 pm | Permalink

    Buenas Noches,

    I tried to follow everything in the instructions and comments. I need your help!

    I get this when I click on the thumb:

    Page not found

    The page you are looking for might have been removed, had its name changed,
    …etc…

    HTTP 404 – File not found

    I worked on my options page and tried to get the correct paths. I feel like I’m close! You rock Stephen.

  127. on February 28, 2007 at 12:06 am | Permalink

    It’s working!!!!!!!!

    Great plugin thanks!!!!

  128. on February 28, 2007 at 7:23 am | Permalink

    Great pluging

    TX

  129. on February 28, 2007 at 10:03 am | Permalink

    Rafael, glad you got it working! What had gone wrong?

    kay, Sandrus, I’ve sent you email asking for more information.

  130. Brad
    on March 7, 2007 at 2:23 pm | Permalink

    could you take a look at my site and let me know real quick how to get the image to open in a completely new browser, and do so without having to code the inserted image into my site ..

    my test server is here.

    http://www.refreshingideas.net/WP/

    click on item #1.

    thanks for the plugin!

    GREAT WORK!

    Brad

  131. on March 27, 2007 at 3:47 pm | Permalink

    Thanks for the download. John :-)

  132. on April 24, 2007 at 12:42 am | Permalink

    I’ve been trying to find some gallery plugin since I insert a lot of images in my project posts. Nothing gave me exactly what I wanted, or I always had to copy and paste some kind of code around the img tag. Finally, I found something that does all that for me — AND (I find this absolutely awesome) has the image not only open in a new window, but one that disappears. Thank you so much, this is a godsend!

    Oh, btw, the links on this page to download didn’t work for me, I had to get it from WordPress Plugin Database.

  133. on April 24, 2007 at 4:06 pm | Permalink

    I’m having the same problems that others have posted, namely the thumbnail I can view fine but the full size image I just get a file not found error.

    tried all sorts, changing the popup.php path in options, using relative and absolute URL addresses, nothing works!

    Shame because it would do what I need!

    Regards

    Gary

  134. on April 24, 2007 at 10:45 pm | Permalink

    Amanda, thanks! I’m glad it’s been useful for you. And I’ve fixed the download problem on this page — thanks for pointing it out.

    Gary, I’ll respond in email and see if we can work out the problem.

  135. on April 24, 2007 at 11:37 pm | Permalink

    Stephen – is there a way to have an option in the plug-in where a link opens to the image in this pop-up self-closing window, instead of using a thumbnail? I tried removing the thumbnail src in hopes that the default would use the title as a link, but no luck.

  136. Marceia
    on April 27, 2007 at 9:10 pm | Permalink

    I love the possibilities of this plugin! However, I can’t get it to work properly. the thumbnail will showup just fine, but when you click on the thumbnail, you get a 404 error for the full size pic. I have tried manually inserting the code, but no luck. also, the script will not generate thumbnails. when you click GENERATE – the page just goes blank. any suggestions?

  137. Marceia
    on April 27, 2007 at 9:15 pm | Permalink

    sorry, didn’t read up high enough. here’s the answer:

    Add by hand all image sizes, put your popup.php in root dir, delete path to popup from options.

  138. on May 2, 2007 at 7:15 am | Permalink

    Excellent plugin. Exactly what I was looking for. :) Nice work

  139. on May 5, 2007 at 10:20 am | Permalink

    This is EXACTLY what I was looking for about two years ago! I want it… will it work on WordPress 1.5.X? Please let me know!

  140. on May 5, 2007 at 11:28 am | Permalink

    mp3ler, I don’t actually know. I’ve never had a WP 1.5 install, or known anyone who did who could test this out. If you do try it, please let me know if it works or not.

  141. Marceia
    on May 5, 2007 at 9:11 pm | Permalink

    Everything is working great! (inserting and popping up) One question – the popup pic doesn’t give the user an option to scroll because it’s too large to fit in the new window. here is the code:

    is there anything I can do? the full size pic is the PERFECT size, I just need it to scroll so the user can see the whole thing. thanks!

  142. Marceia
    on May 5, 2007 at 9:13 pm | Permalink

    pooh, the code doesn’t appear to be showing up in my previous post. Here’s the link to the page –

    http://garden-ideas.completesources.com/

    pic is down at the bottom…

  143. Marceia
    on May 6, 2007 at 11:30 am | Permalink

    ok, it took some looking, but my problem is a simple code fix. to resize the popup windows and have a scroll bar, edit the plugin code for the following:

    do a CTRL-F for “scrollbar” and change to scrollbars=yes also change “resizable” to resizable=yes

    that will fix the image so that you can see the whole thing should the fullsize image be too large for the standard popup.

    this is an AWESOME tool! thanks for making it!!

  144. on May 6, 2007 at 2:06 pm | Permalink

    Glad it worked for you Marceia, and that you found the workaround before I even mailed you.

  145. on May 10, 2007 at 1:07 pm | Permalink

    Hi Stephen,

    nice neat plugin you wrote. It does however miss one tiny little option. :P

    I’d like to link the popup image to text in my post instead of a thumbnail, can that be done? :)

  146. Brad
    on May 10, 2007 at 7:04 pm | Permalink

    Stephen,

    Could you possibly suggest what is going on with the plugin?

    http://www.refreshingideas.net/lauramode/?page_id=4

    I get the following error:
    [Simple Popup Images unable to add image: missing parameters.]

  147. on May 10, 2007 at 11:40 pm | Permalink

    Erwin and Brad: Please note that Stephen and his wife just welcomed their second child into the world, so he’s probably going to be a few days before he gets back to you. :)

  148. on May 11, 2007 at 2:04 am | Permalink

    Oooh, awesome! Shifting priorities from plugin to kid and sleep-whenever-possible. :P

    Grats on the kid and I’m certainly in no rush. :)

  149. Brad
    on May 11, 2007 at 11:29 am | Permalink

    Definitely CONGRATS!!

    I know the feeling. My wife and I just welcomed our 1st into the world ….

    If anyone can be of help that would be grat .. else I will look at other options until he is back at it.

    Thanks for the information Geof.

    Brad

  150. on May 22, 2007 at 8:08 pm | Permalink

    I’m really not getting the URL thing in the options window. Does local mean on my machine or on the server where my website is located? I moved the PHP to the root directory and finally got the popup tab on the tool bar. Beyond that, I’m not have any success. Hope you can clarify this – maybe send me an actual sample URL for the export line so I can see what’s happening. thanks for your help.

  151. maeror
    on June 20, 2007 at 6:36 am | Permalink

    Hi,
    I like your plugin – it looks very simply but it just does what I need. But… when I try to use it (under WP 2.2) and click on the image, it opens new window without an image, there is only piece of code inside ”. Do you have any idea what’s wrong?

  152. on June 21, 2007 at 5:29 pm | Permalink

    Excellent plugin. Congratulations :)

  153. Tom
    on June 26, 2007 at 10:51 pm | Permalink

    Stephen, one suggestion.

    Would it be possible to implement a mouse-over popup function?

    Instead of clicking the image to popup the image in a new window, make it so that when you mouseover an image it shows the original image. Might have to use javascript or something.

    Or make the popup thingy AJAX so when you click the image, the image rolls up/down to show in original image size.

    Just my 2 cents.

  154. on June 29, 2007 at 11:24 pm | Permalink

    Stephen and the Mrs congrats on your new bundle of joy. I’m just letting you know I added a link here to your blog in the download section of bloggertalk.net

  155. on July 1, 2007 at 8:34 pm | Permalink

    Looks like a beautifully simple plugin! But I can’t get a “Popup” button to the quicktags bar, either in Rich text or code editor. I’m using WP 2.2, activated the plugin, moved the popup.php to the root directory. But no button – has anyone solved this problem? Is this plugin compatible with WP 2.2?

  156. on July 2, 2007 at 6:14 pm | Permalink

    I have wordpress 2.1.2 and installed the plugin as stated. However, everytime I try to insert and image I get this message:

    [Simple Popup Images unable to find image size for B&B at either 'http://www.thebaybridged.com/images/birds/birds_0.jpg' or '/var/www/vhosts/thebaybridged.com/httpdocs/www.thebaybridged.com/images/birds/birds_0.jpg' ]

    Now the hard link is right and there is an image. I can copy paste that into the browser and get the image. The path however is inserted correctly, but comes out wrong.

    Either way, I can’t this to work. Is there something I’m missing? I’ve got all of the paths right in the options tab.

    Thanks!

  157. on July 3, 2007 at 9:31 am | Permalink

    Tom, there’s a plugin that uses the Ajax Lightbox scripts to do just that.

    Rose, thanks!

    Paul S., if you’re using the visual editor under WP 2.2, the button only appears in the code version of the editor. There’s a tab to select it above the edit box where you type your entry.

    Christian, It sounds like your host may not have all of the PHP libraries installed to do graphics work. I’ll follow up in email and see if we can figure out what’s going on.

  158. on July 5, 2007 at 2:44 am | Permalink

    Thanks for the reply. Checked for a button above the code edit box, but there is no popup plugin button anywhere to be seen. I also tested this in 2.2.1, on a completely different wordpress installation (but on the same server/host – Bluehost), with no success.
    I’m also having problems with other image plugins not functioning completely (other non-image plugins have worked ok). I suspect that I have a setting or permission to change somewhere, either on server or WP dashboard. Any suggestions on what I could try would be welcome. Thanks, Paul.

  159. Paul S
    on July 5, 2007 at 3:28 am | Permalink

    Spoke a little too soon! I’ve got the quick tag button!

    But it only appears when creating a new page or post – not when I want to edit an existing page. As I have mainly pages, it took me a while to realize this.

    I’ll give it a go.

  160. Thomas
    on July 14, 2007 at 7:29 am | Permalink

    Hi, great plugin but i’ve some problem with the popup images. Any popup image that is not in homepage (i mean in previous pages, article page etc.) returns a 404 error.
    The address of image is correct and verified.
    I use WP 2.2 without RTE.
    How can it be fixed?
    Thank You

  161. on August 10, 2007 at 10:39 am | Permalink

    This plugin RULES!

    Thanks man..

    Regrets from Chile.

    :)

  162. on August 16, 2007 at 3:10 am | Permalink

    Thank you for this rules plugin. Good luck!!!

  163. on August 21, 2007 at 7:34 am | Permalink

    Thanks for the plugin!

    I have a slight bug, perhaps more of an oversight, you probably wouldn’t expext people to use you plurin as I do… ;)
    I recently started to publish translation of a renaissance treatise on my WP pages and I use your plugin to put the original images in the text. Everythink works fine, but I sometimes the original pictures are bigger than my screen resolution – popup window is then too small for them. And since there is no way to scroll or resize the window (at least I didn’t find any under Firefox), sometimes there is lower end just missing… any help? ;)

  164. on August 21, 2007 at 8:27 am | Permalink

    I’ve been meaning to add a scrollbar option to the plugin for a while, so I’ve now done just that. Version 0.9 lets you specify whether the popup window will have scrollbars or not.

  165. on August 21, 2007 at 9:08 am | Permalink

    Great! Thanks a lot ;)

  166. Mike
    on September 2, 2007 at 8:56 pm | Permalink

    Great plugin, just installed it on our site.

    Question/possible modification: If I wanted to expand the pop up window by 25% in both directions, and insert some code to rotate an ad banner, is that something that could be easily done? Or, as I assume, does the code automatically calculate the size of the pop up needed, based on the full size image?

  167. on September 3, 2007 at 1:55 pm | Permalink

    Hi Stephen!

    I was looking my error logs and check this out:

    PHP Notice: Undefined index: persistent in /home/admin/mydomain/wp-content/plugins/popup-images/popup.php on line 8

    What is that?? my site works fine, but im pretty worried about this..

    Any help? :)

    Thanks!

  168. on September 3, 2007 at 9:45 pm | Permalink

    Hello, thank Yuo for really useful plug-in!

    But I have the same problem with Paul S (#comment-50624).

    Button only appears when creating a new page or post – not when edit an existing page.

    Is there a solution for this?

  169. on September 6, 2007 at 9:35 am | Permalink

    I’m also having issues with aligning of images. The plugin works, and works great, I just can’t get the image to aling left/right, so I can wrap text around it.

    Has this ever been resolved? And if so, can someone pass the information along to me, so I can fix my issues, as well?

    Thanks.

  170. on September 7, 2007 at 8:56 am | Permalink

    Mike,

    You’d need to rewrite parts of the plugin (specifically, the part that creates the HTML) to make that possible. It’s doable, just beyond the scope of the plugin as it exists.

    leonardo,

    It looks like that happens when you don’t have the “persistent” option turned on. It shouldn’t be a problem.

    Zyama,

    I haven’t yet had time to figure out why that’s happening. I’ll look into it.

    Mike,

    The popim tag should just turn into a link tag and an image tag. You can wrap any CSS-styled HTML around the popim tag to get the picture to align left or right.

  171. on September 18, 2007 at 12:59 pm | Permalink

    Recomiendo para subir imagenes gratis y compartirlas en internet a la pagina PixaBox en http://www.pixabox.com
    saludos

  172. on October 10, 2007 at 1:48 pm | Permalink

    I’ve been trying to get this to work and still having issues with the plugin. Main issue is that when I click on PREVIEW IMAGE to get the Popup Image Code (as INSERT doesn’t work and I have to manually cut/paste the info) I get nothing but zeros for the image width and height. I have to manually enter them each time which is very tedious. I’m currently using WordPress 2.1.3. Any idea why this is happening? I see others had similar issues but nothing I’ve tried has fixed this. Thank you!

  173. on October 18, 2007 at 7:06 am | Permalink

    Any idea to do a frame of the thumb?

    Thanks!

  174. on October 25, 2007 at 2:50 pm | Permalink

    hello,

    How can i change popup window position? I want is will apear 20 from left and 20 from top….

    Please help.

  175. on October 25, 2007 at 3:30 pm | Permalink

    Brian, I’ve not been able to reproduce your error, so I’m not sure what’s going on.

    Leonardo, what do you mean by a frame?

    Antonio, you’ll have to edit the javascript code that the plugin generates, and that’s going to involve editing the main popup-images.php file.

  176. on October 26, 2007 at 2:45 am | Permalink

    Thanks for pointing me! Im not good in php, it was easy :) Just add in line 217 resizable=no,left=25,top=40,screenx=150,If somebody will need it too.

    Thank you very much Stephen.

  177. on November 25, 2007 at 3:45 am | Permalink

    I am trying to make this work on a new site and it works on the main page as a post, but for pages or for posts details (when you click the permalink), the path is added to the popup window’s URL and, of course, the image is not displayed.

    I was wondering if there is something I need to change in my options or if there is some hack needed to the plugin itself? I thought I had everything set up properly, but when I click through to a post or if I have this popup coded into a “page” on the site, the full path of whatever (post or page) is being passed to the popup.

    Can you help? The site I am working on is http://www.seren-i-tees.com/

    Thanks for any feedback.

  178. on November 28, 2007 at 9:14 am | Permalink

    Shawn,

    Unfortunately, I don’t know what’s going on with your site, and don’t really have the time to figure it out. Can anyone else on the thread here help?

  179. on December 4, 2007 at 11:02 pm | Permalink

    It’s always something super simple.

    In case anyone experiences the same “problem” (I caused it), in the admin panel for the path to the popup page, I did not start that path with a “/”

    Great popup! :-)

  180. on December 14, 2007 at 8:45 pm | Permalink

    thanks so much for this great and easy to use tool!!!

  181. on January 7, 2008 at 5:00 pm | Permalink

    Thx for this plugin

  182. Jeromy
    on January 14, 2008 at 10:37 am | Permalink

    Zyama and Mike S. – I’ve fixed your problem. On line 344 of the popup-images.php, you’ll see this line:

    if (strpos($_SERVER['REQUEST_URI'], ‘post.php’) ||
    strpos($_SERVER['REQUEST_URI'], ‘post-new.php’) ||
    strpos($_SERVER['REQUEST_URI'], ‘page-new.php’) ||
    strpos($_SERVER['REQUEST_URI'], ‘bookmarklet.php’)) {

    Notice that page.php is not present in any of those calls, so just add this line anywhere:

    strpos($_SERVER['REQUEST_URI'], ‘page.php’) ||

    And you’re good to go. Stephen can you fix this for your next version?

  183. on January 14, 2008 at 12:30 pm | Permalink

    Oh, great catch. Thanks! I’ll roll that fix in and put out a new version.

  184. Rachel
    on February 8, 2008 at 3:05 pm | Permalink

    I also had some problems with “page not found” / 404 errors. IE displays the path to the image on the pop up and that gave me the clue to the problem: I had not specified the path to popup.php correctly. Playing around with that a bit, helped! It is important to start the path with a “/”…

    Thanks for the plugin! It works much better than the CSS I found somewhere else…

  185. on February 15, 2008 at 3:52 pm | Permalink

    Thx alot

  186. on February 16, 2008 at 4:47 pm | Permalink

    For those of you using this plugin, I’d suggest you take a look at replacing it with the WP FancyZoom plugin. It’s got a much niftier zoom function, one which I like better than other Javascript-based image popup scripts I’ve seen like Lightbox.

  187. on February 18, 2008 at 3:07 am | Permalink

    Thanks let me try.

  188. on March 8, 2008 at 2:49 pm | Permalink

    Thank u so much!

  189. on May 7, 2008 at 11:19 am | Permalink

    hi there .thanks for plugin:

    Does anybody know if tis script is compatible with WordPress 2.5.1 ?

    Thanks in advance for any help on this!

    best regards

  190. on May 24, 2008 at 2:04 pm | Permalink

    thank you

  191. on July 5, 2008 at 7:14 am | Permalink

    thankks so muchs

  192. on July 11, 2008 at 5:07 am | Permalink

    Excellent plugin. Congratulations :P

  193. on September 30, 2008 at 7:39 am | Permalink

    It breaks if you’ve got ViralInviter installed, which incedintly uses lightbox2! I’ve tried this on 3 sites, different versions of WordPress and different themes.. Breaks on all 3..

  194. on September 30, 2008 at 8:51 am | Permalink

    Are you talking about the Simple Popup Images plugin, or the FancyZoom plugin? The latter won’t play nicely with Lightbox, since they’re using similar javascript to make their magic happen.

  195. Unexploded
    on November 20, 2009 at 5:21 pm | Permalink

    You spelled GRENADE wrong…

  196. on November 20, 2009 at 6:02 pm | Permalink

    Not really. If you check our about page, you’ll see that “Granade” is how I spell my last name.

  197. on January 19, 2010 at 1:41 am | Permalink

    Have writing an essay assignment and don’t know the right way to move? Don’t worry, just because the buy paper service will aid you with the papers for sale very fast. Hence why not to utilize it?

  198. on March 6, 2010 at 10:34 pm | Permalink

    Thank You Admin

  199. on July 23, 2010 at 1:16 am | Permalink

    nice sharing, thanks for sharing.

32 Trackbacks

  1. By I Wrote a WordPress Plugin « Live Granades on July 31, 2006 at 7:14 pm

    [...] A while back I took Amy’s code for creating popup images and turned it into a little WordPress plugin. I’ve been cleaning up the code and making a more robust UI, and now I have released the Simple Popup Images plugin into the wild. Those of you with WordPress blogs and a need for popup photos and whatnot, enjoy. [...]

  2. [...]   Simple Popup Images,点击缩略图后弹出一个原图窗口,支持所见即所得编辑界面。 image popup [...]

  3. [...] WP Plugin: Simple Popup Images Add images to your WordPress blog posts with automatic thumbnail creation and simple popup windows. Easy installation. tagged Simple popup images, wordpress and wordpress plugin   Related Posts from the Past: [...]

  4. [...] Check it out at Live Granades [...]

  5. By Simple Popup Images · WordPress插件中文站 on August 1, 2006 at 7:00 pm

    [...] 插件页面: http://granades.com/simple-popup-images/ [...]

  6. By clores - philippine blog on August 1, 2006 at 10:39 pm

    [...] WP Plugin: Simple Popup Images Add images to your WordPress blog posts with automatic thumbnail creation and simple popup windows. Easy installation. [...]

  7. By Dustyhawk :: Broken Mirror » Popup Plugin on August 2, 2006 at 2:23 am

    [...] Testing plugin [...]

  8. By Open Up » Blog Archive » Flower Power… on August 2, 2006 at 6:26 am

    [...] Edited August 2, 2006 to add: The backwards, clumsy method I was using back then has been replaced by this nifty plugin. ^_^ [...]

  9. By links for 2006-08-02 - Online on August 2, 2006 at 6:22 pm

    [...] Plugin WP: Imagenes ampliadas en popup (tags: javascript plugin wordpress wp) [...]

  10. [...] Check it out at Live Granades [...]

  11. [...] About the Author: Stephen Granade is a physicist who likes lasers, software, and long walks in the moonlight. Live Granades – Like a blog, but explodier [...]

  12. [...] Simple Popup Images WordPress Plugin « Live Granades The Simple Popup Images plugin allows you to add pop-up images to your WordPress blog. You put a thumbnail image in your post; if a user clicks on it, a larger version appears in a separate window. (tags: wordpress plugin) [...]

  13. By newdisco » links for 2006-08-04 on August 5, 2006 at 11:11 am

    [...] Simple Popup Images WordPress Plugin « Live Granades Plugin para popups de imagenes para WordPress. Old School pero super util (tags: wordpress plugin plugins popup images photos webdesign) [...]

  14. [...] Egalement les suivants que je n’ai pas encore eu l’occasion de tester pour de bon, mais qui ont l’air de fonctionner : IImage Browser IImage Gallery Simple Popup Images [...]

  15. By Girl Under Glass - Thank Heaven for Little Boys on September 9, 2006 at 6:55 am

    [...] Don’t even bother to ask for pics, because I’m definitely not going there! My Mom can’t even get me to take preggie pics for her and the woman has known me all my life- obese or not. Instead, I’m posting a pic I took of myself last winter, when I was at my lowest weight (129 lbs.). I took that as a progress pic to show some friends/family how I was doing with the weight loss and post tummy tuck thing. I remember thinking I was still fat after originally seeing that image. Yeah, so I’m still a little full on the sides in that pic, but what I wouldn’t do for that flat tummy again! Plus I also wanted to test out this popup image plugin. [...]

  16. By KeetonVille » Untitled on September 10, 2006 at 3:31 pm

    [...] Simple Popup Images WordPress Plugin « Live Granades [...]

  17. [...] All images are now working properly! Stephen who created the simple-pop-up-images plugin was called for help and kindly responded and fixed it for us. Therefore we command you to visit his blog Share and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages. [...]

  18. By 插件 » Blog Archive » Simple Popup Images on November 7, 2006 at 7:27 pm

    [...] 插件页面: http://granades.com/simple-popup-images/ [...]

  19. By Simple Popup Images Wordpress Plugin » Hosting USA on January 28, 2007 at 1:37 am

    [...] Homepage: http://granades.com/simple-popup-images/    « |   [...]

  20. By Voglia di Terra » wordpress on February 27, 2007 at 4:47 pm

    [...] …è un ottimo arnese (tool) con una miriade di componenti da aggiungere (plug-in), per esempio quello che genera le miniature (thumbs) e apre le foto in una finestra a comparsa (pop-up) Naturalmente ci sono cose che non funzionano come dovrebbero. Per esempio il feed dei commenti è diventato irreperibile. Invece il contadino ha scoperto che il rich text editor (editor avanzato) si attiva levando il segno di spunta nella sezione profilo. [...]

  21. [...] more info and download…. [...]

  22. [...] Visit [...]

  23. [...] Simple Images Blogging Popup The Simple Popup Images plugin allows you to add pop-up images to your WordPress 2.0 or 2.1 blog. You put a thumbnail image in your post; if a user clicks on it, a larger version appears in a separate window. Want to see it in action? Simple Images [...]

  24. [...] Visit [...]

  25. [...] na dodatkowej warstwie Enlarger – powiększa miniatury w ramach strony, na której są wyświetlane Simple Popup Images – otwiera miniaturę w nowym oknie [...]

  26. By Simple Popup Images_Wordpress plugin on January 22, 2008 at 4:55 am

    [...] Plugin Homepage [...]

  27. [...] Simple Popup Images WordPress Plugin [...]

  28. [...] links them to the post the viewer is reading. It helps get people to other pages on your site. Simple Pop Up Images – By default WordPress’ handling of images clicked to enlarge, is ugly. This plugin allows [...]

  29. [...] Simple Popup Images [...]

  30. [...] Simple Popup Images WordPress Plugin [...]

  31. [...] Simple Popup Images [...]

  32. By Simple Popup Images Wordpress Plugin | Live Granades on November 13, 2009 at 2:02 pm

    [...] original post here: Simple Popup Images WordPress Plugin | Live Granades Comments0 Leave a Reply Click here to cancel [...]

Post a Comment

Comments are moderated according to our moderation policy. Sometimes comments are delayed by our spam filter. We try to release them as soon as possible.

Your email is never published nor shared. Required fields are marked *

*
*