• Resolved Dan O

    (@indypldano)


    When I use the control type> image block there are only options for ‘upload’ and ‘media library’. I would like to customize this to allow a url selection as well. Does anyone have a solution to allow an image block “insert from url”?

    <?php if ( isset( $attributes['event-img']['url'] ) ) : ?>
    <img src="<?php echo esc_url( $attributes['event-img']['url'] ); ?>" alt="<?php echo esc_attr( $attributes['event-img-alt'] ); ?>">
    <?php endif; ?>			
    </figure>

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nK

    (@nko)

    Hey.

    Unfortunately, there is no such option. Not sure it will be implemented soon, as not much interest in it yet https://github.com/nk-crew/lazy-blocks/issues/70

    Regards, nK.

    Thread Starter Dan O

    (@indypldano)

    Since the standard image block in WordPress has options for all three: upload, from media library and insert from url, it seems that adding ‘insert from url’ would be an expected and useful option to add to ‘control type> image block’. Thanks for your consideration of this proposed addition.

    Thread Starter Dan O

    (@indypldano)

    @nko – I see that my initial inquiry was marked as ‘Resolved’ but the option to ‘Insert from URL’ is still not available with the Lazy Blocks image insert field.

    Please add this standard Gutenberg image block insert option. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘‘insert from url’ not available with image block’ is closed to new replies.