Container size based responsive image loader