[pmwiki-users] problem with invisible url
5ko at 5ko.fr
Mon Oct 13 11:41:04 CDT 2014
On 10.10.2014 19:08, jdd wrote:
> I have a problem with the way pmwiki manage image urls :-(
> I when I type an url I make a typo, the url become completely
> invisible for the reader.
> no image (of course), but no url displayed, no error message, nothing
> it become extremely difficult to simply notice one image is missing on
> is there any setup I could add?
PmWiki doesn't check if the external image exists, this would be very
slow and may not work in many environments. So, it assumes that you know
what you do and simply creates an <img src="..."/> tag. Then the image
is requested by your browser.
One solution is to add some alt="..." text to the image. This
alternative text is displayed in most browsers if the picture is not
http://www.example.com/picture.jpg"Picture of the Eiffel tower"
Then, if there is a typo and the picture is not found, the visitor will
see the text "Picture of the Eiffel tower" in the page.
More information about the pmwiki-users