Category Stage Images Not Showing
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Category Stage Images Not Showing
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
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
Code: Select all
<div class="catalog-stage-image"></div>
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
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
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
- 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, give us a star
If you like Aimeos, give us a star