Welcome Guest, Not a member yet? Register   Sign In
creating a thumb via CI, but how can i get the file creation date??
#1

[eluser]Unknown[/eluser]
Hi guys..

I'm approaching now this fantastic fw, is very powerful to develop my application with the improvementes given by CI.

But I've a little problem:
I'm a professional photographer and i'm using CI to write my site - portfolio. Is a very simple app with some nice features: all the photos are recognized by in a dir by the system, it creates the thumbnails and shows the thumbs with the links to the full res image (via ajax).

Creating the thumbs via CI, the metadata of this files will be completely empty, the when i try to obtain the file creation date, i obtain an error. I've tryed some different methods link:
- filemtime() (returns a stat error, due to the absence of the data required)
- exif_read_data() to save the data in an array. Same problem... data not available.

Is there anything i can do to write date and time of creation of my thumbnail, in order to permit to my application to check if the thumb is updated?




Theme © iAndrew 2016 - Forum software by © MyBB