Depends how you’re doing it. If you’re using custom post types in WP 3.0, uploads should be enabled by default with the editor: https://codex.wordpress.org/Function_Reference/register_post_type
What I want is in the admin panel, when I add a shop to my database in my plugin, I add companyname, street, zipcode, etc. This all works, and it’s based on BuddyPress Skeleton Component 1.4.
Now, I want to add an image. Is there a standard image uploader?
Ah, you’re doing it from the BP frontend. No, there is no standard image uploader for BP, or even for WP as far as I know. (Sadly.)
Here are some examples of plugins that allow file uploads. Each takes a different tack. Maybe you can decide what you want to do based on them.
– https://wordpress.org/extend/plugins/buddypress-group-documents/
– https://wordpress.org/extend/plugins/forum-attachments-for-buddypress/
– https://wordpress.org/extend/plugins/buddypress-group-wiki/
There’s a bunch of helpful functions to with uploading in wp-includes/functions.php