Solved

Image not there

Posted on 2016-10-22
4
52 Views
Last Modified: 2016-10-22
I have an image on a webpage.  It's on the server.  When I load the page.  The image is not there.  Is it the path?  Any help appreciated.

<div class="row-body{$content_class}">
	<div class="body-content">
		<div class="nine columns" id="messages">
			<div class="page-container">
			<div class="page-content">
			<div class="page-header">{$header}</div>
				<div class="page-inner">
					<div class="row">
						<strong>News</strong><br />
						<br />
						Jessica Jarrell releases a new single!<br />
						<br />
						<img src="../../images/Jessica.png" width="500" height="500" alt="Jessica Jarrell" />
				  </div>
				</div>
			</div>
		</div>
		</div>
		<div class="three columns">
			<!--{$sidebar}-->
		</div>
	</div>
</div>

Open in new window


The site.  audiodigz.com
click on the news link on the home page...
0
Comment
Question by:DS928
  • 2
  • 2
4 Comments
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 41855519
Where is the image on the server?  IE, what is the fully qualified URL that lets you find the image?

Basically, the ../../ notation in the <img> tag is telling the file system to go up two directories, which would put it above the web root.  That doesn't seem to make sense to me.
0
 

Author Comment

by:DS928
ID: 41855531
Audiodigz/themes/custom/images/jessica.png   is the full line.
Pulled this from the server.
Name:
Jessica.png
Location:
/webroot/Audiodigz/themes/custom/images
Size:
393.5 KB
0
 
LVL 109

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 41855533
I think it would need to be relative to Audiodigz.com (not just Audiodigz).  Also, file path names are case-sensitive in Unix.  Is this the one you want?
http://audiodigz.com/themes/custom/images/Jessica.png

If so, you might try <img src="/themes/custom/images/Jessica.png" />
0
 

Author Closing Comment

by:DS928
ID: 41855537
Thank you Ray.  Both suggestions work!  Have a nice afternoon!
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to count occurrences of each item in an array.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question