PopupImageGD2 is a Nucleus plugin that automatically generates popup thumbnails using the GD Image Library which is installed on nearly every account with PHP support.
Based on Till Gerken's NP_PopupImage plugin, Roberto Bolli's NetPBM hack of same, and Christian Heilmann's thumbnail generator from "How to create thumbnails with PHP and gd".
This plugin works like the original PopupImage plugin: it creates inline images with an automatically generated thumbnail and a popup link to the full version. Thumbnails will automatically be stored in the media directory of your blog. If deleted, they will be regenerated the next time somebody tries to look at an item containing an image. You can force an update of your thumbnails simply deleting them.
| General Plugin info | |
|---|---|
| Author: | Eoin Dubsky |
| Current Version: | 0.40 |
| Download: | np_popupimagegd2_v040.zip |
| Code: | code |
| Demo: | - |
| Forum Thread: | Forum Thread |
Requires the GD library. It will automatically work with GD version 2 or better.
If you have an older version of GD (like one which still creates GIFs), you'll need to change “ImageCreateTrueColor” to “ImageCreate” and “ImageCopyResampled” to “ImageCopyResized”.
You have two posiibilities:
Then upload the file to yoursite.com/nucleus/plugins. Go to the plugin overview page from the admin area and edit the plugin options. Finally, edit your templates as described under 'How it works'.
Upload the file in the normal way. Before you choose the file entry for the image you should switch from inline to popup. Otherwise you have to change the tag <%image()%> to <%popup()%> manually.
Add an alignment as shown beneath.
Examples:
You can configure this plugin from the Nucleus plugin page. The automatically created thumbnails will be stored in the media directory of the blog and will be regenerated if they don't exist. So you can force them to be updated by simply deleting all thumbnails.
Released under the terms of the GPL. © 2004 by Eoin Dubsky eoin@free.fr
Based on:
:: Back to Plugins Overview ::