retories Posted March 25, 2014 Share Posted March 25, 2014 (edited) Hi there, I need help in changing the picture size of Products Category module. By default, it uses medium_default size. When I changed it to large_default size, some of the last item on the list doesn't appear somehow but it is there when you inspect it (please see attachment). The changes I made to code were: Change the width on the math equation, from 107 originally to 232 <ul {if count($categoryProducts) > 1}style="width: {math equation="width * nbImages" width=232 nbImages=$categoryProducts|@count}px"{/if}> Change the image size from medium_default originally to large_default <img src="{$link->getImageLink($categoryProduct.link_rewrite, $categoryProduct.id_image, 'large_default')|escape:'html'}" alt="{$categoryProduct.name|htmlspecialchars}" /> Anyone can help me? Really appreciate it, I can give you the URL to the development site to see it for yourself if needed. Thanks Edited March 25, 2014 by retories (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted March 26, 2014 Share Posted March 26, 2014 Can you share the url? The overall size might be excessive compared to the medium one, and you might need to adjust css Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now