experimental patch: image error status as alt text
You know how for image redirections and 404s, nothing at all happens? User's mind: "I didn't get the image. Dillo must be broken." (or the address can't resolve, or content-type doesn't match...) So I tried making something recently that shows, e.g., [404] as the alt text. In this form it's probably wrong in a design sense because cache probably isn't allowed to call image, but maybe it'll prompt some discussion... (and maybe it'd be better to pull the status out of the header whenever needed rather than adding more junk to the cache entry.)
On Mon, Dec 22, 2008 at 01:19:07AM +0000, corvid wrote:
You know how for image redirections and 404s, nothing at all happens? User's mind: "I didn't get the image. Dillo must be broken."
(or the address can't resolve, or content-type doesn't match...)
So I tried making something recently that shows, e.g., [404] as the alt text. In this form it's probably wrong in a design sense because cache probably isn't allowed to call image, but maybe it'll prompt some discussion...
That reminds me of a related issue. Display of alt text works fine if width or height of an image is unspecified, but looks weird e.g. with images that have width=1. Any idea how to handle that? Should we ignore width/height in case we are showing the alt text? Cheers, Johannes
Johannes wrote:
That reminds me of a related issue. Display of alt text works fine if width or height of an image is unspecified, but looks weird e.g. with images that have width=1. Any idea how to handle that? Should we ignore width/height in case we are showing the alt text?
Perhaps. I'm wondering whether it might distort pages too much, though. And related to _that_, we have the matter of dillo not preserving aspect for images with one dimension specified.
participants (2)
-
corvid@lavabit.com
-
Johannes.Hofmann@gmx.de