Support

Account

Home Forums Feature Requests Image field to show image from external URL without using WP Media Reply To: Image field to show image from external URL without using WP Media

  • hello! how are you?

    I create a URL field and I would like to show the image, I use elementor pro and acf pro.

    how can i achieve it?

    try using the following but it tells me there is a syntax error.

    <?php if( get_field('image') ): ?>
        <img src="<?php the_field('image'); ?>" />
    <?php endif; ?>

    ERROR: sytax error, unexpected ‘<‘, expecting end of file