Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Image not there

Posted on 2016-10-22
4
Medium Priority
?
99 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 111

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 111

Accepted Solution

by:
Ray Paseur earned 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will learn how to count occurrences of each item in an array.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

598 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