Automatically check and verify files

  • 0
  • 1
  • Question
  • Updated 5 years ago
  • Answered

Hi,

I want to create a app that is more of a tool in QB. I want to create something where I can drop an art file or any file with preset conditions that will verify the file is correct. For example, I have an art file that always needs to be 640x540 and under a certain file size (300K). I would like to create something that you drop the file into and it knows whether or not it meets this criteria. Is this possible in QB?

Photo of Derek

Derek

  • 30 Points

Posted 5 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,184 Points 20k badge 2x thumb
Trivial - this has nothing to do with QuickBase but there is no reason you cannot use QuickBase as a container for holding some JavaScript and HTML:

JsFiddle - Tabs

http://jsfiddle.net/57Rx4/embedded/result,js,html/


JsFiddle - Editable/ Forkable

http://jsfiddle.net/57Rx4/


JsFiddle - Single Page

http://jsfiddle.net/57Rx4/show/


Select an image file and an alert will display the (1) name, (2) mime type, (3) file size, (4) width and (5) height of the file.

Pastie Database

https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=292


ProTip: Don't use QuickBase as a container for holding Exact Forms!
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,184 Points 20k badge 2x thumb
See attached screenshot or select an image file to see application in action.

Give Me Some Art Baby!


https://haversineconsulting.quickbase.com/db/bi4z4wqpz?a=nwr


Pastie Database

https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=296


Notes:

(1) You can only select image files

(2) No matter what image file you select, I reset the form so I don't clog up my application with extra files. Sorry you will have to find another venue for shopping your art around.

(3) Great Banksy video:

Enter Through The Gift Shop

https://www.youtube.com/watch?v=a0b90YppquE

(4) Just wait - the killjoy forum administrator is going to prohibit embedding street art videos.