custom-metadata icon indicating copy to clipboard operation
custom-metadata copied to clipboard

Add new field type image uploader

Open stresslimit opened this issue 12 years ago • 4 comments

stresslimit avatar Aug 28 '12 16:08 stresslimit

This will store the id of the attachment image, plus show a preview in the admin

stresslimit avatar Aug 28 '12 16:08 stresslimit

image

stresslimit avatar Aug 28 '12 17:08 stresslimit

If we do this:

  • we should also support multiple images (which the new media uploader supports, see http://mikejolley.com/2012/12/using-the-new-wordpress-3-5-media-uploader-in-plugins/).
  • we should save the attachment ID and the image URL - just like the new and improved upload field (see 08aac00fc9837517eb8b5de58b713f97fc618a9d)

jkudish avatar Feb 10 '13 21:02 jkudish

I have created a PR for "thumbnail" field. https://github.com/Automattic/custom-metadata/pull/110 Hope that helps

image

image

imranglobal avatar Jul 29 '14 15:07 imranglobal