• Hello all,

    I am creating a custom wordpress block and I want the user to be able to add in an image. I am looking through the components on the editor (wp.compnents) and I do not see one for image.

    What is the best way to add in an image component for my custom block?

    • This topic was modified 2 years, 7 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter philm001

    (@philm001)

    Ok so I don’t think that my topic should be moved.

    I am creating a custom plugin and in this plugin I want to be able to select an image to apply animation effects on to. However, using the wp.component, I do not see a module for image and I am wondering how do I add n image component to my custom plugin.

    Thread Starter philm001

    (@philm001)

    So I found the CardMedia component. I am looking into how to use it so that I can get the dialog to appear on editor for the user to select the image

    Thread Starter philm001

    (@philm001)

    Ok, I think that I have it. Ran into another issue and do not need feedback on this post

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom plugin – Image component’ is closed to new replies.