This is a discussion on new server gives text for jpeg images within the Linux Web Servers forums, part of the Web Server and Related Forums category; I have many webpages with thumbnail pictures. Each thumbnail is a hyperlink to a large picture. The HTML code is ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have many webpages with thumbnail pictures.
Each thumbnail is a hyperlink to a large picture. The HTML code is similar to this: [a href="full/full01.jpg"][img src="thumb/thumb01.jpg"][/a] Now this worked okay on my old server. I got a new webhost, and now when somebody clicks on thumbnail, they do not get the full-size image. Whether you use IE, Mozilla or whatever, same problem. If I type URL of the image into the browser (for old server) then I saw the image. But when I type in the URL for the new server, it returns a page which is simply one line of text being the URL I gave, instead of the image, e.g. http://61.14.166.63/~kerstins/images/No.149.jpg |
|
|||
|
"Anonymous Sender" <anonymous@remailer.metacolo.com> wrote in message news:d03cf674ead8f275554de934107d2695@remailer.met acolo.com... >I have many webpages with thumbnail pictures. > Each thumbnail is a hyperlink to a large picture. > The HTML code is similar to this: > [a href="full/full01.jpg"][img src="thumb/thumb01.jpg"][/a] > > Now this worked okay on my old server. I got a new webhost, > and now when somebody clicks on thumbnail, they do not get > the full-size image. Whether you use IE, Mozilla or whatever, > same problem. > > If I type URL of the image into the browser (for old server) > then I saw the image. But when I type in the URL for the > new server, it returns a page which is simply one line of > text being the URL I gave, instead of the image, e.g. > http://61.14.166.63/~kerstins/images/No.149.jpg > A silly question, but did you change the link correctly for the new server's IP address? I goofed this up when I upgraded and gave thge new server a different IP address. I also did a database change and my web page did not reflect that either :( Also, check the httpd.conf for matching of folders to the icons directory. doug |
|
|||
|
On 2 Dec, 11:47, Anonymous Sender <anonym...@remailer.metacolo.com>
wrote: > I have many webpages with thumbnail pictures. > Each thumbnail is a hyperlink to a large picture. > The HTML code is similar to this: > [a href="full/full01.jpg"][img src="thumb/thumb01.jpg"][/a] > > Now this worked okay on my old server. I got a new webhost, > and now when somebody clicks on thumbnail, they do not get > the full-size image. Whether you use IE, Mozilla or whatever, > same problem. > > If I type URL of the image into the browser (for old server) > then I saw the image. But when I type in the URL for the > new server, it returns a page which is simply one line of > text being the URL I gave, instead of the image, e.g.http://61.14.166.63/~kerstins/images/No.149.jpg Firefox does this when the image content is not valid for the mime type (but IIRC the mime type is for an image) e.g. viewing a GIF file with mime type of PNG. But MSIE givse you the missing image icon. I'd start by uploading an image to the site then downloading it watching the HTTP exchange (using iehttpheaders in MSIE / firebug/ tamper data in Firefox). Make sure you transfer it as binary if you have to use FTP. I presume you are paying someone for your hosting - try asking them if the procedure above doesn't reveal anything untoward. C. |