Quote:
Originally Posted by carpeperdiem
This is not xhtml compliant code -- don't use it.
An image tag for xhtml should look like this - with the smarty images path - this is where xcart images should always live, unless you want to get into secure vs. nonsecure problems :
<img src="{$ImagesDir}/image.jpg" height="100" width="100" alt="image description" />
NOTE the self-closing tag. This is how images should be used in xcart 4.1.x, if you want your code to validate and work exactly as expected cross-browser/cross-platform. And note the alt field. Always use it, unless you have a compelling reason not to (such as a spacer - then use alt=""). Not every visitor to your site can see -- not to mention the seo value.
|
Can you say anything in essence of the question but not about xhtml?