WARNING: The products module will no longer generate preview and thumbnail images on image upload. Use CGSmartImage for this purpose. Though there is still some code to work with preview and thumb images if they already exist. This functionality will be removed at a later date.