?
Solved

Image not there

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

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
Suggested Courses

764 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