简体   繁体   中英

how do i show an image in laravel with infyom crud generator

i have been trying to show an image that i already stored on a folder and stored the path in the database, i need to show it on the edit page that i created using the infyom CRUD generator.

Been trying like this and even adding the img tag but it just displays the broken image

<!-- Product Image Field -->
<div class="form-group col-sm-6">
{!! Form::label('product_image', 'Imagen:') !!}
{!! Html::image('product_image') !!}
{{ HTML::image(Storage::url('product_image')) }} 
{!! Form::file('product_image') !!}
</div>
<div class="clearfix"></div>

any tips / hints or help on this is greately appreciated. thanks

Hello @SolarConfinement Vishal Here from InfyOm and we are not supporting image Right now using CRUD generator thanks.

But you can get you image path and show it into blade.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM