Container size responsive image loader