All the image objects taken with Take Photo or Pick photo from library have the properties name and size that you can use. Just as the tutorial uses current.path you could use current.name and current.size.
For videos you’d need to use the Pick files flow function, but it should work similar to the photo functions