laravel-mail-editor
laravel-mail-editor copied to clipboard
How to insert Picture ?
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...).



What is the right way to do it if any ? Thanks, Denis
Hi @dgillier Did you get any resolution to this problem???
Thanks
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')"/>
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