Default images folder
Default images folder
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
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
Tags:
-
- VIP Member
- Posts: 578
- Joined: Fri Oct 25, 2019 7:01 pm
- Has thanked: 9 times
- Been thanked: 49 times
Re: Default images folder
@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.
-
- VIP Member
- Posts: 98
- Joined: Sat Oct 31, 2020 7:22 pm
- Has thanked: 9 times
- Been thanked: 15 times
Re: Default images folder
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.
-
- VIP Member
- Posts: 98
- Joined: Sat Oct 31, 2020 7:22 pm
- Has thanked: 9 times
- Been thanked: 15 times
Re: Default images folder
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...
You do not have the required permissions to view the files attached to this post.
-
- VIP Member
- Posts: 228
- Joined: Sun Feb 28, 2021 9:41 pm
- Has thanked: 1 time
- Been thanked: 5 times
-
- VIP Member
- Posts: 98
- Joined: Sat Oct 31, 2020 7:22 pm
- Has thanked: 9 times
- Been thanked: 15 times
Re: Default images folder
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...
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...
-
- VIP Member
- Posts: 121
- Joined: Mon Oct 26, 2020 12:16 pm
- Has thanked: 12 times
- Been thanked: 19 times
Re: Default images folder
Testing 1.0.8.17 php 7.4.29
Make a new category and insert image
add product in the new category
Editing an existing category or article works fine
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
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
Turn up the Max
-
- VIP Member
- Posts: 98
- Joined: Sat Oct 31, 2020 7:22 pm
- Has thanked: 9 times
- Been thanked: 15 times
Re: Default images folder
Both bugs should be fixed with this version:
You do not have the required permissions to view the files attached to this post.