light documentation for handling images