Image loading framework