This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Code such as: <img src="/img/myimage.jpg" [...] /> is valid and targets a local image, identified with an absolute *URI* path. The getimagesize method expects a *file* path, and will not be able to find "/img/myimage.jpg". Two solutions that are essentially two approaches for the same thing: - complete the source with the base of the document and retrieve it over HTTP. - convert the URI path to a file path and opens the resulting filename.