WordPress.org

Ready to get started?Download WordPress

Forums

Automatically place uploaded image URL into a custom field? (7 posts)

  1. seanpatrick
    Member
    Posted 6 years ago #

    I'm trying to find a way to have an image URL for an image uploaded via "Add Media" added to a custom field without the tedious task of copy/pasting each link. Is there a plugin or hack that will do this?

    They should include this in future versions of WordPress!

  2. dy_dream
    Member
    Posted 6 years ago #

    Sean,

    I'm wondering about the same thing too.

    Here's what I really want to do:

    I'm building a theme where every post can be assigned two or three different lead-images of different sizes. Right now I'm using custom-fields to do this. Like you said, its tedious upload the images and add them to custom fields. A nightmare when you have to do this everytime you post.

    To take things futher, I'd like my theme to allow the author of post to choose from images in media library and crop it just like what we're doing now with header images. Here's where I can relate to your question as I wanted the cropped image URL to be automatically assigned to its designated custom fields too. (Or I can choose to bypass the use of custom fields completely but that's a diffent approach)

    However, I'm really unfamiliar with WordPress programming. The lack of documentation and tutorials on WordPress api programming is my main gripe.

  3. seanpatrick
    Member
    Posted 6 years ago #

    anyone have any ideas?

  4. seanpatrick
    Member
    Posted 5 years ago #

    still searching for a solution... anyone?

  5. seanpatrick
    Member
    Posted 5 years ago #

    maybe this will make it into a release under 2.7?? :)

    a boy can dream...

  6. seanpatrick
    Member
    Posted 5 years ago #

    any progress?

  7. seanpatrick
    Member
    Posted 5 years ago #

    I was hoping this would be in 2.8, but from what I've read it isn't... :(

Topic Closed

This topic has been closed to new replies.

About this Topic