473,396 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

impossible to display pictures in jpg, only png works

I've tried to display .jpg files or .GIF but it was impossible. Maybe there's a problem of DOCTYPE declaration?
I used HMTL 4.02 (Front Page).
Thank you for your help, i'm completly loosed and i'm also a very begginer in site construction.
Hereunder the html and css files:

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/></meta>
  5. <meta name="GENERATOR" content="Microsoft FrontPage 4.0"/></meta>
  6. <meta name="ProgId" content="FrontPage.Editor.Document"/></meta>
  7. <title>index</title>
  8. <link rel="stylesheet" type="text/css" href="css/photo.css"/></link>
  9. </head>
  10. <body>
  11.     <div id="gallery"/>
  12.         <em id="thumbs"/>
  13.             <a href="#nogo"/>
  14.                 <img src="images/imag1.jpg" />
  15.             </a>
  16.             <a href="#nogo"/>
  17.                 <img src="images/imag2.jpg" />
  18.             </a>
  19.             <a href="#nogo"/>
  20.                 <img src="images/imag3.jpg" />
  21.             </a>
  22.             <a href="#nogo"/>
  23.                 <img src="images/imag4.jpg" />
  24.             </a>
  25.             <a href="#nogo"/>
  26.                 <img src="images/imag5.jpg" />
  27.             </a>
  28.             <a href="#nogo"/>
  29.                 <img src="images/imag6.jpg" />
  30.             </a>
  31.             <a href="#nogo"/>
  32.                 <img src="images/imag7.jpg" />
  33.             </a>
  34.             <a href="#nogo"/>
  35.                 <img src="images/imag8.jpg" />
  36.             </a>
  37.             <a href="#nogo"/>
  38.                 <img src="images/imag9.jpg" />
  39.             </a>
  40.             <a href="#nogo"/>
  41.                 <img src="images/imag10.jpg" />
  42.             </a>
  43.             <a href="#nogo"/>
  44.                 <img src="images/imag11.jpg" />
  45.             </a>
  46.             <a href="#nogo"/>
  47.                 <img src="images/imag12.jpg" />
  48.             </a>
  49.             <a href="#nogo"/>
  50.                 <img src="images/imag13.jpg" />
  51.             </a>
  52.             <a href="#nogo"/>
  53.                 <img src="images/imag14.jpg" />
  54.             </a>
  55.             <a href="#nogo"/>
  56.                 <img src="images/imag15.jpg" />
  57.             </a>
  58.             <a href="#nogo"/>
  59.                 <img src="images/imag16.jpg" />
  60.             </a>
  61.             <a href="#nogo"/>
  62.                 <img src="images/imag17.jpg" />
  63.             </a>
  64.             <a href="#nogo"/>
  65.                 <img src="images/imag18.jpg" />
  66.             </a>    
  67.             <a href="#nogo"/>
  68.                 <img src="images/imag19.jpg" />
  69.             </a>
  70.             <a href="#nogo"/>
  71.                 <img src="images/imag20.jpg" />
  72.             </a>
  73.             <a href="#nogo"/>
  74.                 <img src="images/imag21.jpg" />
  75.             </a>
  76.             <a href="#nogo"/>
  77.                 <img src="images/imag22.jpg" />
  78.             </a>
  79.             <a href="#nogo"/>
  80.                 <img src="images/imag23.jpg" />
  81.             </a>    
  82.             <a href="#nogo"/>
  83.                 <img src="images/imag24.jpg" />
  84.             </a>    
  85.             <a href="#nogo"/>
  86.                 <img src="images/imag25.jpg" />
  87.             </a>    
  88.             <a href="#nogo"/>
  89.                 <img src="images/imag26.jpg" />
  90.             </a>
  91.             <a href="#nogo"/>
  92.                 <img src="images/imag27.jpg" />
  93.             </a>
  94.             <a href="#nogo"/>
  95.                 <img src="images/imag28.jpg" />
  96.             </a>    
  97.             <a href="#nogo"/>
  98.                 <img src="images/imag29.jpg" />
  99.             </a>
  100.             <a href="#nogo"/>
  101.                 <img src="images/imag30.jpg" />
  102.             </a>    
  103.             <a href="#nogo"/>
  104.                 <img src="images/imag31.jpg" />
  105.             </a>    
  106.             <a href="#nogo"/>
  107.                 <img src="images/imag32.jpg" />
  108.             </a>
  109.             <a href="#nogo"/>
  110.                 <img src="images/imag33.jpg" />
  111.             </a>
  112.             <a href="#nogo"/>
  113.                 <img src="images/imag34.jpg" />
  114.             </a>
  115.             <a href="#nogo"/>
  116.                 <img src="images/imag35.jpg" />
  117.             </a>
  118.             <a href="#nogo"/>
  119.                 <img src="images/imag36.jpg" />
  120.             </a>
  121.             <a href="#nogo"/>
  122.                 <img src="images/imag37.jpg" />
  123.             </a>
  124.             <a href="#nogo"/>
  125.                 <img src="images/imag38.jpg" />
  126.             </a>
  127.             <a href="#nogo"/>
  128.                 <img src="images/imag39.jpg" />
  129.             </a>
  130.         </em> 
  131.     </div>
  132.  
  133.     <p>
  134.     L'ÎLE MAURICE<br>
  135.     <br>
  136.     Maurice a réussi en quelques années à s’imposer comme une destination touristique par excellence !!!<br>
  137.     Outre la beauté naturelle de ses paysages, la qualité de l’hébergement, des facilités et des services<br>
  138.     offerts, l’amélioration des infrastructures locales et de la desserte aérienne avec des vols directs,<br>
  139.     sont les points forts qui ont soutenu le développement de ce secteur.<br>
  140.     <br>
  141.     Des campagnes de promotion ciblées ont également contribué à faire du tourisme le troisième pilier de l’économie mauricienne.<br>
  142.     La destination Maurice bénéficie d’une image de qualité ayant évité jusqu’ici le tourisme de masse et s’appuyant<br>
  143.     sur le sens de l’hospitalité des Mauriciens, le multi-linguisme de la population ainsi que la stabilité économique,<br>
  144.     sociale et politique du pays. Conscient que son environnement reste un atout pour le développement touristique,<br>
  145.     le pays accorde une place privilégiée à la protection et à la préservation de son environnement naturel.<br>
  146.  
  147.     </p>
  148.  
  149.  </body>
  150.  
Expand|Select|Wrap|Line Numbers
  1. body {
  2.     background-color: #000000;
  3.     color: #7fffd4;
  4.     }
  5. #gallery {
  6.     position: relative;
  7.     width: 700px;
  8. }
  9. #thumbs {
  10.     width: 175px;
  11.     float: left;
  12. }
  13. #thumbs a {
  14.     display: block;
  15.     float: right;
  16.     margin: 0 0 6px 6px;
  17.     width: 50px;
  18.     height: 50px;
  19.     border: 0px solid #000;
  20. }
  21. #thumbs a img {
  22.     width: 45px;
  23.     height: 45px;
  24.     border: 0;
  25. }
  26. #thumbs a:hover {
  27.     border-color: #ddd;
  28. }
  29. #thumbs a:hover img {
  30.     position: absolute;
  31.     width: auto;
  32.     height: auto;
  33.     left: 175px;
  34.     top: 0;
  35.     border: 1px solid #333;
  36. }
  37. p {
  38.     position: absolute;
  39.     width: auto;
  40.     height: auto;
  41.     left: 200px;
  42.     top: 500px;
  43. }    
  44.  
Mar 30 '13 #1
1 1628
@DannyMahoney
[quote]
Thank you Danny for your magic solution! The good way to write was .JPG .
It seems to be complitly idiot but it works!
Apr 1 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: bborden | last post by:
Novice Access programmer here. I would like to display an image using the Toolbox Image object by calling the images file name using: =fPictureFiles(!!,1) in the Picture control. Below...
4
by: Johnny Emde | last post by:
Hello I'am building an web application that enable users to get data stored in a SQL Server. My problem is pictures. How can I display pictures stored in SQL Server - In the old days, I took...
5
by: TomB | last post by:
I came up with this idea to show the larger picture of a thumbnail by hiding it with css and "unhide" it when one hovers over the thumbnail. I think it looks pretty nifty, but the problem with this...
2
by: senfo | last post by:
I'm using a ListView control to display pictures similarly to how Windows Explorer displays pictures in "Thumbnails" view. The images are stored in an ImageList component. I would like to provide...
0
by: George Race | last post by:
I am trying to display pictures in either ReportViewer or Crystal Reports, using VB 2005. I have the path to pictures in a Form text box that is linked to the database containing the full path to...
5
Fary4u
by: Fary4u | last post by:
Hi i'm trying to display picture using if condition but QUESTION if there is no picture then don't bring empty picture ? <html><head><title>New Page 1</title></head><body> <% strImage...
2
by: smorrison64 | last post by:
I have a form that is coded to open a File Dialog boc to pick a picture to display on that particular item on a subform. My form is not based on query, but rather two separate tables (one primary,...
3
by: Ian | last post by:
I have a form with a sub form, on the continues sub for I want to display some data along with a picture, on the On Current event I have the code: .Picture = Nz() is the name of the picture...
3
by: =?Utf-8?B?a2FyaW0=?= | last post by:
Hello all, Is there a simple cod in vb 2008 to find a folder on a network and open a picture from that folder inside the form? thanks for any of your help.
4
by: katmagic | last post by:
Can someone point me to some guidelines on how to design a website that will be visually appealing and useable to all size monitors and resolutions, or is there a guideline as to what the majority...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.