random image in the right bar

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Guest

random image in the right bar

Post by Guest »

is there anyway to create a random image in the right bar? i use the coppermine photogallery and i want to add one of the picture.
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

If you want to add a specific picture you could use the html nugget plugin and just put an <img src=> tag in...

If you want to use a random image you might look at http://www.risingdawn.org/plugins/seren ... ermine.zip

From the s9y.org plugins webpage:
Coppermine Thumbnails Plugin [released on 2004-10-17] Display some random / recent / popular thumbnails from a Coppermine Photo Gallery in the sidebar.
By Matthew Maude
I don't use coppermine, so I have never used that plugin.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

A plugin like that is also in Spartacus/Additional Plugins. Something like serendipity_plugin_gallery_coppermine_random or sth like that

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
davecjr
Regular
Posts: 167
Joined: Fri Oct 29, 2004 3:09 pm
Contact:

Post by davecjr »

Would there be a way to have the coppermine plugin show up in the header of s9y with the pictures vertical instead of horizontal?! :shock: (just under the title)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I think that plugin just uses Coppermine output, so you'd have to configure that tool for vertical output.

Thanks to the plugin hooks of Serendipity you can execute any plugin anywhere in your Smarty template. For that please just look up our Smarty/Template documentation on www.s9y.org. The basic idea is to add some "{serendpity_showPlugin ...}" code into your index.tpl template, and set the gallery plugin in the plugin manager to "hidden" so that it doesn'T show up in the sidebar any more.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply