image is not shown in web browser

Problems with the Linux version of XAMPP, questions, comments, and anything related.

image is not shown in web browser

Postby sabbir_pust02 » 24. April 2013 00:55

I am new ubuntu and recently I install 'xampp 1.8.1' on my ubuntu 12.10. My problem is that image from server can not be shown. My code is

my code is ::

Code: Select all
          <div class="sideBlock unSung">
         <h4>Unsung heroes...</h4>
         <a href="#"> <img src="_images/1_full.jpg" alt="Midnight Run" width="99" height="135" /> </a>

         <a href="#"><img src="_images/2d7y3ki.jpg" alt="Wyatt Earp" width="99" height="135" /></a>
      </div>
   


here, in my address bar I use
http://localhost/madeTemplet/basicTemplet/templet03.html

and I want to show image after Unsung heroes text but it only shown some link and not any image.

But when I use the following

file:///opt/lampp/htdocs/madeTemplet/basicTemplet/templet03.html

and images are shown after Unsung heroes text.

It works well in windows platform.

As a new user, I have very few knowledge about file permission, chmod, chown etc. I use ls -l in my terminal window in /opt/lampp/htdocs/madeTemplet/basicTemplet/_images directory, then some texts have come which is look like as below ::

Code: Select all
          sabbir@sabbir-pc:/opt/lampp/htdocs/madeTemplet/basicTemplet/_images$ ls -l
          total 300
         -rw------- 1 sabbir sabbir 204067 Feb 24  2010 1_full.jpg
         -rw------- 1 sabbir sabbir  75789 Nov 13  2009 2d7y3ki.jpg
         -rw------- 1 sabbir sabbir  23692 Apr 21  2010 6AB32AE44600435B9DE0FB5EBA24A912.gif
   


I also go to /opt/lampp/etc/httpd.config for finding EnableMMAP off and EnableSendfile off which is already # off. What can I do now ?
sabbir_pust02
 
Posts: 1
Joined: 24. April 2013 00:37
Operating System: ubuntu 12.10

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 25 guests