Category Stage Images Not Showing

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Golfmad
Posts: 5
Joined: 01 Nov 2018, 11:42

Category Stage Images Not Showing

Post by Golfmad » 07 Nov 2018, 12:16

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

Golfmad
Posts: 5
Joined: 01 Nov 2018, 11:42

Re: Category Stage Images Not Showing

Post by Golfmad » 07 Nov 2018, 12:47

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"

User avatar
aimeos
Administrator
Posts: 3097
Joined: 01 Jan 1970, 00:00

Re: Category Stage Images Not Showing

Post by aimeos » 07 Nov 2018, 23:01

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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply