Home › Forums › General Issues › Understanding srcset with ACF › Reply To: Understanding srcset with ACF
I think it may have been the space in the image size name.
`add_image_size( ‘home-page-portrait size’, 750, 1000, false );’
I don’t think image size names can have spaces as they are slugs. This would work:
‘add_image_size( ‘home-page-portrait’, 750, 1000, false );’
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.