Closed

Perl Script Retrieves Froala Uploaded Image and Saves to File

Description:

Froala Editor (HTML/JS) POSTS image file to perl script.

A Perl Script is required.

1) Perl script [login to view URL] checks STDIN (preferably not using CGI),

2) Receives image file and filename

3) Validates file is an image;

'allowedExts' => array('gif', 'jpeg', 'jpg', 'png', 'svg', 'blob'),

'allowedMimeTypes' => array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png', 'image/png', 'image/svg+xml')

4) Creates temporary unique name (probably from WebKitFormBoundary random string), save file to $tmp dir

5) return "success" to Froala

6) Finishes with $filename, $file, $tmp_filename

<script>

$(function() {

$('.selector')

.froalaeditor({

imageUploadParam: 'image_param',

imageUploadURL: '[login to view URL]',

imageUploadMethod: 'POST',

imageMaxSize: 1024 * 1024,

imageAllowedTypes: ['jpeg', 'jpg', 'png', 'gif']

});

});

</script>

Ref: [login to view URL]

Evner: Perl

Se mere: froala file manager, froala editor image manager, froala image upload php, wysiwyg editor with image upload, froala file upload, froala file plugin, froala image upload not working, wysiwyg file upload, asp net web application upload image description, script php upload image photobucket, script preview upload image, net upload image linux server perl script, image upload image description mysql, php script resize upload image, script ajax upload image thumbnail, script php upload image dan resize, image upload perl script, upload image wordpress function, php script upload image description, perl script retrieves files extension directory

Om arbejdsgiveren:
( 30 bedømmelser ) Brixham, United Kingdom

Projekt ID: #16704121

5 freelancere byder i gennemsnit $34 på dette job

Alian123soleil

Hi ! I'm interested in your project and think can help you. You want a simple CGI Perl script that can save a file send with HTTP, after checking extension and mime type are correct. The upload process are driven b Flere

$30 USD på 1 dag
(32 bedømmelser)
5.5
zkutch

Hello Thanks for invitation. I need more details to set real price and time. Regards. -------------------------------------------------------------------------------------------------------------------------------- Flere

$55 USD in 5 dage
(25 bedømmelser)
4.8
drprabhakar

Dear Employer, Am software developer with 12+ years of experience in Perl development. I have worked on Perl projects related to text & log analysis, data mining and database integration. I would like to help you wi Flere

$30 USD på 1 dag
(10 bedømmelser)
4.4
$35 USD på 1 dag
(0 bedømmelser)
0.0
sandipmw

I have 7 Year of industry experience and Perl expert. i am looking and interested for such opportunities .

$20 USD in 2 dage
(0 bedømmelser)
0.0