What is WebDNA
WebDNA and BioType
Download WebDNA
WebDNA resources
[sendmail to=3Dmyemail@email.com&=from=3Dfroala@em=ail.com &subject=3DFroala=C2=A0Editor Upload Params]
[formvariables][name]:[value]<<=wbr>br />[/formvariables][/sendmail]
=That will show you what data is being passed by the editor.=C2==A0 You should then be able to parse and deal with it. You *might* need to =change the 'imageUploadM=ethod' to 'post'.There is info= in the archives on how to deal with image uploads (i.e http://webdna.us/page.dna?numero=3D58031<=/a>).=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + 353 1 4403907
Digital Revolution=aries
1st Floor, Castleriver House
14-15 Parliament Street
Temple =Bar,Dublin 2
Ireland
-------------------------------------------=---
[t]:
[e]: <mailto:tom@revolutionaries.ie>
=[w]: <http:=//www.revolutionaries.ie/ >
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On 14 December 2016 at 11:06, Palle Bo Niels=en <powerpalle@powerpalle.dk> wrote:So I stated a project page whe=re a lot is running as it should.Current problem =is that I need to make the form accept the drag/drop image into the Textare=a form which is supported by Froala. It depends on some JS code=E2=80=A6image=UploadParam: 'file_name',imageUploadURL: '/dev/froala/image',imageUploadMethod: 'PUT',imageMaxSize: 1024 * 1024 * 3,= imageAllowedTypes: [&#=39;jpeg', 'jpg', 'png'],How can i extract the =E2=80=9CimageUpload=Param=E2=80=9D into WebDNA and how do I catch and store it=E2=80=A6?<=div>=E2=80=9C...The upload flow for the image is quite simpl=e and it is explained here:=C2=A0https://www.froala.com=/wysiwyg-editor/docs/concepts/im . First of all you =have to tell the editor where to make the upload request (imageUploadURL). =Then, your server should catch the request, store the image and then return= a response in JSON format that looks like this:=C2=A0{ link: 'path/to/=image.jpg' }=E2=80=A6"age/upload If you have =anything to add/contribute or just being helpful then visits http://www.qt.dk/dev/fro=ala/image/ =C2=A0(id and pass is lowercase =E2=80=98a=E2=80=99)./Pa=lle------------------------------
=On 17 Nov 2016, at 07.55, Stuart Tremai=n <webdna@idfk.c=om.au> wrote:Hey PalleI had a bit of a look at this, it see=ms that Froala want a JSON response: such as=C2=A0{"link":"<=a href=3D"https://i.froala.com/download/6143ec97622356aaeb01df3b648b11a0f31=76636.jpg?1479365089" target=3D"_blank">https://i.froala.com/download/=6143ec97622356aaeb 01df3b648b11a0f3176636.jpg? 1479365089=E2=80==9D} You can see this by viewing what the AJAX is =returning.I did have a bit of trouble making JSON= work properly on a server a while ago, the response needs to be handled pr=operly through Apache & webdna without any spaces at the beginning. If =you have problems, I will have a dig around for what I did to fix it for a =system that I developed.------------------------------ On 7 Nov. 2016, at 02:15, Palle Bo =Nielsen <p=owerpalle@powerpalle.dk> wrote:Evening allSome of you might know= the Froala Javascript Editor which in my opinion is a great editor. The ed=itor enabled a lot of function within a textarea which for me works great. =One of the function where I have not been able to make it work is the the i=mage function where you can drag and drop an image to the textarea - the im=age is being uploaded and displayed in the textarea. The reason for me not =being able to make it work is that the Froala Editor expects some handling =server side and I can not figure it out. The great thing is that I have Web=DNA to provide me with the server side stuff; the bad thing is that I can n=ot see what is needed.https:/=/www.froala.com/wysiwyg-editor/docs/concepts/image/ upload Any care to join me in making it happen?The result could be used by Froala as an official WebDNA SDK j=ust as an PHP has been published. This could benefit the WebDNA community.<=/div>==I hope for a positive response :)/=Palle---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/tal k@webdna.us Bug Reporting: suppo=rt@webdna.us---------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/tal k@webdna.us Bug Reporting: suppo=rt@webdna.us---------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/tal k@webdna.us Bug Reporting: suppo=rt@webdna.us---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/tal k@webdna.us Bug Reporting: suppo=rt@webdna.us
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...