Product image 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)
Spam and unrelated posts will be removed immediately!
jazzyroam
Posts: 5
Joined: 13 Nov 2017, 07:48

Product image not showing

Post by jazzyroam » 17 Nov 2017, 02:05

Hi,

I facing an error. After I upload the product image, image not showing at preview box. So, I check whether the image is
upload to the server, in fact it is. then, I check the img url of preview box, I found that It point to
'preview/8/6/864433be7b413794588a2f87243a30ab.jpg'. when i open this link in browser, It show nothing.
But when i change the link to 'public/preview/8/6/864433be7b413794588a2f87243a30ab.jpg', my picture showing.
So, I wonder, do i miss out configure some path or anything? How do I resolve this?

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

Re: Product image not showing

Post by aimeos » 18 Nov 2017, 11:02

Laravel requires the "./public/" directory of your application to be the document root the base URL is pointing to. Installing it in a subdirectory won't work in all cases.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

jazzyroam
Posts: 5
Joined: 13 Nov 2017, 07:48

Re: Product image not showing

Post by jazzyroam » 21 Nov 2017, 03:04

Ya, by the way, i amend a bit on src path at ".\ext\ai-admin-jqadm\admin\jqadm\templates\product\item-image-default.php" and it seem to be work.

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

Re: Product image not showing

Post by aimeos » 22 Nov 2017, 00:04

Are you able to create a pull request, that makes this configurable?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply