Home › Forums › Feature Requests › Choose what size 'Image URL' returns › Reply To: Choose what size 'Image URL' returns
You can do that by
1) Create a custom custom field setting https://www.advancedcustomfields.com/resources/adding-custom-settings-fields/ that uses a radio field, you’ll probably need to get the existing image sizes, don’t know how to do that off the top of my head.
2) Creating an acf/format_value filter https://www.advancedcustomfields.com/resources/acf-format_value/ that returns the URL based on the custom setting.
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’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.