0

I've created a custom block in D8 via the UI. Is there any way to reference the files path in order to use images in the block without having to create a module?

1 Answer 1

0

I might be misunderstanding, but in a custom block you should be able to use standard img tags to display an image you've uploaded to your site.

1
  • Yes, but the img tag needs the path to the image, and I'm looking for a way in D8 to not hardcode that path.
    – JAyenGreen
    Commented Jul 24, 2017 at 12:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.