Add actual image functionality to images model