php - Intervention Image Class not returning any exif data - Laravel 4 -


Laravel 4 and working with image upload using the interference image.

It uploads okay, but there are problems with it orientation. An auto-functional function is (-> Orient ());

But that does not work, so seeing the docs I tried to read the exif data to see what was happening.

I used it in my opinion:

image $ data = image :: make ('upload / coverimages / IMG_1126.JPG') - & gt; Exif ('model'); Print $ data;

But it does not return anything, because nothing is shown.

Any thoughts?

EDIT: The image is taken from DSLR and has just been dragged into the folder. There is no uploading / resizing etc, so it will get extra data. Has tried another method (-> width) and gives it a value so that I can know that the functions are working.

From the documentation:

  Note: PHP should be compiled with --enable-exif Windows users should have MBString Extension enabled.  

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -