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

Marko Heijnen mailing at markoheijnen.nl
Wed Sep 11 22:38:14 UTC 2013

I still don't get why you need a separate database for the image information. I just use the default media dialog and use some filters to just display the user uploaded images in their.


Op 12 sep. 2013, om 00:35 heeft BenderisGreat <greglancaster71 at gmail.com> het volgende geschreven:

> This might sound stupid, because I am still learning.  But cant I use my
> existing database I created, make a new row called image.  then use
> wp_handle_upload to upload the file and resize it, then drop the url of the
> image into the row along with the other data I am storing?  
> --
> View this message in context: http://wordpress-hackers.1065353.n5.nabble.com/Allow-users-to-upload-their-own-images-hook-to-use-tp42264p42267.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