Menu

#2 picture of the day plugin

open
nobody
None
5
2004-11-16
2004-11-16
npfdd
No

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.

Discussion

  • npfdd

    npfdd - 2004-11-16

    the two plugins

     
  • npfdd

    npfdd - 2004-11-21

    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 post a comment.

MongoDB Logo MongoDB