Skip to content

Conversation

@jeny7
Copy link

@jeny7 jeny7 commented Apr 20, 2017

Storage

Files for each record of the table is stored on individual folders and corresponding details of the files are stored on the table in JSON format. Folder for uploading the files are stored in the each record upload_folder attribute. And the JSON data of each file contain details such as Folder Name, File Name, Caption, Date & Time.

Example JSON file formats for multiple file field.

   [  
   {  
      "folder":"\/2016\/05\/07\/050447617\/images\/",
      "file":"file.jpg",
      "caption":"File",
      "time":"2016-05-11 04:46:48"
   },
   {  
      "folder":"\/2016\/05\/07\/050447617\/images\/",
      "file":"file-2.png",
      "caption":"File 2",
      "time":"2016-05-11 04:46:49"
   }
   ]

Example JSON file formats for single file field

 url : http://192.168.1.199/lavalite/cms/5.2/public/download/litecms.blog/blog/9DD3CZF0F4q6vJ/images/0-neu-d3-                                  5e34ea5ff3f5d1e13e91a97f292505e1.jpg
{  
  "folder":"2017/04/18/062918175/images",
  "file":"505e1.jpg",
  "caption":"0 neu d3 5e34ea5ff3f5d1e13e91a97f292505e1",
  "time":"2017-04-18 06:29:55"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant