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
- Grab the latest version
- Put the entire plugin folder in your wp-content/plugins/ folder
- OPTIONAL: If you want, move the popup.php file somewhere else on your server
- Activate the plugin in your WordPress admin panel
- OPTIONAL: If you moved the popup.php file elsewhere, enter the file’s new directory in the plugin’s option page
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.
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.
- 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.
- New feature: popup windows can now have scrollbars.
- Fixed a bug involving WordPress installations that are at the root of the site’s directory structure
- Better handling of directories overall
- 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
- 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.
- 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.
- 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.
- 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.
- Now chmods thumbnails to be readable and writable by anyone
- Link tag now has the title attribute set
- First release
This is a plugin-ified version of Amy’s modified popup script. See? I told you I was doing something cool with it.