Hi, if you have time left: I need the same code included in the upload function of new products. You can recognize it with // BOF Image convert by lafor
When images are uploaded to the server as part of a product, they are placed in the map DIR_FS_CATALOG_ORIGINAL_IMAGES. Then GD2 will copy and change the images into other map as you can see in the code. But after the upload and before the changing your code can modify the images to ratio 4:3 same as it now does in the separate convert file from you.
Please let me know when you can do this and what I have to pay for it.