Madbits Posted August 20, 2020 Share Posted August 20, 2020 (edited) Subcategory Thumbnails do not show up. Here is a peak at the DOM. <div class="thumbnail"> <a href="https://x.ro/perdele-simple" title="Simple"> <img class="replace-2x img-responsive" src="https://x.ro/img/c/ro-default-Niara_medium.jpg" alt="Simple" title="Simple" width="125" height="125"> </a> <div class="caption"> <h3 class="subcategory-title text-center"> <a href="https://x.ro/perdele-simple">Simple</a> </h3> </div> </div> I have created a new "Imagine" type named Niara_medium with a width & height of 125, but to no use, its still not displaying. I have regenerated the thumbnails twice afterwards, nothing. Any ideas? Thanks. Edited August 20, 2020 by Madbits Removing website URL to avoid crawlers. Link to comment Share on other sites More sharing options...
0 Madbits Posted August 21, 2020 Author Share Posted August 21, 2020 (edited) 6 hours ago, Wartin said: I'm not sure... maybe regenerating .htaccess? From Preferences->SEO and URLs. In the bottom there is a button to Regenerate it. Sadly doesn't work, drives me crazy in here. Edit: Instead, what I did was as follows: In the theme folder, find category.tpl and open it. Search for the "thumbnail" div block and replace the image source with the following: Quote {Link::getGenericImageLink( 'subcategories', $subcategory.id_image, 'Niara_medium', etc...(bla,bla) Afterwards while inspecting your DOM, you'll find out that your image has the following source: Quote <img class="replace-2x img-responsive" src="https://x.ro/img/23-Niara_medium.jpg" alt="Simple" title="Simple" width="125" height="125"> Upload your wanted thumbnail to /img/ under the name of the generated source. Uploading the thumbnails via your dashboard will still not work. Edited August 21, 2020 by Madbits Link to comment Share on other sites More sharing options...
0 Madbits Posted August 21, 2020 Author Share Posted August 21, 2020 Bump? Link to comment Share on other sites More sharing options...
0 Wartin Posted August 21, 2020 Share Posted August 21, 2020 I'm not sure... maybe regenerating .htaccess? From Preferences->SEO and URLs. In the bottom there is a button to Regenerate it. Link to comment Share on other sites More sharing options...
Question
Madbits
Subcategory Thumbnails do not show up.
Here is a peak at the DOM.
I have created a new "Imagine" type named Niara_medium with a width & height of 125, but to no use, its still not displaying.
I have regenerated the thumbnails twice afterwards, nothing.
Any ideas?
Thanks.
Edited by MadbitsRemoving website URL to avoid crawlers.
Link to comment
Share on other sites
3 answers to this question
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