aimeos / ai-admin-jqadm

Aimeos e-commerce Vue.js+Bootstrap based admin interface
https://aimeos.org
GNU Lesser General Public License v3.0
106 stars 43 forks source link

uploaded product's images are not shown #79

Closed lamaf90 closed 5 years ago

lamaf90 commented 5 years ago

Environment

  1. Version: 2018.10
  2. Integration: Symfony
  3. System: Windows

Describe the bug Hi, I have created a new product but the images uploaded are not shown in administration interface. Please help, thank you!

Expected behavior show uploaded images in administration interface

Screenshots image

aimeos commented 5 years ago

You've installed Aimeos in a subdirectory, you you have to adapt the client/html/common/content/baseurl to your real path in your config file (depends on your Symfony version)

lamaf90 commented 5 years ago

Thank you for your help. I have tried to adapt the client/html/common/content/baseurl to my real path in my config file as shown attached but I still have the same problem.

image

However, I notice that after uploaded my images they are saved automatically in different directories located in two others named "files" and "preview" which were automatically created. I don't really understand that behavior. May be the problem.

image

aimeos commented 5 years ago

You have to configure an URL for common/content/baseurl like: http://localhost/aimeos/web/uploads

lamaf90 commented 5 years ago

Hi, thank you for your help. I did exactly what you suggested but I still have the problem. I also don't understand why my files are not saved in the folder configured (localhost/aimeos/web/uploads/images). Please any idea?

adetheprince commented 4 years ago

client/html/common/content/baseurl I dont have this on my aimeos fresh install. I am using Symfony 5 , installed this to my server view composer.

/var/www/html/myshop/

I dont have these folders you mentioned so I guess I am using a different version?

I downloaded from you https://github.com/aimeos/aimeos so how can edit BaseUrl and use a correct paths if someone installed it in sub folder like me.

aimeos commented 4 years ago

Symfony 5 isn't officially supported due to the FOSUserBundle isn't available for Symfony 5. The URL is the Laravel 6 based Aimeos distribution.

In case of Laravel, please adapt the APP_URL setting in the .env file of your installation to your used URL.

adetheprince commented 4 years ago

Yeah thanks not sure about the version I was using, but I have edited the .env file and set the path mywebsite.com instead if localhost:8000, and it works. One more thing I would love to know is how to change the home page shop/(index.php) to look like the demo you have or Performance site with more items. like this, sorry i am totally new to laravel or symfony.

image

Thanks for your response.