process.php (part of photo.php functionality)