lundi 17 octobre 2016

Can't write image data to path

I already upload my image in my image directory.Now after uploading when i show my image list then there have a button when any one click that button then image will be resize and save into another folder.

I am using Intervention Image to resize an save.

My code is:

Image::make(asset($get_data->front_image))
->resize(960, 960)->save('public/product_image_home_thumbs

asset($get_data->front_image) means http://ift.tt/2e2nVzZ

But Its return a error

Can't write image data to path (public/product_image_home_thumbs)

My product_image_home_thumbs have 777 permission.

I cant understand. whats wrong



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire