Page 1 of 1

Category Stage Images Not Showing

Posted: 07 Nov 2018, 12:16
by Golfmad
I have installed Aimeos locally and its working great but Im having issues showing new category images that I have uploaded. When I go to the cat page I get an empty

Code: Select all

<div class="catalog-stage-image"></div>
even with the default templates not touched. The new image is uploaded correctly and showing in the admin system.

Now I have checked the page is loading the correct category and it is. Also it worked fine with the default category image that was in place on install. Obviously I removed that image and replaced it with the new one.

The settings for the new image I have used are

Status: Enabled
Type: Stage
Title: Image Name

I have output the $mediaItems variable and it is showing an empty array so Im a bit stuck on what to do now.

Thanks

Re: Category Stage Images Not Showing

Posted: 07 Nov 2018, 12:47
by Golfmad
Ok after a bit more playing around, I set the image to Icon and it is now showing up. Can someone explain why the cat image set to Icon is loading in the stage template, I would have thought you would have needed to set the image type to "Stage"

Re: Category Stage Images Not Showing

Posted: 07 Nov 2018, 23:01
by aimeos
According to the demo data the category images must be added as:
- type: Standard
- list type: Stage

Might be better to switch to
- type: Stage
- list type: Standard
in 2019 versions which seems more logical