Suljettu

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]

Taidot: Perl

Näytä lisää: 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

Tietoa työnantajasta:
( 30 arvostelua ) Brixham, United Kingdom

Projektin tunnus: #16704121

5 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

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 Lisää

$30 USD 1 päivässä
(32 arvostelua)
5.5
zkutch

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

$55 USD 5 päivässä
(25 arvostelua)
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 Lisää

$30 USD 1 päivässä
(10 arvostelua)
4.4
$35 USD 1 päivässä
(0 arvostelua)
0.0
sandipmw

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

$20 USD 2 päivässä
(0 arvostelua)
0.0