I added "canvas" to the file directory field but the folder doesnt get created in files.
All the canvases are being created in files/ instead of files/canvas/
I added "canvas" to the file directory field but the folder doesnt get created in files.
All the canvases are being created in files/ instead of files/canvas/
Comments
Comment #1
tinny commentedAlso, when trying to remove a canvas field drawing from a node or when trying to delete the node itself i get the error
Invalid Data URLComment #2
tinny commentedMore info: the name you put in the file directory field is the name given to the canvas files.
So if you put 'canvasfolder' then the canvas files will be
files/canvasfolder
files/canvasfolder_0
files/canvasfolder_1
etc
instead of
files/canvasfolder/canvas
files/canvasfolder/canvas_0
files/canvasfolder/canvas_1
etc
Comment #3
tinny commentedIf the file directory field is left blank then it works properly ie. canvas images get saved as
1334016537.pngLeaving the field blank also fixes the
Invalid Data URLerror when trying to delete a canvas drawing/node.