Download Laravel-xCRUD Integration Full Code that includes this full demo


<?php

namespace App\Http\Controllers;

use 
Illuminate\Http\Request;

class 
xGalleryController extends Controller
{
    public function 
index()
    {
        
$xcrud Xcrud_get_instance();
        
$xcrud->table('gallery');
        
$xcrud->change_type('image''image'false, array(
            
'width' => 450,
            
'path' => '../uploads/gallery',
            
'thumbs' => array(array(
                    
'height' => 55,
                    
'width' => 120,
                    
'crop' => true,
                    
'marker' => '_th'))));
        
$render $xcrud->render();
        return 
view('xcrud_simple', ['render' => $render]);
    }
}

Gallery

#ImageTitleDescriptionActive 
1Qunc congue facilisis bibendum. Fusce mollis elitNunc congue facilisis bibendum. Fusce mollis elit…Yes View Edit Remove
2Cras quis quam quis est interdum suscipit. Ut…Donec augue massa, vehicula et lacinia nec,…Yes View Edit Remove
3Duis elementum facilisis massa quis rhoncus.Fusce accumsan, odio ut placerat congue, mauris…Yes View Edit Remove
4Nulla lobortis, velit ut aliquet commodo, purus…Sed sed felis in massa sodales bibendum et id…No View Edit Remove
5Maecenas volutpat commodo ante, a porta metus…Nullam sodales ligula non risus luctus ut…No View Edit Remove
Search