[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2011-04-20
9
Medium Priority
?
311 Views
Last Modified: 2013-12-25
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
Comment
Question by:nabilhammoud
  • 5
  • 4
9 Comments
 
LVL 12

Expert Comment

by:upanwar
ID: 35432693
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
 

Author Comment

by:nabilhammoud
ID: 35432815
I am using as lower case letter ...
0
 
LVL 12

Expert Comment

by:upanwar
ID: 35432852
Could pls show me ls -la for your image file.

# ls -la <image file name>
0
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!

 

Author Comment

by:nabilhammoud
ID: 35432926
-rw-r--r--  1 router router 2760 Apr 20 8:41 configuration.png
0
 
LVL 12

Expert Comment

by:upanwar
ID: 35433003
Everyone have read permission so that is also not an issue.
0
 
LVL 12

Expert Comment

by:upanwar
ID: 35433426
If you are putting plain text instead of image name then is it visible or that is also having same issue.
0
 

Author Comment

by:nabilhammoud
ID: 35438331
Test is visible.
0
 
LVL 12

Accepted Solution

by:
upanwar earned 750 total points
ID: 35442944
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
 

Author Closing Comment

by:nabilhammoud
ID: 35455282
It works under sftp.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses
Course of the Month18 days, 20 hours left to enroll

834 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