Solved

Image not there

Posted on 2016-10-22
4
66 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 110

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 110

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Find out what you should include to make the best professional email signature for your organization.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

726 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