correct code for images