Page 1 of 1

single picture in header

PostPosted: Sun Nov 29, 2009 7:57 pm
by hilli
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. :(

Re: single picture in header

PostPosted: Sun Nov 29, 2009 8:22 pm
by alangrant
- 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...

Re: single picture in header

PostPosted: Sun Nov 29, 2009 8:30 pm
by hilli
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!

Re: single picture in header

PostPosted: Mon Nov 30, 2009 10:43 am
by alangrant
You're welcome, glad to see you have it working now!

Re: single picture in header

PostPosted: Sat Dec 26, 2009 5:45 pm
by anuschka
: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.

Re: single picture in header

PostPosted: Sun Dec 27, 2009 10:45 pm
by lighthawk
Thanks AlanGrant! It worked for me too.

Re: single picture in header

PostPosted: Tue Mar 02, 2010 7:14 pm
by monflores
thanks for asking guys and big thanks for unselfishly sharing Alan!

Re: single picture in header

PostPosted: Wed Mar 10, 2010 7:24 pm
by photoman
Thanks guys! Finally figured out how to do this and make decent looking pages :D http://www.pbase.com/photoman

Tom