9.2. small_product_image (Ausgabe von kleinen Produktbildern HTML-IMG Tag)

{small_product_image} ist eine eigene Funktion die ein HTML Tag für ein Produktbil erzeugt. Die Höhe und Breite der Ausgabe wird automatisch aus der Bilddatei berechnet wenn die Werte nicht übergeben werden.

Beispiel 9.2. product_info_link aus ~/oos/template/blocks/whats_new.html

  
     
       {small_product_image image=$random_product.products_image alt=$random_product.products_name|strip_tags}
 
       AUSGABE:
       <img src="images/produkt_bild.jpg" alt="Produktname" border="0" width="80" height="110" />