This plugin changes the standard behavior of Nucleus when dealing with images. Instead of separating between inline and popup images, this plugin creates inline images with an automatically generated thumbnail and a popup link to the full version. This behavior resembles most other blog systems.
| General Plugin info | |
|---|---|
| Author: | Till Gerken |
| Current Version: | 0.1 |
| Download: | - |
| Code: | popupimagecode |
| Demo: | - |
| Forum Thread: | - |
To use it, first make sure that you have ImageMagick installed. If you installed it in your path, you can leave the path field in the configuration empty. All thumbnails are prefixed with the string you need to enter in the “thumbnail prefix” field, for example the thumbnail for “mypicture.jpg” will be called “thumbnail_mypicture.jpg”.
Thumbnails will automatically be stored in the media directory of your blog. If you delete them, they will be regenerated the next time somebody tries to look at an item containing an image. If you want to force an update of your thumbnails because the original images changed, simply delete them.
To include an image in your post, choose it from the media selector and include it “inline”.
For the popup links to be rendered correctly, you need to change the following settings in your templates:
Popup Link Code:
<a href="<%rawpopuplink%>" onclick="<%popupcode%>">
Inline Image Code:
<%image%></a>
code available here, with a new bugfix that was found by CalebSGnn