Added support for photos.transform