Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#73 2008-08-19 17:09:04
- TheEric
- Plugin Author
- From: Wyoming
- Registered: 2004-09-17
- Posts: 566
Re: EBL_Upload
Yep. Most of the code can be reused, but it has to be made to work as part of an object oriented class compatible with Adobe Player 10 – The current version will /not/ work with players above 9.
Offline
Re: EBL_Upload
Damn. What’s that do to the schedule of the next release?
Offline
#75 2008-08-19 17:33:22
- TheEric
- Plugin Author
- From: Wyoming
- Registered: 2004-09-17
- Posts: 566
Re: EBL_Upload
Mid to Late September, most likely…. I know ….
Offline
Re: EBL_Upload
TheEric wrote:
Mid to Late September, most likely…. I know ….
Cool. Looking forward to it. : )
Offline
Re: EBL_Upload
Not sure if this feature has already been requested – but I’d love to be able to set the image title/category/alt attributes when uploading. Now, we can upload a lot of images and set the image categories (which is great), but it’s a bit of a pain to have to then edit each image to set the title or alt attribute.
Last edited by jstubbs (2008-08-19 19:16:22)
Offline
Re: EBL_Upload
hmmm. js anyone?
Offline
#79 2008-08-19 18:44:51
- TheEric
- Plugin Author
- From: Wyoming
- Registered: 2004-09-17
- Posts: 566
Re: EBL_Upload
Mr. Dale : The latest version is already using JS and only uses the SWF for the multiple select / upload. Everything else is pure HTML/JS.
Offline
Re: EBL_Upload
ok, sounds good. Sorry to be the Flash police ;)
Offline
#81 2008-08-20 03:47:56
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: EBL_Upload
not a problem with the plugin really – but I had issues when using on a site that had .htaccess password protection
Offline
#82 2008-08-21 15:18:46
- TheEric
- Plugin Author
- From: Wyoming
- Registered: 2004-09-17
- Posts: 566
Re: EBL_Upload
Ok. So I’ve rewritten the core routine, and it’s now 1. Fully Object Oriented 2. CS3 3. Makes use of the Flash 10 fix. Progressing so far.
Offline
#83 2008-09-04 02:09:13
- TheEric
- Plugin Author
- From: Wyoming
- Registered: 2004-09-17
- Posts: 566
Re: EBL_Upload
Ok. Here are the details as it relates to Flash Player 10 and the browse() method.
Adobe has decided that external javascript invoked calls that invoke the filereference()/filereferencelist() are a security risk, and thus, this windows file-browse function only works if somewhere above it on the call stack is a user event handler, such as MouseEvent.MOUSE_UP. The simple translation – it must be triggered by a FLASH button. This whole issue sort of defeats the entire purpose for the most recent rewrite, and it does, almost. Everything aside from the browse-file button can be invoked by external javascript methods, with the button obviously being the sole exception.
I found a hackish method work-around that gets past this quite well. With a little CSS positioning and flash opacity, I can create an invisible “layer” above the browse-text that mimics a flash button, without actually looking like a flash button. Genius, I think…
The drawback to this now, is file weight. The SWF prior to this fix was a lean and trim 3k. With the fix in place, it quadruples in size to about 12k — Just for a silly invisible button! Sillyness, eh? Still, that’s over a 78k savings over the previous version.
Comments?
Last edited by TheEric (2008-09-04 02:16:25)
Offline
Re: EBL_Upload
Eric,
I don’t know that anyone will be bummed about 12k vs. 3k.
Like you said – you’re still trimming 78k from the previous version.
Look out for hurricanes – they all seem to be heading our way.
Looking forward to the release.
- )
Offline