new server gives text for jpeg images

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-02-2007
Anonymous Sender
 
Posts: n/a
Default new server gives text for jpeg images

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

  #2 (permalink)  
Old 12-03-2007
Doug Holtz
 
Posts: n/a
Default Re: new server gives text for jpeg images


"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


  #3 (permalink)  
Old 12-03-2007
C.
 
Posts: n/a
Default Re: new server gives text for jpeg images

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.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:13 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0