• Resolved noelgreen

    (@noelgreen)


    Hey all,
    I’m wanting to get rid of all the “Thumbnail, Full size, Title, etc.” options in my image uploader and only have the “Send to Editor” option.

    When that is clicked I only want the URL of the image to be sent to the editor… no “<a href” info or anything else… just the image URL beginning with “https://&#8221; and ending with “.jpg” or “.gif” or whatever.

    Is this doable?
    Or, how would I do this?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter noelgreen

    (@noelgreen)

    Okay, I figured out how to edit the upload-functions.php file in the wp-admin folder and make it so that the “Send to Editor” only sends the URL like I was wanting… but, now I want to remove all the “Thumbnail,” “Full Size,” ect. options so that there is JUST a “Send to editor” button.

    I found the array for those in the script-loader.php file from the wp-includes folder, but when I remove them from there they still appear only they all say “undefined”.

    Anyone know how to remove those?

    Thread Starter noelgreen

    (@noelgreen)

    Found that too! ??

    It is in the upload.js file in the wp-admin folder.
    Took a while to figure out what was what (being a PHP no-b) but I got it!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image URL to Editor’ is closed to new replies.