IdentidadVisual Posted September 27, 2017 Share Posted September 27, 2017 I'm trying to edit the category.tpl in /listings for the prestashop 1.7 classic theme; I want to put the big category image fully occupying the card where the name and description of the category should be (already commented that in the template) But I'm having problems finding the correct code to pick the big image set for the category; I can only place the thumbnail with: <img src ="{$category.image.large.url}" and I've been looking all the morning for same topics on this matter, checked the prestashop documentation, etc... found nothing. Is there a way to achieve this, or do I have to work around it? Link to comment Share on other sites More sharing options...
IdentidadVisual Posted November 21, 2017 Author Share Posted November 21, 2017 I finally managed to find the variables (2 months later!!!), in case anyone else is interested, custom image sizes can ve invoked in smarty with: {$category.image.bySize.custom_size_name.url} 1 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