PDA

View Full Version : header.png


nlphoto
11-04-2005, 01:12 AM
i'm having trouble getting this file to show up when viewing on the web.
i am working with the original Pepper template. i have altered the photoshop file. i save for web and upload and the header is not showing up. anyone have any insight?

thanks

blinking8s
11-04-2005, 03:35 AM
link?

nlphoto
11-04-2005, 12:52 PM
http://www.nicklavecchia.com/nlphotonews/

thanks

Joe[y]
11-04-2005, 03:17 PM
i see your header fine. i assume you found what was wrong.

nlphoto
11-04-2005, 03:19 PM
no. i haven't yet. it seems to work with the Sugar template, but when i change to Pepper i get the "?" where the header should be.

any ideas
thanks

nlphoto
11-04-2005, 03:20 PM
do you see a red background or grey?

Joe[y]
11-04-2005, 03:21 PM
"/nlphotonews/images/header.png was not found on this server."

apparently you have not yet uploaded your header image file to your server correctly.

nlphoto
11-04-2005, 03:26 PM
yeah....not sure how else to upload it. i've been putting it up in the folder with the other .png files. weird that the other template works but this doesn't
thanks for helping

Joe[y]
11-04-2005, 03:29 PM
as /images/ does not exist - perhaps you uploaded to a different folder... possibly withing the pepper template folder? in this case your url to the image source within your template <img> tag is not correct. find out where your image really is!

nlphoto
11-04-2005, 03:30 PM
i can see the header.png in the images folder, within the specific templates folder on my server. i've tried deleting and reuploading it.

Joe[y]
11-04-2005, 03:34 PM
well right now you are pointing to just /images/header.png

if it is in your template folder (assuming it is called 'pepper' it should point to /templates/pepper/header.png or /templates/pepper/images/header.png

nlphoto
11-04-2005, 03:36 PM
ok. so where do i change that? sorry for all the questions. not really good with this stuff
thanks

nlphoto
11-04-2005, 03:38 PM
when i just open the html docs ie "image_template.html"
it has the header in there.

nephoto
11-04-2005, 03:41 PM
This has nothing to do with the topic, I just find it humerous that there is a nlphoto on the board.

GeoS
11-04-2005, 03:41 PM
There should be:
http://www.nicklavecchia.com/nlphotonews/templates/your_template_name/header.png

Joe[y]
11-04-2005, 03:43 PM
you need to change the following line in your template html files... located within /templates/templatename/

<a href="index.php"><img src="images/header.png" width="600" border="0" /></a>

change it to:

<a href="index.php"><img src="templates/templatename/images/header.png" width="600" border="0" /></a>

then, through ftp upload your header.png to templates/templatename/images/

hope this helps.

nlphoto
11-04-2005, 03:53 PM
can i use text edit for that? sorry for all the questions
thanks

Joe[y]
11-04-2005, 03:53 PM
yes you can! just be sure to reupload through ftp. something simple like notepad is perfect for the job!

nlphoto
11-04-2005, 03:57 PM
please forgive my igonorance. how do i open these template files in Text Edit so i can read and edit the html?
as you can tell, i know nothing about web development
thanks for being patient

Joe[y]
11-04-2005, 04:13 PM
you shouldn't need to know anything about web development. simply open the html file as you would normally open a text file - html is really just plain text with a different file extension.

nlphoto
11-04-2005, 04:29 PM
well thanks for that. i figured out how to change those files...and i reuploaded everything. still no luck.
not sure what i'm doing wrong. just weird that the other template is working and i did the same thing.

nlphoto
11-04-2005, 04:40 PM
now when i just open the template.html files in Safari they aren't showing the header anymore. just the "?"
looks like i'm making it worse. sorry

nlphoto
11-04-2005, 04:48 PM
think i got it. THANKS a LOT

GeoS
11-04-2005, 06:09 PM
Yeap - now it works fine :D

Joe[y]
11-04-2005, 08:34 PM
cool. glad you got there