[Update] providers_controller update
Use the helper function to determine the image size string
update the JSON