Uploading Images in Widget Form
-
I’m looking to have an “Upload Image” button in my widget form, but currently WordPress does not support this. Sense the Widget forms are submitted with Ajax I’m limited to text. The only other choice I would have is to submit my own form to a custom page in an iframe.
So here’s why I’m posting this. I need to know how to include the proper WP files to be able to use the wp_handle_upload function, particularly, and possibly others into my custom submit page. This way I can simply write a jQuery script that handles these “special” upload buttons, and insures that they submit to an iframe containing my custom page that processes the upload. But my page cannot process the upload properly unless I have wp_handle_upload.
[EDIT]
Another thing I need to be able to do, is edit a specific widget instance. Could someone help me with that? I’m only guessing it’s similar to update_options, hopefully.Thanks for reading. All help is appreciated. ??
- The topic ‘Uploading Images in Widget Form’ is closed to new replies.