@csrf @if (in_array(strtolower(pathinfo($meal->media, PATHINFO_EXTENSION)), ['gif', 'jpg', 'jpeg', 'png', 'jfif', 'webp', 'avif']))