Page 1 of 2

Image Management in osCommerce 2.2 - PhoenixCart 1.1.0.8

Posted: Fri Oct 16, 2026 1:35 pm
by bonbec
To be clear from the start, I am not asking anyone to write code for me.
I simply need some help thinking this through, as I am struggling to make a decision.
Your input might help tip the scales one way or the other.

In my osCommerce 2.2 admin panel, I have a feature that allows me to upload up to 5 full-size images and 5 corresponding thumbnails.
images_osc22.jpg
This is structured as follows within the `products` database table:
images_bdd_products_osc22.jpg
It is a very convenient and fast way to add or modify images.

PhoenixCart does not have this.
Instead, you have to navigate to a specific tab (I don't like this sytem) and go through numerous clicks just to add full-size images (there is no support for thumbnails).
images_phoenixcart.jpg
While there are several add-ons designed to address this, none of them suit my needs, particularly regarding thumbnails—which, in my case, are often distinct from their full-size counterparts.
Furthermore, in PhoenixCart, the primary image is stored in the `products` table, while additional images are stored in a separate `products_images` table.

So, I am faced with a choice:
1) Adapt the osCommerce 2.2 system by modifying the PhoenixCart admin panel.
Using a hook written by @raiwa I could essentially clone that admin functionality.
However, if there are any major updates to the native PhoenixCart admin system, I could run into issues down the line.
2) Migrate my full-size images into the `products` and `products_images` tables to align with the PhoenixCart standard—though this would mean losing my custom thumbnails.

That is my dilemma.
If you were in my shoes, which option would you choose?
Or is there another solution I haven't considered?
Thanks in advance for your opinions.

Re: Image Management in osCommerce 2.2 - PhoenixCart 1.1.0.8

Posted: Fri Oct 16, 2026 2:00 pm
by ecartz
bonbec wrote: ↑Fri Oct 16, 2026 1:35 pm If you were in my shoes, which option would you choose?
Assuming the set of options from raiwa don't help you, I'd migrate to the Phoenix system and potentially add thumbnails to it.

If you migrate the system that you are using now to Phoenix, there are several problems:

1. You're limited to five images (and thumbnails).
2. Any changes to Phoenix handling, and you have to essentially port from scratch.

You might also consider adding a products_image.php page that you can link from your product rows in admin. If the problem is that you have too many clicks to get where you want. You could create that with a new page and hooks.

Re: Image Management in osCommerce 2.2 - PhoenixCart 1.1.0.8

Posted: Fri Oct 16, 2026 3:15 pm
by raiwa
I wonder if you couldn't replace the custom thumbnails by the auto generated thumbnails from my Kissit Image thumbnailer or using one of Cloudflares image delivery system.

Re: Image Management in osCommerce 2.2 - PhoenixCart 1.1.0.8

Posted: Fri Oct 16, 2026 9:26 pm
by Omar_one
I hope I am understanding you correctly @bonbec. And sorry if I haven't.

Managing multiple images for a single product used to be challenging for us, so I built a custom hook to streamline the workflow. Here is what it includes:
- Dedicated Tab: Manage all product images in one convenient place.
- Visibility Control: Show or hide main and gallery images without deleting them (files and database records remain safe).
- Quick Actions: Swap a gallery image with the main image instantly.
- Smart Deletion: Permanently delete single gallery images (removes both the database record and the file) or clear entire galleries with automatic folder cleanup.
- Fast Uploads: Drag-and-drop multi-image uploads (powered by Dropzone), select multiple files at once, and preview images before uploading them.

here a screenshot
product_images.JPG

Re: Image Management in osCommerce 2.2 - PhoenixCart 1.1.0.8

Posted: Fri Oct 23, 2026 9:04 am
by bonbec
Thanks for the quick reply; I appreciate it. Sorry for my own late response—sometimes I’m forced to disappear from the forum, much against my will.
ecartz wrote: ↑Fri Oct 16, 2026 2:00 pm... If you migrate the system that you are using now to Phoenix, there are several problems:
1. You're limited to five images (and thumbnails).
2. Any changes to Phoenix handling, and you have to essentially port from scratch.
5 images is really the maximum I ever include. Out of the 1,200 items I have, only about ten have 5 images. Usually, it’s 3 or 4.
I am well aware that one should never touch the core code; it’s a recipe for trouble. I experienced this firsthand with osC 2.2.
ecartz wrote: ↑Fri Oct 16, 2026 2:00 pmYou might also consider adding a products_image.php page that you can link from your product rows in admin. If the problem is that you have too many clicks to get where you want. You could create that with a new page and hooks.
That’s an idea worth considering. Personally, I’m not a big fan of a tab-based system; keeping everything on a single page makes things easier and faster to work with. So, creating a new, comprehensive page using hooks could be a suitable approach.

Re: Image Management in osCommerce 2.2 - PhoenixCart 1.1.0.8

Posted: Fri Oct 23, 2026 9:08 am
by burt
bonbec wrote: ↑Fri Oct 23, 2026 9:04 am Personally, I’m not a big fan of a tab-based system; keeping everything on a single page makes things easier and faster to work with. So, creating a new, comprehensive page using hooks could be a suitable approach.
I think I remember reading maybe, Heather @Mort_Lemur also did not enjoy the tabbed system and so made a one page system instead...

EDIT: found it.
https://phoenixcart.org/forum/app.php/a ... t_manager/

Re: Image Management in osCommerce 2.2 - PhoenixCart 1.1.0.8

Posted: Fri Oct 23, 2026 9:08 am
by bonbec
raiwa wrote: ↑Fri Oct 16, 2026 3:15 pm I wonder if you couldn't replace the custom thumbnails by the auto generated thumbnails from my Kissit Image thumbnailer or using one of Cloudflares image delivery system.
Automatic thumbnail generation doesn't work for my needs.
For example:
araproduction_images.jpg
the image on the left is my original, full-sized image; if I process it automatically, it results in the thumbnail shown at the top right—which is hard to see. The thumbnail at the bottom right is the one I use; even though it doesn't show the entire original image, it is much clearer and easier to see.

Re: Image Management in osCommerce 2.2 - PhoenixCart 1.1.0.8

Posted: Fri Oct 23, 2026 9:15 am
by bonbec
Omar_one wrote: ↑Fri Oct 16, 2026 9:26 pmI hope I am understanding you correctly @bonbec. And sorry if I haven't.
Great work !
I saw that @tessthepup also created a fairly similar system.
The only thing is, I’m not really a fan of tabbed systems (I know, I’m a bit different from most people).
Thanks for the idea. If I don’t manage to achieve what I’m aiming for, I’ll look into that type of solution.

Re: Image Management in osCommerce 2.2 - PhoenixCart 1.1.0.8

Posted: Fri Oct 23, 2026 9:16 am
by Mort_Lemur

Re: Image Management in osCommerce 2.2 - PhoenixCart 1.1.0.8

Posted: Fri Oct 23, 2026 9:19 am
by bonbec
burt wrote: ↑Fri Oct 23, 2026 9:08 am I think I remember reading maybe, Heather @Mort_Lemur also did not enjoy the tabbed system and so made a one page system instead...
Yes, exactly; now that you mention it, it comes back to me.
burt wrote: ↑Fri Oct 23, 2026 9:08 amEDIT: found it.
https://phoenixcart.org/forum/app.php/a ... t_manager/
Thank you very much ! I’m going to download it right away.