Support > cpg1.5 plugin contributions
HTML5 multi-file upload plugin
ron4mac:
--- Quote from: pictureproject.me.ly on May 01, 2017, 02:43:10 pm ---Please make it possible, that the photos will be uploaded in chronological order (e.g. A-Z).
--- End quote ---
Because of concurrency, files may arrive at the server out of sequence from how they were selected. As you discovered, setting "concurrent uploads" to 1 helps to alleviate that issue. And there are also file sorting options after files are uploaded. Perhaps an option on the upload form asking that this particular upload be done 1 file at a time could be useful.
Thanks for your feedback.
theqe2story:
I just added this onto my 1.5.48 Gallery and it worked a treat immediately.
So sorry I hadn't noticed it sooner!
One wee thing - the little yellow question mark for help next to "File Description" brings up a blank help window - anything I can do about that?
Thanks!!
ron4mac:
--- Quote from: theqe2story on September 11, 2019, 07:49:38 pm ---One wee thing - the little yellow question mark for help next to "File Description" brings up a blank help window - anything I can do about that?
--- End quote ---
In the plugin file codebase.php, replace line 109:
--- Code: --- $desclabl .= ' '. cpg_display_help('f=empty.htm&base=64&h='.urlencode(base64_encode(serialize($lang_bbcode_help_title))).'&t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);
--- End code ---
with:
--- Code: --- $desclabl .= ' '. cpg_display_help('f=empty.htm&h=lang_bbcode_help_title&t=lang_bbcode_help',470,245);
--- End code ---
pclogicnz:
I have installed this plugin and all works fine on one site. ie upload files and immediately returns to the photolibrary and lists the files.
The second site once the upload is done , it just sits there for a while then gives an error for the site http://192.168.66.109:83/editpics.php?album=330&newer_than=1612347624
This site can’t be reached 192.168.66.109 took too long to respond. You then close that and files are uploaded anyway.
The ip address for the photolibrary server is not 192.168.66.109 but I did find it in the HOSTS file on this CENTOS 5. I have removed that and rebooted. Still same problem.
Anybody have any ideas why one site does it and another site does not.?
Anybody know how to fix it?
pclogicnz:
Sorted this, the CONFIG - GENERAL SETTINGS have the URL for the photogallery, mine had the http://192.168.66.109:83 as the URL. This has been running for years even though local ip address had changed as we went. Only the HTML5 multi file upload does not like it if the URL does not match the IP etc. Changed to a FQDN and works fine now.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version