Found this while validating my img_assist generated code on img_assist.module, line 659:

$view = "Only local images are allowed.filepath)."\" width=\"$w\" height=\"$h\" title=\"". $image['thumbnail']->title. "\">";

It should read:

$view = "Only local images are allowed.filepath)."\" width=\"$w\" height=\"$h\" title=\"". $image['thumbnail']->title. "\" />";

Please note the closing of the img tag to make it xhtml compliant, as all the other img tags in the file are.

Kevin

Comments

iokevins’s picture

The code did not come through properly. Take two.

Old:

$view = "<img src=\"".file_create_url($image['thumbnail']->filepath)."\" width=\"$w\" height=\"$h\" title=\"". $image['thumbnail']->title. "\">";

New:

$view = "<img src=\"".file_create_url($image['thumbnail']->filepath)."\" width=\"$w\" height=\"$h\" title=\"". $image['thumbnail']->title. "\" />";

benshell’s picture

Status: Active » Closed (won't fix)

I'm the new maintainer of img_assist, but I can only support img_assist for Drupal 4.7+. As far as I know the tags generated by the new version are valid XHTML.