0

I am using below code to get the wordpress attachment image

wp_get_attachment_image_src($img,'full')

I am getting the image in the full resolution I am using it to display the images on a owl carousel the image looks fine on the desktop but on the mobile the image looks blurry I have checked the image source and its fetching 150x150 thumbnail in the mobiles.

Is there any way I can fetch the full resolution image on the mobile.

  • Have you tried with this function wp_get_attachment_image_url($imageID, 'full'); – Gopala krishnan Nov 2 '19 at 8:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.