Image Upload
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 2
- Joined: 30 Sep 2017, 15:01
Image Upload
Hi,,, How can I change the file storage path uploaded to public_html instead of public folder ?
I use Laravel 5.5 and the dev-master aimeos package
*) MyFolder // Project Folder
*) public_html // Root Folder
Thank you, all responses will be greatly appreciated
Note: This problem for shared hosting, for local development it seems all is fine

I use Laravel 5.5 and the dev-master aimeos package
*) MyFolder // Project Folder
*) public_html // Root Folder
Thank you, all responses will be greatly appreciated
Note: This problem for shared hosting, for local development it seems all is fine
Re: Image Upload
Have a look here: https://laracasts.com/discuss/channels/ ... -laravel-5
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

-
- Posts: 2
- Joined: 30 Sep 2017, 15:01
Re: Image Upload
Thank you for your prompt response, I've tried to do like that and also have followed some articles like
https://blog.tiger-workshop.com/change- ... laravel-5/
https://www.dvdheiden.nl/2015/06/13/lar ... directory/
But I still have the same problem, every file that is uploaded is always stored in public folder application. Even if the public folder is deleted, the public folder will be re-created when trying to upload the file again. I also tried to re-install via ssh then move all files from public folder to public_html folder as usual, but the problem is not solved.
https://blog.tiger-workshop.com/change- ... laravel-5/
https://www.dvdheiden.nl/2015/06/13/lar ... directory/
But I still have the same problem, every file that is uploaded is always stored in public folder application. Even if the public folder is deleted, the public folder will be re-created when trying to upload the file again. I also tried to re-install via ssh then move all files from public folder to public_html folder as usual, but the problem is not solved.
Re: Image Upload
If you are able to successfully change the output of "public_path()" to your "./public_html" directory, then it will work because the filesystem configuration for image uploads is
You could overwrite the "fs" resource in your ./config/shop.php but that would only affect Aimeos, not the rest of your Laravel application.
Code: Select all
'resource' => array(
'fs' => array(
'adapter' => 'Standard',
'basedir' => public_path(),
'tempdir' => storage_path( 'tmp' ),
),
),
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

-
- Posts: 13
- Joined: 27 Dec 2018, 07:32
Re: Image Upload
Hi,
I am unable to upload image of product from mobile when i am using Aimeos in App. Please guide me with details.
I am unable to upload image of product from mobile when i am using Aimeos in App. Please guide me with details.
Re: Image Upload
It works without problems from an Android smart phone in the admin interface demo:
http://admin.demo.aimeos.org
Please check if your APP_URL in the .env file of your application is correct (incl. port, etc.)
http://admin.demo.aimeos.org
Please check if your APP_URL in the .env file of your application is correct (incl. port, etc.)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
