[wp-hackers] Allow users to upload their own images - hook to use?

Baki Goxhaj banago at gmail.com
Wed Sep 11 22:28:58 UTC 2013

Here is all you need:

You can attach it to a post too, with which you will then associate your


Baki Goxhaj

On Thu, Sep 12, 2013 at 12:12 AM, BenderisGreat
<greglancaster71 at gmail.com>wrote:

> I am looking for the most intelligent way to allow users to upload images
> on
> the front end, and retaining the association to the user who uploaded the
> image.  Then have the images that user uploaded display back on their
> profile page when logged in.
> The catch is the form they used to uplaod the image uses a sep database to
> store other field information (using $wpdb).  I want each row to allow for
> the attachment of any images they chose to upload with the data. It can be
> linked up using a unique key, or row ID and userID, whatever is fine
> (unless
> there is a standard I should adhere to that I don't know about).
> I have looked at *wp_handle_upload* and  *media_handle_upload*
> Not sure which fits this situation best. Could one of you who has
> experience
> with this share some input about which is best, and how to go about calling
> it back into their profile to an href for viewing.
> --
> View this message in context:
> http://wordpress-hackers.1065353.n5.nabble.com/Allow-users-to-upload-their-own-images-hook-to-use-tp42264.html
> Sent from the Wordpress Hackers mailing list archive at Nabble.com.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list