header to display different image based on posting.

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
periferral

header to display different image based on posting.

Post by periferral »

Hey guys,
This is a bit of a strange request. I am using the Joshua theme that has a header at the top of the page (like most themes). I have a background image that is related to my latest post. However, I when I click on an older blog, I would like the background to change to the image associated with that blog.
Is there a way to do this. Ideally I would like it to automatically change. I could rename the background image file to tb_<name of blog>.jpg so it automatically picks it up.
Any help is appreciated.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: header to display different image based on posting.

Post by garvinhicking »

What exactly do you mean with "click on an older blog"? Serendipity only supports a single blog...?

Do you mean you want different header images depending on each entry? How would you specify which image is shown?

This is all possible, I just need more information. :)

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/
ernst
Regular
Posts: 5
Joined: Wed Feb 15, 2006 7:18 pm

Post by ernst »

Same request - essentially: Where is the image that appears at the very top of the Joshua theme? It is not in the /templates/img/ directory - as the banner image for Joshya is.

If the background_color in body is altered, that image is very distinctive and you can see what I'm referring to.

Regards,

Ernst
ernst
Regular
Posts: 5
Joined: Wed Feb 15, 2006 7:18 pm

Post by ernst »

Found it ! - after two days. It's bodypg.png in the /templates/xxxx/img/ directory.

Now, I'll have to learn how a simple 'line' is expanded to a blown-up image as it appears in the Joshua theme.

Regards,

Ernst
Post Reply