kl**************@googlemail.com <kl**************@googlemail.comscripsit:
I have a php-generated webpage with images.
Do you have a URL for it?
My problem is: the
Internet Explorer cannot calculate the correct image size.
Our problem is that we cannot see your real problem since you did not
specify the URL and did not explain why you think that Internet Explorer
cannot calculate the correct image size.
Because of this the images are not cached.
And what makes you think so? I see little reason to expect image size to
have anything to do with cacheing, which operates on "entities" referred to
by URLs (btw, did I mention that you didn't mention the URL of your page?),
_not_ to their specific content, still less rendering.
So everytime a user clicks on some
link all the images gets retransfered and the page loads very slow.
Is there any reason to think that the images are "the same" as images that
have already been fetched by the browser? Cacheing works by URLs and HTTP
headers, not content. So if you have the same image accessible through
different URLs*), they are not the same from the cacheing perspective. Image
sizes have nothing to do with this.
*) "URL" here means the resolved absolute URL, which may differ from the
URLs in the src="..." attributes.
You can check it if you right-click on an image and select properties.
I cannot, because you did not specify any URL and you did not say what is
the "it" that I could check.
Is there a possibility to send the image and its actual
size-information to the browser?
Yes, that's what servers do all the time.
I hope this is somehow clear.
It isn't. It would be somewhat obscure even with a URL, but without a URL...
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/