removed all the whitespace to images