JIimageUpload - config options
Posted: Wed Jan 20, 2010 4:50 pm
Hi There,
Firstly i'd like to say this seems like quite a robust Java Upload applet and alot less buggy than others we have tested.
We are intending to use jFileUpload for our clients My Files upload area, and JImageUpload for our clients PhotoGallery and My Images upload areas.
So we are looking at purchasing the JFileUpload, JImageUpload and JImageFilter applets but need to know if we can overcome a few obstacles in order to know if it will meet our requirements.
Currently testing version 2.5 Unregistered.
1) From my previous post, I've overcome the File Menu issue in JimageUpload (which only shows in JFileUpload) by using the
progress.button.select option so that users can select files using the select files button on the bottom toolbar.
Problem is that enabling progress.button.select and progress.button.cancel also puts those buttons onto the thumbnail images. Is there a way to stop this?
2) In JFileUpload is there a way to stop it automatically uploading and instead build a queue like JImageUpload - then upload only when a Start Upload button is pressed?
3) Can the following be done using the javascript API:
a) enable/disable image filtering (ie resizing) via javascript eg an event bound to a checkbox.
b) change values of maxwidth/maxheight via javascript eg an event bound to text input fields.
I've not managed to test the JSAPI yet (mayscript is enabled), is there a restriction on the JSAPI for unregistered users?
4) When setting a max filesize for upload eg 1Mb adding 2 files of say 600k = 1.2Mb, We dont see any error message displayed within the java applet telling the user they have exceed their file usage when they try and upload. Error shows in the Java Console.
This is what we have enabled in the taskoutput section:
taskoutput.usage=Select or drag and drop file to upload
#taskoutput.split.info=Splitting file : {0}
#taskoutput.split.size=in {0} chunk(s) up to {1} bytes
#taskoutput.split.chunk.started=Creating chunk {0} ...
#taskoutput.split.chunk.completed=chunk {0} created
#taskoutput.split.chunk.failed=Split failed : {0}
#taskoutput.compress.started=Zipping : {0} ...
#taskoutput.compress.completed=Ratio={0}%
#taskoutput.compress.failed=failed : {0}
taskoutput.upload.info=Uploading : {0}
taskoutput.upload.size=({0} bytes)
#taskoutput.upload.triggered=Connecting ...
taskoutput.upload.started=Upload started ...
taskoutput.upload.completed=Upload completed
taskoutput.upload.cancelled=Upload cancelled
taskoutput.upload.done=Upload completed, {0} files uploaded.
taskoutput.upload.failed=Upload failed : {0}
taskoutput.upload.failed.server.error=Server error {0}
taskoutput.upload.failed.maxsize.error=Denied : Max. size allowed {0} bytes
taskoutput.upload.failed.minsize.error=Denied : Min. size allowed {0} bytes
taskoutput.upload.failed.maxfiles.error=Denied : Max. files allowed : {0}
taskoutput.upload.failed.hidden.error=Denied : Hidden file : {0}
taskoutput.upload.failed.whitelist.error=Denied : File not allowed : {0}
taskoutput.upload.failed.filesonly.error=Denied : Directories not allowed : {0}
taskoutput.upload.failed.overwrite.error=Aborted, file already exists
taskoutput.separator=--------------------------------------------------
taskoutput.linewrap=true
#taskoutput.image.background=dnd.jpg
#taskoutput.color.background=FFFFF0
#taskoutput.color.foreground=000066
#taskoutput.filter.starting=Loading {0}
#taskoutput.filter.started=Filtering {0}
#taskoutput.filter.completed=Filtered {0}
#taskoutput.filter.failed=Filtering failed {0}
#taskoutput.preprocessingfilter.starting=Archiving {0} file(s) ...
#taskoutput.preprocessingfilter.completed=Completed
#taskoutput.preprocessingfilter.failed=Failed {0}
#taskoutput.protocol=enabled
#taskoutput.protocol.request=> {0}
#taskoutput.protocol.response=< {0}
Regards
Simon
Firstly i'd like to say this seems like quite a robust Java Upload applet and alot less buggy than others we have tested.
We are intending to use jFileUpload for our clients My Files upload area, and JImageUpload for our clients PhotoGallery and My Images upload areas.
So we are looking at purchasing the JFileUpload, JImageUpload and JImageFilter applets but need to know if we can overcome a few obstacles in order to know if it will meet our requirements.
Currently testing version 2.5 Unregistered.
1) From my previous post, I've overcome the File Menu issue in JimageUpload (which only shows in JFileUpload) by using the
progress.button.select option so that users can select files using the select files button on the bottom toolbar.
Problem is that enabling progress.button.select and progress.button.cancel also puts those buttons onto the thumbnail images. Is there a way to stop this?
2) In JFileUpload is there a way to stop it automatically uploading and instead build a queue like JImageUpload - then upload only when a Start Upload button is pressed?
3) Can the following be done using the javascript API:
a) enable/disable image filtering (ie resizing) via javascript eg an event bound to a checkbox.
b) change values of maxwidth/maxheight via javascript eg an event bound to text input fields.
I've not managed to test the JSAPI yet (mayscript is enabled), is there a restriction on the JSAPI for unregistered users?
4) When setting a max filesize for upload eg 1Mb adding 2 files of say 600k = 1.2Mb, We dont see any error message displayed within the java applet telling the user they have exceed their file usage when they try and upload. Error shows in the Java Console.
This is what we have enabled in the taskoutput section:
taskoutput.usage=Select or drag and drop file to upload
#taskoutput.split.info=Splitting file : {0}
#taskoutput.split.size=in {0} chunk(s) up to {1} bytes
#taskoutput.split.chunk.started=Creating chunk {0} ...
#taskoutput.split.chunk.completed=chunk {0} created
#taskoutput.split.chunk.failed=Split failed : {0}
#taskoutput.compress.started=Zipping : {0} ...
#taskoutput.compress.completed=Ratio={0}%
#taskoutput.compress.failed=failed : {0}
taskoutput.upload.info=Uploading : {0}
taskoutput.upload.size=({0} bytes)
#taskoutput.upload.triggered=Connecting ...
taskoutput.upload.started=Upload started ...
taskoutput.upload.completed=Upload completed
taskoutput.upload.cancelled=Upload cancelled
taskoutput.upload.done=Upload completed, {0} files uploaded.
taskoutput.upload.failed=Upload failed : {0}
taskoutput.upload.failed.server.error=Server error {0}
taskoutput.upload.failed.maxsize.error=Denied : Max. size allowed {0} bytes
taskoutput.upload.failed.minsize.error=Denied : Min. size allowed {0} bytes
taskoutput.upload.failed.maxfiles.error=Denied : Max. files allowed : {0}
taskoutput.upload.failed.hidden.error=Denied : Hidden file : {0}
taskoutput.upload.failed.whitelist.error=Denied : File not allowed : {0}
taskoutput.upload.failed.filesonly.error=Denied : Directories not allowed : {0}
taskoutput.upload.failed.overwrite.error=Aborted, file already exists
taskoutput.separator=--------------------------------------------------
taskoutput.linewrap=true
#taskoutput.image.background=dnd.jpg
#taskoutput.color.background=FFFFF0
#taskoutput.color.foreground=000066
#taskoutput.filter.starting=Loading {0}
#taskoutput.filter.started=Filtering {0}
#taskoutput.filter.completed=Filtered {0}
#taskoutput.filter.failed=Filtering failed {0}
#taskoutput.preprocessingfilter.starting=Archiving {0} file(s) ...
#taskoutput.preprocessingfilter.completed=Completed
#taskoutput.preprocessingfilter.failed=Failed {0}
#taskoutput.protocol=enabled
#taskoutput.protocol.request=> {0}
#taskoutput.protocol.response=< {0}
Regards
Simon