CodeHub

Responsive WordPress images using SRCSET and ACF

Make sure your image field is set to an array in ACF and then use the below.

‘150px’ is the maximum width your image will ever display.

Click the link to view the code