WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Give user ability to add an image in a custom widget? Possible? (2 posts)

  1. B1gJ4k3
    Member
    Posted 2 years ago #

    Hi all,
    I'm developing a custom widget for a theme that I'm working on and it would really be helpful for the end user to have the ability to add an image within that widget when they're managing it. Ideally it would function like the featured image for a post, where it could pull in a cropped thumbnail. Is it possible? My instinct would say yes, but ideally, I would be able to access the media gallery from there and I don't know exactly how to go about that one...

    And I'm aware I can add a URL anywhere and pull that in, but I was hoping for something a little easier and more intuitive, like adding an image to a post. I could also make them posts and do a custom query, but I'd rather not do that either because the content that will go down there isn't really substantial enough to warrant it's own post.

    Does anybody have any suggestions or effective resources that they use? I've tried Googling a bit, but it's kind of hard to know what to call it...

  2. B1gJ4k3
    Member
    Posted 2 years ago #

    Found a pretty nifty little plugin that appears to do the job here:

    http://mondaybynoon.com/20120206/wordpress-widget-image-field/

    Hopefully this will save someone else a couple hours of searching...

Topic Closed

This topic has been closed to new replies.

About this Topic