moved photos into local data