[wp-testers] Bug? Uploaded links create invalid XHTML

Andy Skelton skeltoac at gmail.com
Mon Dec 19 18:15:58 GMT 2005


On 12/19/05, Richard Jenkins <blackbirdcottage at gmail.com> wrote:
> Also, when 'Linked to Page' is selected for an image, the resulting
> attachment page does not validate because the image has no alt
> attribute.

Fix added to the referenced patch.

> Another thing (seeing width="400" in the code got me thinking)... how
> is the width of images on attachment pages specified - how will theme
> authors change the maximum width of these images to suit their design?

One of the new functions lets the theme author specify a maximum
width. I haven't had time to document it yet, but attachment.php in
the default theme is an example.

Andy


More information about the wp-testers mailing list