add edit image dialog to plugin page

Discussion in 'WordPress' started by stephan2307, May 25, 2012.

  1. #1
    I am working on a plugin that involves the upload of an image to the media library. Once uploaded I want to display the same dialog box that you get when you use the normal file upload from wordpress (inside the red box on the image below).

    uploadfile.jpg

    I have it so it uploads the image and adds it to the media library. Now I just want to display that dialog box.

    Can anyone help?
     
    stephan2307, May 25, 2012 IP
  2. discountwww

    discountwww Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    For reliable, flexible uploading, you should try:

    PLUpload
    http://www.plupload.com/index.php

    Example of implementation code:
    http://www.plupload.com/example_queuewidget.php





     
    discountwww, May 25, 2012 IP
  3. stephan2307

    stephan2307 Well-Known Member

    Messages:
    1,277
    Likes Received:
    33
    Best Answers:
    7
    Trophy Points:
    150
    #3
    Thanks for the advice but I am not looking for that. Like I said I have the uploading already sorted. I now need to just display the part that are marked in red in the attached picture.
     
    stephan2307, May 25, 2012 IP
  4. codecre8r

    codecre8r Well-Known Member

    Messages:
    148
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    128
    #4
    codecre8r, May 27, 2012 IP
    stephan2307 likes this.
  5. stephan2307

    stephan2307 Well-Known Member

    Messages:
    1,277
    Likes Received:
    33
    Best Answers:
    7
    Trophy Points:
    150
    #5
    Thanks to codecre8r I have managed what I wanted to do. He will receive the $5
     
    stephan2307, May 28, 2012 IP