Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mrglox

    (@mrglox)

    Ok I makes it works with file_get_contents($icon) and had to specify Field::make('image', 'icon', __('Icon'))->set_value_type('url').

    Thank you for your help !
    Keep the great job 😀

    Thread Starter mrglox

    (@mrglox)

    I’m using a carbon fields image field in back office with gutenberg block, that’s why I needs wp_get_attachment_image to display it.

    Maybe I should try with an other methods or front end or different variable passing…

    Do you have any known issues about it ? Don’t found anything about it.

    Thanks again !

    Thread Starter mrglox

    (@mrglox)

    Thank you for your fast answer !

    Is there a problem if we use wp_get_attachment_image ?

    I also tried the specified img and class with the loading but I still have the img tag.

    My SVGs are optimised with sketch and SVGOMG.

    Even after reupload, still <img src="//localhost:3000/app/uploads/2019/11/computer-1.svg" class="tabs__item-img style-svg" alt="" loading="eager">

    • This reply was modified 6 years, 5 months ago by mrglox.
    • This reply was modified 6 years, 5 months ago by mrglox.
    • This reply was modified 6 years, 5 months ago by mrglox.
    • This reply was modified 6 years, 5 months ago by mrglox.
Viewing 3 replies - 1 through 3 (of 3 total)