added fallback mechanism for image loading: large -> medium -> small, if file not found