fixed images bug. PNG/GIF supported as well