Default images folder

Ask the community for help and support.
jda
Posts: 5
Joined: Fri Aug 05, 2022 11:27 pm

Default images folder

Post 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 :?

Tags:
14Steve14
VIP Member
VIP Member
Posts: 549
Joined: Fri Oct 25, 2019 7:01 pm
Has thanked: 8 times
Been thanked: 49 times

Re: Default images folder

Post 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.
Denzel
VIP Member
VIP Member
Posts: 98
Joined: Sat Oct 31, 2020 7:22 pm
Has thanked: 9 times
Been thanked: 15 times

Re: Default images folder

Post 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.
Denzel
VIP Member
VIP Member
Posts: 98
Joined: Sat Oct 31, 2020 7:22 pm
Has thanked: 9 times
Been thanked: 15 times

Re: Default images folder

Post 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
You do not have the required permissions to view the files attached to this post.
LeeFoster
VIP Member
VIP Member
Posts: 228
Joined: Sun Feb 28, 2021 9:41 pm
Has thanked: 1 time
Been thanked: 5 times

Re: Default images folder

Post 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.
Denzel
VIP Member
VIP Member
Posts: 98
Joined: Sat Oct 31, 2020 7:22 pm
Has thanked: 9 times
Been thanked: 15 times

Re: Default images folder

Post 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...
Fiber
VIP Member
VIP Member
Posts: 121
Joined: Mon Oct 26, 2020 12:16 pm
Has thanked: 12 times
Been thanked: 19 times

Re: Default images folder

Post 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
Turn up the Max
Denzel
VIP Member
VIP Member
Posts: 98
Joined: Sat Oct 31, 2020 7:22 pm
Has thanked: 9 times
Been thanked: 15 times

Re: Default images folder

Post 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:
You do not have the required permissions to view the files attached to this post.
Fiber
VIP Member
VIP Member
Posts: 121
Joined: Mon Oct 26, 2020 12:16 pm
Has thanked: 12 times
Been thanked: 19 times

Re: Default images folder

Post by Fiber »

Denzel wrote: Thu Sep 01, 2022 5:36 pm Both bugs should be fixed with this version:
Confirmed.
Turn up the Max
artfulweb
VIP Member
VIP Member
Posts: 119
Joined: Thu Oct 29, 2020 12:34 pm
Has thanked: 11 times
Been thanked: 4 times

Re: Default images folder

Post 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?
Post Reply