Категории
[FAQ] Часто задаваемые вопросы и ответы
Проблемы и решения
Ошибки и исправления
Общие вопросы
Расширения
Установка и обновление
Модули
Шаблоны
Локализация интерфейса
Коммерческие предложения
Учимся бизнесу
Бизнес книги
Поисковая оптимизация (SEO)
Магазины на ShopOS
Хостинг для ShopOS
Предложения и пожелания
Курилка
|
нужна помощь срочно запутался !!!!Увеличение картинки !!!
проблема в том что,хотел сделать увеличение картинки при наведение курсора и получилось вот то что вы видите, я в несколько папок мог добавить одни и те же коды ,потому что везде каждый пишет на форуме по разному и поэтому запутался, скриншот, и если можно вот могазин посмотрите,pult-av.ru
hpсодержимое папки.module/produkt info/ product_info.html <?php /* ##################################### # ShopOS: Shopping Cart Software. # Copyright (c) 2008-2010 # http://www.shopos.ru # http://www.shoposs.com # Ver. 1.0.0 ##################################### */
содержимое папки.module/produkt info/ product_info.html <tr> <td class="main" valign="top">
<h1 class="contentBoxHeading">{$PRODUCTS_NAME}</h1>
{$PRODUCT_NAVIGATOR} ?><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script> <script type="text/javascript" src="cloud-zoom.1.0.2.js"></script> <link href="cloud-zoom.css" rel="stylesheet" type="text/css" />
{if $PRODUCTS_IMAGE or $PRODUCTS_MO_IMAGES or $PRODUCTS_IMAGE_LINK!=''} {if $PRODUCTS_POPUP_LINK!=''} <a href='{$PRODUCTS_POPUP_IMAGE}' class = 'cloud-zoom' title="{$PRODUCTS_NAME}" rel="softFocus: false, position:'anypos', smoothMove:2" {if $PRODUCTS_MO_IMAGES}rel="gallery-plants"{/if} target="_blank">{/if}<img src="{$PRODUCTS_IMAGE}" alt="{$PRODUCTS_NAME}" /> {if $PRODUCTS_POPUP_LINK!=''}</a> {/if} <div class="zoom-desc" style="position:relative; "> <div id="anypos" style="position:absolute;top:10px; left: 0px;width:600px; height:399px; "></div> </div> <div style="height:700px;"></div> {/if} {$PRODUCTS_IMAGE_BLOCK} </td><div class="zoom-section" style="width:300px;"> <div class="zoom-small-image" style="border:4px #CCC solid;"> <a href='images/bigimage03.jpg' class = 'cloud-zoom' rel="tint: '#ff0000',tintOpacity:0.5 ,smoothMove:5,zoomWidth:480, adjustY:-4, adjustX:10"> <img src="images/smallimage-3.jpg" title="Optional Title Text" alt=''/> </a> </div> </div> <td class="contents products_info" width="100%" valign="top"> <strong>{$PRODUCTS_PRICE}</strong><br /> {$PRODUCTS_TAX_INFO} {if $PRODUCTS_SHIPPING_LINK} {$PRODUCTS_SHIPPING_LINK} {/if} <br /> {if $PRODUCTS_VPE} {$PRODUCTS_VPE}<br /> {/if} {if $PRODUCTS_MODEL!=''} {#model#} {$PRODUCTS_MODEL}<br /> {/if} {if $PRODUCTS_DISCOUNT} {#text_discount#} {$PRODUCTS_DISCOUNT}<br /> {/if} {#print#} {$PRODUCTS_PRINT}<br /> {#question#} {$ASK_PRODUCT_QUESTION}<br /> {if $SHIPPING_NAME} <table border="0" cellpadding="0" cellspacing="0"> <tr valign="middle"> <td class="main">{#text_shippingtime#}</td> {if $SHIPPING_IMAGE}<td><img src="{$SHIPPING_IMAGE}" alt="{$SHIPPING_NAME}" /></td> {/if} <td class="main" align="left"> {$SHIPPING_NAME}</td> </tr> </table> {/if} <br /> {if $MODULE_product_options !=''} {$MODULE_product_options}<br /> {/if} <!-- в корзину --> <table border="0" align="right"> <tr> <td align="right">{$ADD_QTY}</td> <td align="left">{$ADD_CART_BUTTON}</td> </tr> </table> <!-- /в корзину --> </td> </tr> </table> </td> </tr> </table> <!-- /картинка и цены --> </td> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="main" valign="top" width="100%"> <!-- описание --> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr class="contentBoxContents1" valign="top"> <td height="90" class="contentBoxContents1" valign="top"> <table border="0" width="100%" cellspacing="5" cellpadding="0"> <tr> <td class="contents"> {if $PRODUCTS_DESCRIPTION !=''} {$PRODUCTS_DESCRIPTION}<br /> {/if} <br /> {if $extra_fields_data} {foreach name=aussen item=extra_fields from=$extra_fields_data} <b>{$extra_fields.NAME}</b>: {$extra_fields.VALUE}<br /> {/foreach} {/if}
{if $MODULE_tpt != ''} {$MODULE_tpt}<br /> {/if} </td> </tr> </table> </td> </tr> </table> <!-- /описание --> </td> {if ($PRODUCTS_FSK18=='true') or ($MODULE_graduated_price !='') or $PRODUCTS_MO_IMAGES or $PRODUCTS_IMAGE_LINK!=''} <td> </td> <td valign="top" align="right"> <!-- картинки, скидки --> <table border="0" cellpadding="0" cellspacing="0"> <tr class="contentBoxContents1" valign="top"> <td height="90" class="contentBoxContents1" valign="top"> <table border="0" width="100%" cellspacing="5" cellpadding="0"> <tr> <td class="contents"> {if $PRODUCTS_FSK18=='true'} <img src="{$tpl_path}img/fsk18.gif" alt="" /><br /> {/if} {if $MODULE_graduated_price !=''} {$MODULE_graduated_price}<br /> {/if} <!-- more images --> {if $PRODUCTS_MO_IMAGES} '<table width="100%" border="0"> {foreach name=mo_pic item=img_values from=$mo_img} <tr> <td style="border-top: 1px solid; border-color: #cccccc;"> {$img_values.PRODUCTS_MO_IMAGE_BLOCK} </td> </tr> {/foreach} {/if} {$PRODUCTS_MO_IMAGE_BLOCK} </table> <br /> <!-- more images eof --> {if $PRODUCTS_IMAGE_LINK!=''} <a href="{$PRODUCTS_IMAGE_LINK}" onclick="window.open(this.href); return false;">{$PRODUCTS_TEXT_ZOOM}</a><br /> {/if} <!-- картинки, скидки --> </td> </tr> </table> </td> </tr> </table> <!-- /картинки, скидки --> {/if} </td> </tr> </table> </td> </tr> </table>
{if $PRODUCTS_URL != ''} <table width="100%" border="0" class="boxTextBG"> <tr> <td align="center">{$PRODUCTS_URL}<br /></td> </tr> </table>{/if} {if $PRODUCTS_DATE_AVIABLE != ''} <table width="100%" border="0" class="boxTextBG"> <tr> <td align="center">{$PRODUCTS_DATE_AVIABLE}<br /></td> </tr> </table>{/if} {if $PRODUCTS_ADDED != ''} <table width="100%" border="0" class="boxTextBG"> <tr> <td align="center">{$PRODUCTS_ADDED}<br /></td> </tr> </table>{/if} {if $MODULE_products_reviews != ''} <table width="100%" border="0"> <tr> <td>{$MODULE_products_reviews}<br /></td> </tr> </table>{/if} {if $MODULE_products_media != ''} <table width="100%" border="0"> <tr> <td align="center">{$MODULE_products_media}<br /></td> </tr> </table> {/if} {if $MODULE_cross_selling != ''} <table width="100%" border="0"> <tr> <td align="center">{$MODULE_cross_selling}<br /></td> </tr> </table> {/if} {if $MODULE_reverse_cross_selling != ''} <table width="100%" border="0"> <tr> <td align="center">{$MODULE_reverse_cross_selling}<br /></td> </tr> </table> {/if}{if $MODULE_also_purchased != ''} <table width="100%" border="0"> <tr> <td align="center">{$MODULE_also_purchased}<br /></td> </tr> </table>{/if} {$FORM_END}
содержимое папки. module / product_listing / product_listing_columns.html
{config_load file="$language/lang.conf" section="index"} <h1 class="contentBoxHeading">{$CATEGORIES_NAME}</h1> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td class="contentsTopics">{$CATEGORIES_HEADING_TITLE}</td> </tr> </table> {if $CATEGORIES_DESCRIPTION}<br /> {$CATEGORIES_DESCRIPTION}{/if}<br />{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}" alt="{$CATEGORIES_NAME}" /> <br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td style="border-bottom: 1px solid; border-color: #000000;"> </td> </tr> </table> {/if} {if $MANUFACTURERS_DESCRIPTION}<br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="left"> {$MANUFACTURERS_DESCRIPTION} </td> </tr> </table> <br /> {/if} {if $MANUFACTURER_SORT}<br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="left"> {$MANUFACTURER_SORT} </td> </tr> </table> <br /> {/if} {$param_filter} {if $CATEGORIES_NAME} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="left"> {#text_sort#} <a href="{$LINK_sort_name_asc}">{#text_sort_name_asc#}</a> | <a href="{$LINK_sort_name_desc}">{#text_sort_name_desc#}</a> | <a href="{$LINK_sort_price_asc}">{#text_sort_price_asc#}</a> | <a href="{$LINK_sort_price_desc}">{#text_sort_price_desc#}</a> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="left"> {#text_products_per_page#} <a href="{$LINK_PAGE}10">10</a>, <a href="{$LINK_PAGE}20">20</a>, <a href="{$LINK_PAGE}50">50</a>, <a href="{$LINK_PAGE}100">100</a> </td> </tr> </table> {/if} <table width="100%" border="0" cellspacing="0" cellpadding="4"> <tr>
{foreach name=aussen item=module_data from=$module_content} {php} $col++; {/php} <td class="main" valign="top"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="contentBoxContents1" valign="top"> <td height="90" class="contentBoxContents1" valign="top"> <table width="100%" cellpadding="0" cellspacing="5" border="0"> <tr>
<td class="contents" width="100%" valign="top" colspan="2" align="center"> <strong><a href="{$module_data.PRODUCTS_LINK}">{$module_data.PRODUCTS_NAME}</a></strong> </td> </tr> <tr> <td class="contents" valign="top" align="center"> <a href="{$module_data.PRODUCTS_LINK}" title="<img src='{$module_data.PRODUCTS_IMAGE_POPUP}' />" class="vtip"> <img src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" title="{$module_data.PRODUCTS_NAME}" /> </a> </td> <td class="contents" align="center">
{$module_data.PRODUCTS_BUTTON_BUY_NOW_NEW}
</td> </tr> <tr>
<td class="contents" width="100%" valign="top" colspan="2"> {if $module_data.PRODUCTS_SHORT_DESCRIPTION}{$module_data.PRODUCTS_SHORT_DESCRIPTION}<br /> <a href="{$module_data.PRODUCTS_LINK}">{#text_more#}</a><br />{/if}
<br />
<strong>{$module_data.PRODUCTS_PRICE} </strong><br /> {$module_data.PRODUCTS_TAX_INFO}{$module_data.PRODUCTS_SHIPPING_LINK} {if $module_data.PRODUCTS_VPE}<br />{$module_data.PRODUCTS_VPE}{/if} <br />
{if $module_data.PRODUCTS_SHIPPING_NAME} <table width="200" border="0" cellpadding="0" cellspacing="0"> <tr valign="middle"> <td class="main" align="right">{#text_shippingtime#}</td> {if $module_data.PRODUCTS_SHIPPING_IMAGE} <td><img src="{$module_data.PRODUCTS_SHIPPING_IMAGE}" alt="{$module_data.PRODUCTS_SHIPPING_NAME}" /></td> {/if} <td class="main" align="left"> {$module_data.PRODUCTS_SHIPPING_NAME}</td> </tr> </table> {/if} </td>
</tr> </table> </td>
</tr> </table>
</td> {php} if ($col>=2) { $col=0; echo '</tr><tr>'; } {/php} {/foreach} <td></td> </tr> </table>
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td> <span class="right">{$NAVIGATION}</span>{$NAVIGATION_PAGES} </td> </tr> </table>
содержимое папки. module / product_listing / product_listing_columns.html
{config_load file="$language/lang.conf" section="index"} <h1 class="contentBoxHeading">{$CATEGORIES_NAME}</h1> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td class="contentsTopics">{$CATEGORIES_HEADING_TITLE}</td> </tr> </table> {if $CATEGORIES_DESCRIPTION}<br /> {$CATEGORIES_DESCRIPTION}{/if}<br />{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}" alt="{$CATEGORIES_NAME}" /> <br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td style="border-bottom: 1px solid; border-color: #000000;"> </td> </tr> </table> {/if} {if $MANUFACTURERS_DESCRIPTION}<br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="left"> {$MANUFACTURERS_DESCRIPTION} </td> </tr> </table> <br /> {/if} {if $MANUFACTURER_SORT}<br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="left"> {$MANUFACTURER_SORT} </td> </tr> </table> <br /> {/if} {$param_filter} {if $CATEGORIES_NAME} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="left"> {#text_sort#} <a href="{$LINK_sort_name_asc}">{#text_sort_name_asc#}</a> | <a href="{$LINK_sort_name_desc}">{#text_sort_name_desc#}</a> | <a href="{$LINK_sort_price_asc}">{#text_sort_price_asc#}</a> | <a href="{$LINK_sort_price_desc}">{#text_sort_price_desc#}</a> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="left"> {#text_products_per_page#} <a href="{$LINK_PAGE}10">10</a>, <a href="{$LINK_PAGE}20">20</a>, <a href="{$LINK_PAGE}50">50</a>, <a href="{$LINK_PAGE}100">100</a> </td> </tr> </table> {/if} <table width="100%" border="0" cellspacing="0" cellpadding="4"> <tr>
{foreach name=aussen item=module_data from=$module_content} {php} $col++; {/php} <td class="main" valign="top"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="contentBoxContents1" valign="top"> <td height="90" class="contentBoxContents1" valign="top"> <table width="100%" cellpadding="0" cellspacing="5" border="0"> <tr>
<td class="contents" width="100%" valign="top" colspan="2" align="center"> <strong><a href="{$module_data.PRODUCTS_LINK}">{$module_data.PRODUCTS_NAME}</a></strong> </td> </tr> <tr> <td class="contents" valign="top" align="center"> <a href="{$module_data.PRODUCTS_LINK}" title="<img src='{$module_data.PRODUCTS_IMAGE_POPUP}' />" class="vtip"> <img src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" title="{$module_data.PRODUCTS_NAME}" /> </a> </td> <td class="contents" align="center">
{$module_data.PRODUCTS_BUTTON_BUY_NOW_NEW}
</td> </tr> <tr>
<td class="contents" width="100%" valign="top" colspan="2"> {if $module_data.PRODUCTS_SHORT_DESCRIPTION}{$module_data.PRODUCTS_SHORT_DESCRIPTION}<br /> <a href="{$module_data.PRODUCTS_LINK}">{#text_more#}</a><br />{/if}
<br />
<strong>{$module_data.PRODUCTS_PRICE} </strong><br /> {$module_data.PRODUCTS_TAX_INFO}{$module_data.PRODUCTS_SHIPPING_LINK} {if $module_data.PRODUCTS_VPE}<br />{$module_data.PRODUCTS_VPE}{/if} <br />
{if $module_data.PRODUCTS_SHIPPING_NAME} <table width="200" border="0" cellpadding="0" cellspacing="0"> <tr valign="middle"> <td class="main" align="right">{#text_shippingtime#}</td> {if $module_data.PRODUCTS_SHIPPING_IMAGE} <td><img src="{$module_data.PRODUCTS_SHIPPING_IMAGE}" alt="{$module_data.PRODUCTS_SHIPPING_NAME}" /></td> {/if} <td class="main" align="left"> {$module_data.PRODUCTS_SHIPPING_NAME}</td> </tr> </table> {/if} </td>
</tr> </table> </td>
</tr> </table>
</td> {php} if ($col>=2) { $col=0; echo '</tr><tr>'; } {/php} {/foreach} <td></td> </tr> </table>
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td> <span class="right">{$NAVIGATION}</span>{$NAVIGATION_PAGES} </td> </tr> </table>
Если имеете ввиду использования vtip для увеличения изображений, то в карточке товара его наверное не стоит делать, хотя у вас там вроде другое что то используется. vtip обычно используют для увеличения фото в категориях или в инфостраницах.
да именно tvip в категориях,как это сделать какой код переделать или добавить?
Ну у меня был вот такой код в папке. module / product_listing / product_listing_columns.html
{config_load file="$language/lang.conf" section="index"} {config_load file="$language/lang.conf" section="product_info"} <h1 class="contentBoxHeading"align="left">{$CATEGORIES_NAME}</h1> <table width="100%" border="0" cellspacing="0" cellpadding="0" > <tr valign="top"> <td class="contentsTopics">{$CATEGORIES_HEADING_TITLE}</td> </tr> </table> {if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}"alt="{$CATEGORIES_NAME}" /> {if $CATEGORIES_DESCRIPTION} {$CATEGORIES_DESCRIPTION}{/if} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td style="border-bottom: 1px solid; border-color: #000000;"> </td> </tr> </table> {/if} {if $MANUFACTURERS_DESCRIPTION}<br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="left"> {$MANUFACTURERS_DESCRIPTION} </td> </tr> </table> <br /> {/if} {if $MANUFACTURER_SORT}<br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="left"> {$MANUFACTURER_SORT} </td> </tr> </table> <br /> {/if} {$param_filter} {if $CATEGORIES_NAME} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="left"> {#text_sort#} <a href="{$LINK_sort_name_asc}">{#text_sort_name_asc#}</a> | <a href="{$LINK_sort_name_desc}">{#text_sort_name_desc#}</a> | <a href="{$LINK_sort_price_asc}">{#text_sort_price_asc#}</a> | <a href="{$LINK_sort_price_desc}">{#text_sort_price_desc#}</a> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="left"> {#text_products_per_page#} <a href="{$LINK_PAGE}10">10</a>, <a href="{$LINK_PAGE}20">20</a>, <a href="{$LINK_PAGE}50">50</a>, <a href="{$LINK_PAGE}100">100</a> </td> </tr> </table> {/if} <table width="100%" border="0" cellspacing="0" cellpadding="4"> <tr>
{foreach name=aussen item=module_data from=$module_content} {php} $col++; {/php} <td class="main" valign="top"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="contentBoxContents1" valign="top"> <td height="90" class="contentBoxContents1" valign="top"> <table width="100%" cellpadding="0" cellspacing="5" border="0"> <tr>
<td class="contents" width="100%" valign="top" colspan="2" align="center"> <strong><a href="{$module_data.PRODUCTS_LINK}">{$module_data.PRODUCTS_NAME}</a></strong> </td> </tr> <tr> <td class="contents" valign="top" align="center"> {if $module_data.PRODUCTS_IMAGE}<a href="{$module_data.PRODUCTS_LINK}" title="<img src='{$module_data.PRODUCTS_IMAGE_POPUP}' />" class="vtip"> <img src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" title="{$module_data.PRODUCTS_NAME}" /> </a>{/if}{if $module_data.PRODUCTS_FSK18=='true'}<br /><img src="{$tpl_path}img/fsk18.gif" alt="" />{/if}
</td> <td class="contents" align="center">
</td> </tr> <tr>
<td class="contents" width="100%" valign="top" colspan="2"align="center"> {if $module_data.PRODUCTS_SHORT_DESCRIPTION}{$module_data.PRODUCTS_SHORT_DESCRIPTION}<br /> <a href="{$module_data.PRODUCTS_LINK}">{#text_more#}</a>{/if} <strong>{$module_data.PRODUCTS_PRICE}</strong><br /> {$module_data.PRODUCTS_SHIPPING_LINK}<br/> {if $module_data.PRODUCTS_STOCK}<font color="#ff0000"> {#v_nalichii#}</font> {else}<font color="#0000ff"> {#na_zakaz#}</font> {/if}
{$module_data.PRODUCTS_TAX_INFO} {if $module_data.PRODUCTS_VPE}<br />{$module_data.PRODUCTS_VPE}{/if} <br />{$module_data.compare}<br/>{$module_data.PRODUCTS_BUTTON_BUY_NOW_NEW}<br/> <a class="nebox_pqp_plugin" href="/index.php?page=nebox_pqp_page&pid={$module_data.PRODUCTS_ID}"><img src="/images/bystriy_prosmotr.png " title="{#bystriy_prosmotr#}" border="0"/></a> {if $module_data.PRODUCTS_SHIPPING_NAME} <table width="200" border="0" cellpadding="0" cellspacing="0"> <tr valign="middle"> <td class="main" align="right">{#text_shippingtime#}</td> {if $module_data.PRODUCTS_SHIPPING_IMAGE} <td><img src="{$module_data.PRODUCTS_SHIPPING_IMAGE}" alt="{$module_data.PRODUCTS_SHIPPING_NAME}" /></td> {/if} <td class="main" align="left"> {$module_data.PRODUCTS_SHIPPING_NAME}</td> </tr> </table> {/if} </td>
</tr> </table> </td>
</tr> </table>
</td> {php} if ($col>=3) { $col=0; echo '</tr><tr>'; } {/php} {/foreach} <td></td> </tr> </table>
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td> <span class="right">{$NAVIGATION}</span>{$NAVIGATION_PAGES} </td> </tr> </table>
<a href="{$module_data.PRODUCTS_LINK}" title="<img src='{$module_data.PRODUCTS_IMAGE_POPUP}' />" class="vtip"> <img src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" title="{$module_data.PRODUCTS_NAME}" /> </a> в вашем случае размер картинки меняется в админке картинки/Высота и ширина картинки в pop-up окне Можно принудительно размер прописать в коде
<a href="{$module_data.PRODUCTS_LINK}" title="<img src='{$module_data.PRODUCTS_IMAGE_POPUP}' />" class="vtip"> <img width="значение" src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" title="{$module_data.PRODUCTS_NAME}" /> </a> или
<a href="{$module_data.PRODUCTS_LINK}" title="<img src='{$module_data.PRODUCTS_IMAGE_POPUP}' />" class="vtip"> <img height="значение" src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" title="{$module_data.PRODUCTS_NAME}" /> </a>
Там вроде бы в стилях размер задаётся. сейчас уж точно не помню. :) Вот тема по данному вопросу, может пригодится http://shoposdev.ru/forum/viewtopic.php?id=4
Там вроде бы в стилях размер задаётся. сейчас уж точно не помню. :)
вот, что у него задано в стилях:
background-color: white; border: 1px solid #A6C9E2; display: none; font-size: 0.8em; left: 5px; padding: 10px; position: absolute; z-index: 9999;
left: 5px; position: absolute; top: -10px;
Источник
|