Forum Moderators: open

Message Too Old, No Replies

ASP file as an image

         

Enigma

6:48 pm on Dec 4, 2002 (gmt 0)

10+ Year Member



I'm using content type to have an asp file show an image, that's fine.

The problem is the size of the image. When I've gone to the direct location of the image it is at one size, but when I go to the asp file the size of the graphic doesn't match, That's visual size not physical memory size.

Do I need to specify the width and height attributes in the ASP file?

:)

korkus2000

6:51 pm on Dec 4, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The asp page will be read just like an html page to the browser. I would set height and width just for quick loading.

Enigma

7:04 pm on Dec 4, 2002 (gmt 0)

10+ Year Member



Hi, thanks for your response.

I refer not to the image attributes in the html of the page but of the attributes with the asp file which controls the loading of the image, it references the image on the server...

Enigma

6:52 pm on Dec 6, 2002 (gmt 0)

10+ Year Member



Bump!

korkus2000

6:53 pm on Dec 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can you post the asp code that is calling the image.

Enigma

7:06 pm on Dec 6, 2002 (gmt 0)

10+ Year Member



Ahh, the problem is obvious now I open my eyes! lol

Uploaded images to the site in a new directory, I was sorting out the directory structure and decided upon an alternative location.

Therefore the ASP file has been referencing the images in a different directory than the one I was intending.

Sorted. :)