CHANGES:
2009-03-22 Modified version for Switchy users (
http://www.pixelpost.org/forum/showt...5192#post65192)
2007-11-22 Version Check added
2006-12-22 Download file updated (I forgot to remove a debugging part -sorry)
Description:
SECRET IMAGE ADDON reveals a "secret" image by a simple mouseover. You can use this addon for showing the raw image before processing or to show any other image instead.

Installation:
Drop the admin_secret.php into addons folder.
Create two little grafic elements for the "secret" grafic (one for normal, one for highlight) and save them as .gif-files.
Upload new "secret" grafics in admin addons area
Use it:
Upload the secret image along when uploading a new image.
Edit the secret image in a submenu of image edit.
Adjustments: (optional)
Change the title of the secret grafic in admin_secret.php (line 2)
Switch off/on the JavaScript fade effect (line 3)
Change the values of the JavaScript fade effect (lines 4 and 5)
Prefix for secret image:
"o_" (Don't care about it unless you want to upload secret images with FTP.)
NEW TAGS (for use in image_template.html):
<ATTRIBUT_NAME> - Main image must have attribute "name" for the JavaScript working! Put this tag after <img src="images/<IMAGE_NAME>" !
<SECRET_LINK> - The Secret grafic with mouseover, place it wherever you want in the image_template.html
No changes to database are made.
Download Secret Image
The idea came from here:
http://movie.leova.com/index.php?x=secret
Thanks to
klimin_a_s for testing and for forcing me to the image size correction
You can look at the live action at
http://blog.uhlig.at
You like this addon?

have fun with it!
KArin