SWFUpload for images resizing and upload

Creating and modifying plugins.
Post Reply
Barberousse
Regular
Posts: 26
Joined: Sun Dec 30, 2007 8:07 pm

SWFUpload for images resizing and upload

Post by Barberousse »

Hello,

Does anyone that is experienced with plugin development know if there are hooks that permit to replace the document and image uploading functions? I would like to see if it is possible to use SWFUpload ( http://swfupload.org and http://code.google.com/p/swfupload ). It would be great because this way, Serendipity could check file size before beginning the upload and the last version of SWFUpload is able to resize the pictures before sending them, it could circumvent the PHP memory limit of my ISP that is triggered when resizing pictures to do thumbnails.

Barberousse
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: SWFUpload for images resizing and upload

Post by garvinhicking »

Hi!

To replace the default upload facilities would be harder, and would also include template editing.

The better way would be to create a sepeeate upload section in a new plugin; there are hooks for plugins to create their own pages, those could embed the SWFUpload manager. The upside of this would be to also have the old upload method side by side, that people could use where flash doesn't work.

However, implementing SWFUpload isn't really that easy, it would definitely take some PHP skills to get that implemented, as it uses quite different routines...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Barberousse
Regular
Posts: 26
Joined: Sun Dec 30, 2007 8:07 pm

Re: SWFUpload for images resizing and upload

Post by Barberousse »

Hello,

Thank you for your answer.

I'd really like to have the time to include this feature, but based on you answer, I guess I won't have enough spare time :|

Barberousse
Post Reply