Element query based responsive image solution