added background processing for product images