// Renamed images types for the default theme (in order to avoid conflicts) #PSCFV-4242
This commit is contained in:
@@ -38,7 +38,7 @@ $(function () {ldelim}
|
||||
<div id="scenes">
|
||||
<div>
|
||||
{foreach $scenes as $scene_key=>$scene}
|
||||
<div class="screen_scene" id="screen_scene_{$scene->id}" style="background:transparent url({$base_dir}img/scenes/{$scene->id}-large_scene.jpg); height:{$largeSceneImageType.height}px; width:{$largeSceneImageType.width}px; {if !$scene@first} display:none;{/if}">
|
||||
<div class="screen_scene" id="screen_scene_{$scene->id}" style="background:transparent url({$base_dir}img/scenes/{$scene->id}-scene_default.jpg); height:{$largeSceneImageType.height}px; width:{$largeSceneImageType.width}px; {if !$scene@first} display:none;{/if}">
|
||||
{foreach $scene->products as $product_key=>$product}
|
||||
{assign var=imageIds value="`$product.id_product`-`$product.id_image`"}
|
||||
<a href="{$product.link|escape:'htmlall':'UTF-8'}" accesskey="#scene_products_cluetip_{$scene_key}_{$product_key}_{$product.id_product}" class="cluetip" style="width:{$product.zone_width}px; height:{$product.zone_height}px; margin-left:{$product.x_axis}px ;margin-top:{$product.y_axis}px;">
|
||||
@@ -56,7 +56,7 @@ $(function () {ldelim}
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
<img src="{$link->getImageLink($product.id_product, $imageIds, 'medium')}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />
|
||||
<img src="{$link->getImageLink($product.id_product, $imageIds, 'medium_default')}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />
|
||||
<h4><span class="product_name">{$product.details->name}</span></h4>
|
||||
<p class="description">{$product.details->description_short|strip_tags|truncate:170:'...'}</p>
|
||||
</div>
|
||||
@@ -74,7 +74,7 @@ $(function () {ldelim}
|
||||
{foreach $scenes as $scene}
|
||||
<li id="scene_thumb_{$scene->id}" style="{if !$scene@last} padding-right:10px;{/if}">
|
||||
<a style="width:{$thumbSceneImageType.width}px; height:{$thumbSceneImageType.height}px" title="{$scene->name|escape:'htmlall':'UTF-8'}" href="#" rel="{$scene->id}" onclick="{ldelim}loadScene({$scene->id});return false;{rdelim}">
|
||||
<img alt="{$scene->name|escape:'htmlall':'UTF-8'}" src="{$content_dir}img/scenes/thumbs/{$scene->id}-thumb_scene.jpg" width="{$thumbSceneSize.width}" height="{$thumbSceneSize.height}" />
|
||||
<img alt="{$scene->name|escape:'htmlall':'UTF-8'}" src="{$content_dir}img/scenes/thumbs/{$scene->id}-m_scene_default.jpg" width="{$thumbSceneSize.width}" height="{$thumbSceneSize.height}" />
|
||||
</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
|
||||
Reference in New Issue
Block a user