V.2.6 for CE Phoenix Cart 1.0.8.6+
Tested with Phoenix 1.0.9.4
PHP 7.0 - 8.3
by @raiwa 
raiwa@phoenixcartaddons.com
www.phoenixcartaddons.com
based on Options Images BS v1.3 by Tsimi
----------------------------------------------------
Support:
https://phoenixcart.org/forum/addons/
----------------------------------------------------
Changes version 2.6

- Updated support for template classes to match coding in 1.0.9.4 core
- Tested with Phoenix 1.0.9.4 and PHP 8.3

--------------------------------------------------------------------------------------------------------
Changes version 2.5

- Fixed undefined errors in Admin -> Categories/Products -> Produst Attributes
- Tested with Phoenix 1.0.8.21 and PHP 8.2

--------------------------------------------------------------------------------------------------------
Changes version 2.4

- Fixed missaligned Value Input for multi language stores in Admin: Catalog: Products Attributes. Thanks to @Scratchilito for the report.

--------------------------------------------------------------------------------------------------------
Changes version 2.3

- Updated deprecated DIR_FS_CATALOG_IMAGES constant.

--------------------------------------------------------------------------------------------------------
Changes version 2.2

- Updated for Phoenix 1.0.8.6+
- Moved and renamed admin hook from siteWide to products_attributes
- Modernized code to match actual core standards

--------------------------------------------------------------------------------------------------------
Changes version 2.1

- Updated copyright info to Phoenix Cart
- Moved site wide shop hook to override template
- Modernized code to match actual core standards

----------------------------------------------------
Update 2.5 to 2.6
----------------------------------------------------

1.)
Uninstall the pi module "Options & Attributes Images"
OR
Uninstall the content module "Product Options Images"

2.) 
Transfer and replace all new files over. No core files will be overwritten.

3.)
Install the pi module "Options & Attributes Images"
OR
Install the content module "Product Options Images"

----------------------------------------------------
Update 2.4 to 2.5
----------------------------------------------------

1.) 
Transfer and replace the following file:
includes/hooks/admin/products_attributes/OptImages.php.

----------------------------------------------------
Update 2.2/3 to 2.4
----------------------------------------------------

1.) 
Transfer and replace all new files over. No core files will be overwritten.

----------------------------------------------------
Update 2.1 to 2.2
----------------------------------------------------

1.) 
Transfer and replace all new files over. No core files will be overwritten.

3.) Delete the following files and directories (if left empty):
includes\languages\english\hooks\admin\siteWide\swOptImages.php
includes\hooks\admin\siteWide\swOptImages.php
    
4.) Make sure you are using the "override" template and have it selected in:
Admin : Configuration : My Store : Template Selection
Otherwise you must copy:
 templates/override/includes/hooks/shop/siteWide/bsSelect.php
TO:
 templates/YOUR SELECTED TEMPLATE/includes/hooks/shop/siteWide/bsSelect.php
----------------------------------------------------
Update 2.0 to 2.1
----------------------------------------------------

1.)
Uninstall the pi module "Options & Attributes Images"
OR
Uninstall the content module "Product Options Images"

2.) 
Transfer and replace all new files over. No core files will be overwritten.

3.) Delete the following file:
    templates/default/includes/hooks/shop/siteWide/bsSelect.php
    
4.) Make sure you are using the "override" template and have it selected in:
Admin : Configuration : My Store : Template Selection
Otherwise you must copy:
 templates/override/includes/hooks/shop/siteWide/bsSelect.php
TO:
 templates/YOUR SELECTED TEMPLATE/includes/hooks/shop/siteWide/bsSelect.php

5.)
Install the pi module "Options & Attributes Images"
OR
Install the content module "Product Options Images"

******************************************************************************
THAT'S IT!
******************************************************************************