• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 313
  • Last Modified:

Why the image that is used in html is not shown in linux, but in windows it is OK?

Hi,

I invoke the below path to show an image in a table field. The image is located in the same folder of my .cgi file in a linux folder.

I am trying to open the client file .cgi file from my browser, and all data is shown unless the image in a table field is not shown.

The code is: <td><a href="#"> <img src="configuration.png"></a></td>

How to resolve such a problem?


Nabil
 
0
nabilhammoud
Asked:
nabilhammoud
  • 5
  • 4
1 Solution
 
upanwarCommented:
Linux is case sensitive, while windows ignore the case so please check the name properly and make the changes accordingly in html file. It will work.
0
 
nabilhammoudAuthor Commented:
I am using as lower case letter ...
0
 
upanwarCommented:
Could pls show me ls -la for your image file.

# ls -la <image file name>
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
nabilhammoudAuthor Commented:
-rw-r--r--  1 router router 2760 Apr 20 8:41 configuration.png
0
 
upanwarCommented:
Everyone have read permission so that is also not an issue.
0
 
upanwarCommented:
If you are putting plain text instead of image name then is it visible or that is also having same issue.
0
 
nabilhammoudAuthor Commented:
Test is visible.
0
 
upanwarCommented:
Could you please show directory listing of that directory where you have kept your image file and cgi script in which you are calling the image.

# ls -la

Since the text is visible so it should not be a HTML tags issue, We have to figure out what is wrong with the environment.
0
 
nabilhammoudAuthor Commented:
It works under sftp.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now