view image
This commit is contained in:
@@ -67,7 +67,7 @@ class VentureCapitalFundController extends Controller
|
||||
*/
|
||||
public function show($id)
|
||||
{
|
||||
$alternativeInvestmentFund = Product::with('category', 'alternativeInvestmentFund')->alternativeInvestmentFund()->find($id);
|
||||
$alternativeInvestmentFund = Product::with('category', 'alternativeInvestmentFund','product_images')->alternativeInvestmentFund()->find($id);
|
||||
// dd(Product::find($id));
|
||||
// dd($alternativeInvestmentFund);
|
||||
return view('Admin.Pages.manage_freeu_investment.view-product.alternative-investment-fund', compact('alternativeInvestmentFund'));
|
||||
|
||||
@@ -236,6 +236,25 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="namediv">
|
||||
<label>Gallery :</label>
|
||||
<div class="include_error">
|
||||
<input type="hidden" class="form-control" name="images[]" value="" multiple id="upload-img" />
|
||||
</div>
|
||||
<input type="hidden" name="images_to_remove[]" id="images-to-remove">
|
||||
@if(isset($alternativeInvestmentFund['product_images']) && count($alternativeInvestmentFund['product_images']) > 0)
|
||||
<div class="img-thumbs" id="img-preview">
|
||||
@foreach($alternativeInvestmentFund['product_images'] as $image)
|
||||
<div class="edit_wrapper-thumb">
|
||||
<img src="{{asset('public/'.$image['images']) }}" alt="Image {{ $image['id'] }}" height="140px"
|
||||
width="140px">
|
||||
<!--<span class="edit_remove-btn" data-image_id = "{{ $image['id'] }}">x</span>-->
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
{{--<div class="show_document_area d-flex align-items-center justify-content-between my-6" >
|
||||
<div class="documents d-flex align-items-center me-10">
|
||||
<label class="fs-3 fw-semibold">Documents :</label>
|
||||
|
||||
Reference in New Issue
Block a user