Jump to content
xt:Commerce Community Forum

zusätzliche Bilder - kleiner darstellen ?


sfx12

Recommended Posts

Hallo Leute,

ich hänge vor folgendem problem !

und zwar wenn ich in der Prduct info_v1 mehr als ein Bild einsetze dann werden alle gleich gross angezeigt.

gibt es eine art variable für die bilder ? z.b Image_Large_1 in IMAGE_thumb_1?

{config_load file="$language/lang_$language.conf" section="product_info"}

{$PRODUCT_NAVIGATOR}

{$FORM_ACTION}


<table width="100%" border="0">

  <tr> 

    <td>

<table width="100%" border="0" cellpadding="0" cellspacing="0">

        <tr>

          <td class="main">

          <table width="100%" height="19" ; class="bg_products_name"  nowrap cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0">

            <tr>

              <td>

              <td style="border-bottom: 1px solid; border-color: #cccccc;">

              <p align="left">{$PRODUCTS_NAME}</td>

            </tr>

          </table></td>

          </tr>

        <tr>

          <td class="main">            

            <table width="100%" border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111">

              {if $PRODUCTS_MODEL!=''}

              <tr valign="middle">

                <td rowspan="6" align="center" nowrap class="main">

                <p align="left">{if $PRODUCTS_IMAGE!=''}<a href="{$PRODUCTS_IMAGE_LARGE}" rel="lightbox[{$PRODUCTS_NAME}]"><img src="{$PRODUCTS_IMAGE}" title="{$PRODUCTS_NAME}" alt="{$PRODUCTS_NAME}" hspace="3" /></a>                </p>

					<p>

				    <a href="{$PRODUCTS_IMAGE_LARGE}" rel="lightbox[{$PRODUCTS_NAME}]">

                    <img src="{$tpl_path}buttons/{php}print_r($_SESSION['language']){/php}/button_zoom.gif" border="0" hspace="48" align="left"></a>

		        {/if}</td>

                <td width="25%" height="40" class="main" align="right"><strong>{#model#}</strong></td>

                <td width="35%" class="main">

                <p align="right">{$PRODUCTS_MODEL}</td>

              </tr>

              {/if}

              <tr>

                <td width="25%" height="40" class="main">

                <p align="right"><b>Farbe:<br>

                </b><strong>Grösse:</strong></td>

                <td width="35%">

                <p align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">{$MODULE_product_options}</font></td>

              </tr>

              <tr valign="middle">

                <td width="25%" height="40" class="main" align="right"><strong>{#text_shippingtime#}</strong></td>

                <td width="35%" class="main">

                <p align="right">{$SHIPPING_NAME}</td>

              </tr>



              <tr valign="middle">

                <td width="25%" height="40" class="main" align="right"><strong>

                Preis:</strong></td>

                <td width="35%" class="main">

                <p align="right"><font size="3" color="#B80E0E" face="Verdana, Arial, Helvetica, sans-serif"><strong>

			  {if $PRODUCTS_DISCOUNT}

                  {$PRODUCTS_DISCOUNT}<br>

                  {/if}

                {$PRODUCTS_PRICE}</strong></font></td>

              </tr>

              <tr valign="middle">

                <td width="25%" height="40" class="main" align="right"><strong>

                Menge:</strong></td>

                <td width="35%"><table  border="0" align="right">

                  <tr>

                    <td valign="middle"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">

                      {$ADD_QTY}

                    </font></td>

                    <td valign="middle"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">

                       {$ADD_CART_BUTTON}

                    </font></td>

                  </tr>

                </table></td>

              </tr>

              <tr valign="middle">

                <td width="25%" height="40" class="main">

                <p align="right"><strong>Artikeldatenblatt:</strong></td>

                <td width="35%">

                <img src="{$tpl_path}buttons/{php}print_r($_SESSION['language']){/php}/button_print.gif" border="0"  cellspacing="10" style="cursor:hand" onClick="javascript:window.open('{php}print_r(xtc_href_link(FILENAME_PRINT_PRODUCT_INFO,'products_id='.$_GET['products_id'])){/php}', 'popup', 'toolbar=0, width=640, height=600')" align="right" hspace="4"></td>

              </tr>

            </table>            <br>                          </td>

          </tr>

      </table>

      <table width="100%" border="0" cellspacing="0" cellpadding="5" style="border-collapse: collapse" bordercolor="#111111">

        <tr>

            {if $PRODUCTS_IMAGE_1 != '' || $PRODUCTS_FSK18=='true'}

          <td style="border-right: 1px solid; border-color: #cccccc;" valign="top" align="center" >

<div align="center">

              <table width="1" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">

                <tr>

                  <td width="1" nowrap align="center"> 

                    <div align="center">

                      <table width="1" border="0" cellpadding="5" cellspacing="0">

                        <!-- more images -->

						{if $PRODUCTS_IMAGE_1 != ''}

                        <tr>

                          <td style="border-top: 0px solid; border-color: #cccccc;">                          

                          <a href="{$PRODUCTS_IMAGE_LARGE_1}" rel="lightbox[{$PRODUCTS_NAME}]" title="{$PRODUCTS_NAME}">

                          <img src="{$PRODUCTS_IMAGE_1}" alt="{$PRODUCTS_NAME}" align="left" hspace="0" /></a>

                          </td>

                        </tr>

						{/if}     

                        {if $PRODUCTS_IMAGE_2 != ''}

                        <tr>

                          <td style="border-top: 0px solid; border-color: #cccccc;">

                          <a href="{$PRODUCTS_IMAGE_LARGE_2}" rel="lightbox[{$PRODUCTS_NAME}]" title="{$PRODUCTS_NAME}">

                          <img src="{$PRODUCTS_IMAGE_2}" alt="{$PRODUCTS_NAME}" align="left" hspace="0" /></a>

                          </td>

                        </tr>  

						{/if}

						{if $PRODUCTS_IMAGE_3 != ''}

                        <tr>

                          <td style="border-top: 0px solid; border-color: #cccccc;">                          

                          <a href="{$PRODUCTS_IMAGE_LARGE_3}" rel="lightbox[{$PRODUCTS_NAME}]" title="{$PRODUCTS_NAME}">

                          <img src="{$PRODUCTS_IMAGE_3}" alt="{$PRODUCTS_NAME}" align="left" hspace="0" /></a>

                          </td>

                        </tr>  

						{/if}

						{if $PRODUCTS_IMAGE_4 != ''}

                        <tr>

                          <td style="border-top: 0px solid; border-color: #cccccc;">                          

                         <a href="{$PRODUCTS_IMAGE_LARGE_4}" rel="lightbox[{$PRODUCTS_NAME}]" title="{$PRODUCTS_NAME}">

                         <img src="{$PRODUCTS_IMAGE_4}" alt="{$PRODUCTS_NAME}" align="left" hspace="0" /></a>

                          </td>

                        </tr>  

						{/if}

                        <!-- more images eof -->                                                                  

                      </table>

                      <br>

                      <font size="1" face="Verdana, Arial, Helvetica, sans-serif">{if $PRODUCTS_IMAGE_LINK!=''}<a href="{$PRODUCTS_IMAGE_LINK}" target="_new">{$PRODUCTS_TEXT_ZOOM}</a><br>{/if}

                      {if $PRODUCTS_FSK18=='true'}

					  <br>

					  <img src="{$tpl_path}img/fsk18.gif">

					  {/if}

					  {$MODULE_graduated_price}<br>

                      <br>

                      <br>

                      </font> </div>

					</td>

                </tr>

              </table>

            </div></td>{/if}

          <td width="100%" class="main" valign="top" align="left">

          <p align="left">{$PRODUCTS_DESCRIPTION}<br>

            <br><font size="1" face="Verdana, Arial, Helvetica, sans-serif"> 

            <br><br>

            </font>

            <br>

            </td>

        </tr>

      </table>


    </td>

  </tr>

</table>



{if $PRODUCTS_URL != ''} 

<table width="100%" border="0" bgcolor="#CCCCCC">

  <tr> 

    <td><p align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">{$PRODUCTS_URL}<br>

        </font></p></td>

  </tr>

</table>

{/if}

{if $PRODUCTS_DATE_AVIABLE != ''} 

<table width="100%" border="0" bgcolor="#CCCCCC">

  <tr> 

    <td><p align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"> 

        {$PRODUCTS_DATE_AVIABLE}</font></p></td>

  </tr>

</table>

{/if} 

<table width="100%" border="0">

  <tr>

      <td>{$MODULE_products_reviews}</td>

  </tr>

</table>



  <table width="100%" border="0">

    <tr> 

      <td><div align="center">{$MODULE_products_media}</div></td>

    </tr>

  </table>

  <font size="1" face="Verdana, Arial, Helvetica, sans-serif"><br>

  </font>

  <table width="100%" border="0">

    <tr> 

      <td><div align="center">{$MODULE_also_purchased}</div></td>

    </tr>

  </table> 

</div><br>

{$FORM_END}

post-74354-14337914597291_thumb.jpg

Link to comment
Share on other sites

Archived

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

×
  • Create New...