Start implementing the image handling (untested)