Share

NanoBlogger

Tracker: Plugins

5 picture of the day plugin - ID: 1067609
Last Update: Comment added ( npfdd )

It's actually two plugins.
One that checks if there's a picture named "current.jpg" or
"current.png" in $BLOGDIR, moves it to $BLOGDIR/images/ and
creates a thumbnail in $BLOGDIR/images/small/.
And one that's called for every entry and creates some HTML code
to display the image in the var $NB_Picture.

It's highly "optimized" for my page atm, but changing the code
should not be too hard (if necessary, don't know how well it fits
into other pages). I'll make it more generic sometime. Promised. :)

You can take a look at the result at
http://cgi.ethz.ch/~scdaniel/weblog/index.php?
section=151&permalink=2004-06-25T20_57_22


Tested with nanoblogger 2.8.


npfdd ( npfdd ) - 2004-11-16 20:22

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2004-11-21 10:44
Sender: npfdd

Logged In: YES
user_id=1160477

Brian Reichert has written a small installation instruction article:
http://
rignesnet.tzo.com/archives/2004-11-20T11_13_11.html


Log in to comment.

Attached File ( 1 )

Filename Description Download
picture.tar.bz2 the two plugins Download

Change ( 1 )

Field Old Value Date By
File Added 109009: picture.tar.bz2 2004-11-16 20:22 npfdd