Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems with image alt tag


smenster

Recommended Posts

Posted

I have this strange problem. Al my image alt tag's contain a space before and after the text. This starts to cause a problem when the mousepointer hovers over the pixel_trans.gif. To understand exactly what i mean i have included a screenshot:

alt.gif

 

I have taken a look at the tap_image function and the tap_draw function. They seem to look normal.

 

----------------------------------------------------------------------------------------------

 

While writing this i just thought about the fact that i have installed the "On the Fly Thumbnailer".

 

When i took a look a the code i changed the following in html_output.php:

 

$image .= ' title=" ' . tep_output_string($alt) . ' "';

 

TO:

 

$image .= ' title="'. tep_output_string($alt).'"';

 

Problem seems to be solved now.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...