Add basic logic for image creation.