product image's preview is not visibile

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!
mmm
Posts: 19
Joined: 07 Aug 2018, 07:01

product image's preview is not visibile

Post by mmm » 17 Sep 2018, 06:19

Hi,
After adding product via aimeos admin interface, my product image's preview is not shown on front end while i can see them in public/files and public/preview folders.

<div class="media-item" data-src="http://localhost/preview/1/b/1b6a8c8c7b ... af767e.jpg" style="background-image: url("http://localhost/preview/1/b/1b6a8c8c7b ... af767e.jpg"); background-size: contain;"></div>


- Getting 404 error in console:
Failed to load resource: the server responded with a status of 404 (Not Found)

- In addition to 404 I also get CORB warnings in console:
Cross-Origin Read Blocking (CORB) blocked cross-origin response
http://localhost/preview/1/b/1b6a8c8c7b ... af767e.jpg with MIME type text/html...


My Config:
Windows 8.1
XAMPP
PHP 7.2.7
Laravel Framework 5.6.29
aimeos 2018.7
Last edited by mmm on 17 Sep 2018, 07:49, edited 1 time in total.

mmm
Posts: 19
Joined: 07 Aug 2018, 07:01

Re: product image's preview is not visibile

Post by mmm » 17 Sep 2018, 12:27

I found out that the preview link was directing to another aimeos application installed on my server.
By temporarily disbaling vhost of that installation my Product images are displaying Now.

Post Reply