[TASK] Refactors generating responsive images to imgQuery class