beautifies image loading