Help - Search - Members - Calendar
Full Version: image problem
User Forums > Ultimate Locator v1 - v2.5 Support > General Support
mattboyhotrod
Hey guys,

Sorry to ask another silly question, but I'm having trouble getting either of my images for the header, and footer to show up. If I test the file on my HD, it works fine, but it's not working on my server for some reason. Even if I put the images in the same directory as the template.htm files.

Any ideas?

url is: www.powermastermotorsports.com

Thanks so much,

Matt
Brian
It has to do with your html links...

your template currently has:

src="dealerheader.jpg"

try changing it to the full URL of the image:

src="http://www.powermastermotorsports.com/locator/templates/dealerheader.jpg" if your images are in your templates folder

if your images are in your templates/images folder, then try using:

src="http://www.powermastermotorsports.com/locator/templates/images/dealerheader.jpg"
mattboyhotrod
QUOTE(Brian @ Dec 18 2006, 04:10 PM) *
It has to do with your html links...

your template currently has:

src="dealerheader.jpg"

try changing it to the full URL of the image:

src="http://www.powermastermotorsports.com/locator/templates/dealerheader.jpg" if your images are in your templates folder

if your images are in your templates/images folder, then try using:

src="http://www.powermastermotorsports.com/locator/templates/images/dealerheader.jpg"


Thanks Brian, that worked like a charm. I didn't figure it needed the full path. Figured being in the same directory it would have at least found the image files...oh well so much for figuring.

Appreciate the help so much.

Matt
Brian
You're thinking correctly, about the location of the images, However, you'll have to remember that the templates are not in the same location as the php files. Therefore, if you didn't want to use complete urls, you would have to use relative URLs and account for the back direction. Such as src="../path/to/image".
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.