###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
| <?php | |
| // first, get the image object returned by ACF | |
| $image_object = get_field('my_image_field'); | |
| // and the image size you want to return | |
| $image_size = 'thumbnail'; | |
| // now, we'll exctract the image URL from $image_object | |
| $image_url = $image_object['sizes'][$image_size]; |