Jump to content

unigui+fineuploader


ganzqgy
 Share

Recommended Posts

 

great:

 

from the demo feature description of the uploader:

 

  • restriction to jpeg, jpg, and txt files,
  • restriction to a maximum file size of xxx kB,

 

--> that would be great - and just missing in UniGui file uploading features (up to 0.95).

 

 

bad: 

 

$79 - Single Hostname Server (e.g. uploader.example.com) - 1 year

$480 - Single Software-as-a-Service or Single Installed Application (unlimited domain) (includes one free support request) - 1 year

 

--> so if you want to use it for commercial applications, this may pull your money out of the pocket very fast. And every year. I do not like these "single domain licences".

Link to comment
Share on other sites

<script type="text/javascript">
$(function() {
$("#uploader").plupload({
  runtimes : 'html5,flash,silverlight,html4',
  url : '{gggggg}',
  max_file_size : '1000mb',
  max_file_count: 20,
  multi_selection: true,
      chunk_size: '1mb',
      //unique_names : true, //上传的文件名是否独一
  //resize:{width:200,height:200,quality:90,crop:true},//是否生成缩略图(仅对图片文件有效)
  filters:[{title:"Image files",extensions:"jpg,gif,png"},{title:"Zip files",extensions:"zip,avi"}],
  rename: true,
  sortable: true,
  dragdrop: true,
  views:{list:true,thumbs:true,active:'thumbs'},
  flash_swf_url:'plup212/Moxie.swf',
  silverlight_xap_url:'plup212/Moxie.xap',
      init:{UploadComplete: function(up, files){
         top.ajaxRequest(top.MainForm.UniURLFrame2, 'gggggg', []);
         //alert(files.length);
      }
      }
});
});
</script>

 

 

procedure TMainForm.UniURLFrame2AjaxEvent(Sender: TComponent;
  EventName: string; Params: TStrings);
begin
  if EventName = 'gggggg' then
  begin
    // close;
  end;
end;

Link to comment
Share on other sites

  • 3 months later...

unigui+fineuploader+plupload.flash.swf

 

Very nice and fun to play with, thank you. One problem:

 

If I use the fineuploader part of the demo I get an access violation on bigger files. Small files do work. can`t say exactly the limit, but I had no luck with files (JPG, BMP, PNG) above approx. 500kB. With the attached PNG example file I get an AV. Seems to be a problem in the compare function of the delphi code, I can´t figure out what exactly is the problem with this function. 

 

post-254-0-40840900-1413311006_thumb.png

 

brfc

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
  • 5 months later...
  • 5 months later...
  • 2 years later...
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...