1
這裏是我想在laravel方式產生laravel動態圖像路徑
<img src="public/assets/uploads/driver/<?php echo $DriverDetail['DriverPhoto'];?>">
我試着用
{{ HTML::image('public/assets/uploads/driver/', 'Driver Photo', array('class' => 'student-listing-photo')) }}
但我怎麼可以給HTML::image
內價值$DriverDetail['DriverPhoto'];
轉換我的圖片標籤標籤。
你的意思'{{HTML ::圖像( '公共/資產/上傳/司機/' $ DriverDetail [ 'DriverPhoto'],「驅動器照片',數組('class'=>'student-listing-photo'))}}'? – Mohebifar 2015-01-21 07:00:59