adding an image upload to a meta box


#1

anyone have any ideas?

im trying to add an image upload via the post screen, but not using the media manager, just browse select, but then add as an attachment.

here is the code im currently using, it saves to a thumb dir, im trying to implement the code where it adds to the attachment.

http://pastebin.com/QhdQVREq

any help would be good :wink:


#2
chrismccoy said

anyone have any ideas?

im trying to add an image upload via the post screen, but not using the media manager, just browse select, but then add as an attachment.

here is the code im currently using, it saves to a thumb dir, im trying to implement the code where it adds to the attachment.

http://pastebin.com/QhdQVREq

any help would be good :wink:

http://www.deluxeblogtips.com/2010/05/howto-meta-box-wordpress.html :slight_smile:


#3
OrganicBeeMedia said
chrismccoy said

anyone have any ideas?

im trying to add an image upload via the post screen, but not using the media manager, just browse select, but then add as an attachment.

here is the code im currently using, it saves to a thumb dir, im trying to implement the code where it adds to the attachment.

http://pastebin.com/QhdQVREq

any help would be good :wink:

http://www.deluxeblogtips.com/2010/05/howto-meta-box-wordpress.html :slight_smile:

that uses the built in uploader.


#4

Never used it myself but I know a few guys use this: http://www.uploadify.com/