Better loading of attached images