@extends('layouts.app') @section('content') 'id', 'Thumbnail'=>'thumbnail', 'Signature'=>'signature', 'Date Taken'=>'datetaken', 'File Created'=>'created', 'File Modified'=>'modified', 'Filename'=>'filepath', 'Filesize'=>'filesize', 'Width'=>'width', 'Height'=>'height', 'Orientation'=>'orientation', 'Make'=>'make', 'Model'=>'model', 'Exif Diff'=>'exif', ]; $form = [ 'duplicate', 'flag', 'remove', ]; function changed($k,$v,$l=0) { static $changed = []; if (! isset($changed[$l][$k])) $changed[$l][$k] = $v; return $changed[$l][$k] === $v; } ?> @foreach ($photos as $photo) list_duplicate(TRUE); ?>