added tmp photo column to images for store_in_background