Hello everyone.
I'm new here. My name is Nichlas and I'm from Denmark. I really hope you guys can help me.
I have a problem with my webshop. I need to resize a picture. I've attached a photo in this post called "help_picture_1" so you can see what picture on the webshop I'm talking about.
Anyways...
I can't change it from the backend, so I need to do it through some code. I've found this code:
<div id="image_wrap"> {if count($Product.pictures) gt 0} <a href="{$Product.pictures.0|thumbnail:'shop':null:null:false:false:true}" data-fancyindex="0"> <img itemprop="image" alt="" src="{$Product.pictures.0|thumbnail:'shop':240:240:false:false:true}" /> </a> {/if} </div> {* If there are more than 1 picture, show the thumbnail-view *} {if count($Product.pictures) gt 1} <div id="slide_controls"> <div id="slideshow_left_arrow_bloc"> <div id="slideshow_left_arrow" class="prev browse left">«</div> </div> <div id="slideshow_right_arrow_bloc"> <div id="slideshow_right_arrow" class="next browse right">»</div> </div> </div> <div id="scrollable_wrapper"> <!-- root element for scrollable --> <div class="scrollable" id="scrollable"> <!-- root element for the items --> <div class="items"> <div class="slide"> {foreach from=$Product.pictures item=picture name=mainslider} <a class="item" href="{$picture|thumbnail:'shop':null:null:false:false:true}" title="{$Product.title|htmlspecialchars}" data-large="{$picture|thumbnail:'shop':240:240:false:false:true}" data-fancyindex="{$smarty.foreach.mainslider.index}"> <img alt="{$Product.title|htmlspecialchars}" src="{$picture|thumbnail:'shop':50:50:true}" /> </a> {if not $smarty.foreach.mainslider.last and $smarty.foreach.mainslider.iteration % 4 eq 0} </div><div class="slide"> {/if} {/foreach} </div> </div> </div> </div> {/if} </div>
BUT no matter what number I change the 240 with - nothing happens. Can you guys figure this out, so I can get a bigger picture than 240x240px.
Looking forward hearing from you.
Have a nice day.
Best regards
Nichlas