• Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #23675 - Supcategory images on categorypage not loading

Hello,

Ive installed the theme an all looks very good.

Im using the stantard page as category page only the subcategory images are not loading.
can you please have a look on what might be te problem?

I allso want to ask you if you can help me with a couple of small background and layout changes.
offcourse I will pay you for your time.

Attachments:

Knipsel.JPG (130.6 KiB)

Comments

Fred 18 Aug 2022, 19:50

Hi, Fabian.
That’s because there is no thumbnails for those categories. You can change displaying thumbnail images to direct category images
- Open the file /themes/alysum/templates/catalog/listing/category.tpl
find the line

{*<img class="replace-2x" src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'category_default')}" alt="{$subcategory.name}"/>*}

replace it with

<img class="replace-2x" src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'category_default')}" alt="{$subcategory.name}"/>

and remove next line

<img class="replace-2x" src="{$urls.img_cat_url}{$subcategory.id_category}_thumb.jpg" alt="{$subcategory.name}" width="320" height="190" loading="lazy">
Fabian Draaijers 28 Aug 2022, 10:23

Thanks,

that is working.

can you please remove my website login credentials as the are now displayed in the ticket

Fred 28 Aug 2022, 11:21

You are welcome.
Done