Oscommerce function tep_image:
这是代码:
tep_image(DIR_WS_IMAGES。" partners_grey_top2.png"," ksa shopping"," 395"," 36");
如何添加样式?
答案 0 :(得分:0)
osCommerce的股票版本中tep_image函数的第五个参数接受自定义参数。如果你想添加一个像class =" product_image"这样的CSS类,你可以改变你的函数看起来像这样
tep_image(DIR_WS_IMAGES . "partners_grey_top2.png", "ksa shopping", "395", "36", 'class="product_image"');