how i can get and displaying images from restful api in android with using the Glide Library
laravel code for get image :
$file_path = Storage::disk('public')->path('/image/'.$file_name);
if(Storage::disk('public')->exists('/image/'.$file_name))
{
return response()
->download($file_path, $file_name,['Content-Length: '
. filesize($file_path)]);
}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire