Page 1 of 3
Default images folder
Posted: Fri Aug 05, 2022 11:39 pm
by jda
Hi,
Thanks for creating and supporting Phoenix cart. I've searched the images folder threads but they all seem dead now.
Did anyone come up with a simple way to have product images in their own folder instead of just in the default images folder? The demo has them in /sample but I can only upload to the default.
Thanks,
jda

Re: Default images folder
Posted: Sun Aug 07, 2022 10:16 am
by 14Steve14
@Denzel did create an addon for older versions but has never released it for newer versions. No idea why as it was a great addon. May be contact him to see if he is planning an update of this great addon.
Re: Default images folder
Posted: Tue Aug 23, 2022 7:07 am
by Denzel
Unfortunately, the last official version of the Responsive File Manager doesn't run with PHP 8. There are a few workarounds, but I'm not quite there yet. I also have to look for the hook calls in the new admin/catalog.php structure first... It will probably take a while.
Re: Default images folder
Posted: Wed Aug 31, 2022 8:23 am
by Denzel
I have adapted a new version of the file manager for image handling. Tested with Phoenix 1.0.8.17 and php8. Maybe someone can test and report before uploading...
overview.PNG
Re: Default images folder
Posted: Wed Aug 31, 2022 9:19 am
by LeeFoster
Denzel wrote: ↑Wed Aug 31, 2022 8:23 am
I have adapted a new version of the file manager for image handling. Tested with Phoenix 1.0.8.17 and php8. Maybe someone can test and report before uploading...
overview.PNG
Just tested on a CE Phoenix v1.0.8.16 store and it works without issue.
Re: Default images folder
Posted: Wed Aug 31, 2022 10:56 am
by Denzel
Maybe I should add some installation instructions:
Preset is "admin" as adminfolder and "images" as imagesfolder. You may change this after unzipping in admin/ext/filemanager/config/config.php if needed. After that just upload to the given folders...
Re: Default images folder
Posted: Wed Aug 31, 2022 12:29 pm
by Fiber
Testing 1.0.8.17 php 7.4.29
Make a new category and insert image
Code: Select all
Notice: Undefined index: fm_categories_image_0 in E:\xampp\htdocs\10817\includes\hooks\admin\catalog\filemanager.php on line 18
Code: Select all
Fatal error: Uncaught TypeError: Argument 1 passed to Text::prepare() must be of the type string, null given, called in E:\xampp\htdocs\10817\includes\hooks\admin\catalog\filemanager.php on line 18 and defined in E:\xampp\htdocs\10817\includes\system\versioned\1.0.8.2\text.php:63 Stack trace: #0 E:\xampp\htdocs\10817\includes\hooks\admin\catalog\filemanager.php(18): Text::prepare(NULL) #1 E:\xampp\htdocs\10817\includes\system\versioned\1.0.8.1\hooks.php(150): hook_admin_catalog_filemanager->listen_insertCategoryUpdateCategoryAction(Array) #2 E:\xampp\htdocs\10817\admin06\includes\actions\catalog\insert_category.php(48): hooks->cat('insertCategoryU...') #3 E:\xampp\htdocs\10817\admin06\includes\segments\process_action.php(19): require('E:\\xampp\\htdocs...') #4 E:\xampp\htdocs\10817\admin06\catalog.php(32): require('E:\\xampp\\htdocs...') #5 {main} thrown in E:\xampp\htdocs\10817\includes\system\versioned\1.0.8.2\text.php on line 63
add product in the new category
Code: Select all
Notice: Undefined index: fm_products_image_0 in E:\xampp\htdocs\10817\includes\hooks\admin\catalog\filemanager.php on line 63
Code: Select all
Fatal error: Uncaught TypeError: Argument 1 passed to Text::prepare() must be of the type string, null given, called in E:\xampp\htdocs\10817\includes\hooks\admin\catalog\filemanager.php on line 63 and defined in E:\xampp\htdocs\10817\includes\system\versioned\1.0.8.2\text.php:63 Stack trace: #0 E:\xampp\htdocs\10817\includes\hooks\admin\catalog\filemanager.php(63): Text::prepare(NULL) #1 E:\xampp\htdocs\10817\includes\system\versioned\1.0.8.1\hooks.php(150): hook_admin_catalog_filemanager->listen_insertProductAction(Array) #2 E:\xampp\htdocs\10817\admin06\includes\segments\process_action.php(20): hooks->cat('insertProductAc...') #3 E:\xampp\htdocs\10817\admin06\catalog.php(32): require('E:\\xampp\\htdocs...') #4 {main} thrown in E:\xampp\htdocs\10817\includes\system\versioned\1.0.8.2\text.php on line 63
Editing an existing category or article works fine
Re: Default images folder
Posted: Thu Sep 01, 2022 5:36 pm
by Denzel
Fiber wrote: ↑Wed Aug 31, 2022 12:29 pm
Testing 1.0.8.17 php 7.4.29
Make a new category and insert image
add product in the new category
Both bugs should be fixed with this version:
Re: Default images folder
Posted: Fri Sep 02, 2022 7:35 am
by Fiber
Denzel wrote: ↑Thu Sep 01, 2022 5:36 pm
Both bugs should be fixed with this version:
Confirmed.
Re: Default images folder
Posted: Tue Sep 13, 2022 3:05 pm
by artfulweb
Hi, just tried it and there is no way to define a new folder on the page. Still just the default image directory. Where do you make a new folder?