Board index PBase HTML and Style Sheets single picture in header

HTML and Style Sheets

single picture in header

Customize your galleries.
hilli
 
Posts: 4

single picture in header

Post Sun Nov 29, 2009 7:57 pm


I'm asking the same old questions after reading and trying to learn and scouring the web for examples of CSS editing for three days now. I'm nowhere. I want a plain old banner picture ( made in photoshop )as my header on the page, but nowhere does it tell you where the picture has to be in order for you to add it. Does it have to be in an existing folder? when 'descripton section' of your gallery page is mentioned is it actually in your profile page or is it in the CSS? for the life of me I cant make it work. I keep getting text only.

I found some website lists of people's examples that somebody made, but I cant even find those again., I even tried adding the slideshow feature, and got nothing but text.. my html is checked, i named the gallery, nothing happens. it says to type it into your descripition. soooooooo - - - -

the basic instructions arent quite basic enough for me I'm afraid. :(

alangrant
 
Posts: 861

Re: single picture in header

Post Sun Nov 29, 2009 8:22 pm


- The image file can be in any of your galleries. If the image is only for use as a banner (i.e. it's not a normal photo), you could create a gallery just to hold it, and make that gallery non-public. That way the banner won't show up among your normal thumbnails.
- The "description" section is just that: edit the gallery where you want the banner to appear (probably your root gallery), there is a big text box near the top called "description".
- Add the following code within the description: <p align="center"><img src="http://www.pbase.com/image/number.jpg"></p>, where "number" is the 8-digit number of the banner image, which you can see in the URL when you view the image page.
- This creates a direct link, so you'll need to have direct linking allowed (which it will be unless you specifically turned it off).
- Place a tick in the "html flag" check box below the description.
- Your profile page doesn't come into this at all.
- For a simple banner display you don't need to do anything with the CSS in your stylesheet.

That should do it, unless I forgot something...
Alan
Travel Photos - http://www.pbase.com/alangrant
Balkanology: Explore Southeast Europe - http://www.balkanology.com/

hilli
 
Posts: 4

Re: single picture in header

Post Sun Nov 29, 2009 8:30 pm


THANKYOU!! :) For one thing I wasn't using the proper number. and perhaps not adding the '<p>'
I only had part of the code..
---and a special BIG thankyou for such a prompt reply! that took about five minutes! Its nice to know there is somebody out there!

alangrant
 
Posts: 861

Re: single picture in header

Post Mon Nov 30, 2009 10:43 am


You're welcome, glad to see you have it working now!
Alan
Travel Photos - http://www.pbase.com/alangrant
Balkanology: Explore Southeast Europe - http://www.balkanology.com/

anuschka
 
Posts: 6

Re: single picture in header

Post Sat Dec 26, 2009 5:45 pm


:D Finally, because of this litlle thread, I have it working now too...had direct linking disabled, that 's why it never worked with me.
Thanks for asking again and for the clear answer.

lighthawk
 
Posts: 7

Re: single picture in header

Post Sun Dec 27, 2009 10:45 pm


Thanks AlanGrant! It worked for me too.

monflores
 
Posts: 4

Re: single picture in header

Post Tue Mar 02, 2010 7:14 pm


thanks for asking guys and big thanks for unselfishly sharing Alan!

photoman
 
Posts: 1

Re: single picture in header

Post Wed Mar 10, 2010 7:24 pm


Thanks guys! Finally figured out how to do this and make decent looking pages :D http://www.pbase.com/photoman

Tom


Board index PBase HTML and Style Sheets single picture in header

Who is online

Users browsing this forum: No registered users and 1 guest

cron