Nick M. wrote:
Took a look at how your widget functions and I have some feedback…
-When selecting an image in the popup and configuring settings there, none of the settings (size, caption, etc) are pulled over into the widget config.
-If the image is large, the widget config gets very tall and you are required to do a lot of scrolling. I would recommend only showing a thumbnail (preferred) or only show the URL of the image.
-Use a wider widget config instead of the default width.
-Limit the width of the fields for height and width.
We are very interesting in using a popup to select an image from the media library, but it would need to pull over all of the settings into the widget config. If it doesn’t, it would be a bad experience for the user.
I didn’t look through the actual code, but in your original message to Matt you mention using a post. I wouldn’t worry about this. If the user uploads from the popup in the widget I would do the same thing that happens when uploading at /wp-admin/media-new.php. Leave it as an unattached image.
-Nick
Nick, thanks for the great feedback!!! I agree with all of it though i’m not totally sold on the bit about making a preview. (most people use the sidebar for small images and it’s nice seeing the real size of the image, especailly since capnhairdo made an instant preview of the sizing)
Re your note about the post. it’s doing a media-new.php type upload. are you thinking it should make a post with a type=image-widget or something? We could make a single post and have all the uploads be attachments so that the gallery makes any uploads from previous image widgets available.