creation-handicap Posted November 13, 2017 Share Posted November 13, 2017 Hello! Is there a way to display images in random size in PS 1.7.x? I'm building a masonry gallery on my frontpage with http://miromannino.github.io/Justified-Gallery/ When I set up a new image I have to put in the height and the width. Is there a possibility that I only write the height of an image and then the width is calculated accordingly? Link to comment Share on other sites More sharing options...
creation-handicap Posted November 21, 2017 Author Share Posted November 21, 2017 Update: We just took the original images as workaround. We also took this module to achieve this:https://addons.prestashop.com/en/products-homepage/17183-home-categories.html In the template modules/homecategories/views/templates/hook/homecategories.tpl of this "Home Categories Module" I've put in this code for showing the original image: <img src="{$img_cat_dir|escape:'htmlall':'UTF-8'}{$category.id_category|intval}.jpg" alt="{$category.name|escape:'htmlall':'UTF-8'}" title="{$category.name|escape:'htmlall':'UTF-8'}" class="categoryImage" /> 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