#15698·opencart

Hard-coded product option image sizes

Author: mavelo-llcCreated Sep 24, 2026Updated Sep 24, 2026

Looked through previously reported issues and only saw this mentioned once (in 2012), but it was closed without comment.

https://github.com/opencart/opencart/blob/564e9f1848b4184d0828bd3f3c1a09e226db3c9b/upload/catalog/controller/product/product.php#L381

Instead of hard-coding a size, consider adding config_image_option_width and config_image_option_height to image sizes in store settings.