I think that your codebase and data architecture could handle this quite easily.
In class.image.php: uploadToWebsite
$datefolder = date('Y/m/d/'); //This date to be replaced
In class.image.php: insert
$populate_values = [
The date folders structure works well, but the current structure is limited to the current/upload date:
$datefolder = date('Y/m/d/');
Would it be possible to use the creation date of the image? Creation date can be taken from EXIF data:
After starting a bulk upload of my photographs into Chevereto I've noticed that
Can the exif data be used as the date stamp and folder structure (rather than the upload date) so that the photos can be organised by creation in Cheverto and the filesystem?
Hi Rodolfo - this is exactly what is happening in scenario one, but I keep getting "Invalid Key" because the api script is not reading the request (? I think). I also can't get (1) to work when I use a curl client.
Do you have a php/bash script that I can use to test?
Can I test my script on...
Hi Rodolfo - I am trying to use POST not GET?
1) When I use POST body only, I get the following errors:
Apache: 192.168.1.108 - - [03/Apr/2016:21:07:06 +1000] "POST /api/1/upload HTTP/1.1" 400 531 "-" "libwww-perl/6.08"
Chevereto: [Sun Apr 03 21:07:06.455259 2016] [:error] [pid 9869] [client...
Thanks SirMoo., but I've figured out the problem.
It seem's that the API is expecting the parameters in the URI and not in the POST body (which is a little strange? - not sure?). Wonder if this tidbit can be added to the documentation.
I'm trying to create a simple perl upload script to interact with the Chevereto API.
I get the following errors:
HTTP POST error code: 400
HTTP POST error message: Bad Request
Apache Error Log:
[Sun Apr 03 15:42:36.407725 2016] [:error] [pid 19919] [client...