Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to insert Picture ? #100

Open
dgillier opened this issue Jun 9, 2020 · 3 comments
Open

How to insert Picture ? #100

dgillier opened this issue Jun 9, 2020 · 3 comments
Labels
bug Something isn't working enhancement New feature or request testing v5 version 5, supports both API and self hosted

Comments

@dgillier
Copy link

dgillier commented Jun 9, 2020

I know that the doc is online, but can't find a way to insert an image into a template with {{asset('img/brand/bms_logo_black.png')}}...

Preview are not really working (pict is correctly displayed depending on where...).

Screenshot 2020-06-09 at 15 44 56

Screenshot 2020-06-09 at 15 45 08

Screenshot 2020-06-09 at 15 45 18

What is the right way to do it if any ?
Thanks, Denis

@dgillier dgillier added the bug Something isn't working label Jun 9, 2020
@Elshaden
Copy link

Elshaden commented Sep 1, 2020

Hi @dgillier
Did you get any resolution to this problem???

Thanks

@Alina-chan
Copy link

Hey @dgillier, if you are trying to output the image in your HTML code, maybe Blade will help
<img src="@asset('img/brand/bms_logo_black.png')"/>

@Qoraiche Qoraiche moved this from To do to In progress in Hacktoberfest Oct 1, 2020
@Qoraiche Qoraiche moved this from In progress to Review in progress in Hacktoberfest Oct 1, 2020
@Qoraiche Qoraiche moved this from Review in progress to To do in Hacktoberfest Oct 1, 2020
@ReeceM ReeceM added this to the New Features and updates milestone Mar 9, 2021
@Qoraiche
Copy link
Owner

Qoraiche commented Jul 16, 2021

Hey, thanks for reporting and sorry for the late reply,
This issue happens because for the no markdown templates we are basically using the built-in WYSIWYG plugin to preview/render blade templates and not actually compiling it as we do for a markdown template, so you need to use the full image URL (without using the asset or mix function) in order to preview it, anyway i have added this to our future improvements.

Thanks

@Qoraiche Qoraiche added the enhancement New feature or request label Jul 16, 2021
@Qoraiche Qoraiche added v5 version 5, supports both API and self hosted testing labels Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request testing v5 version 5, supports both API and self hosted
Projects
No open projects
Hacktoberfest
  
To do
Development

No branches or pull requests

5 participants