Is it necessary with a submit-button to upload an image to the current members field cell?

According to Velo you should do it in this way:

  1. add an $w.UploadButton to your page.

  2. connect the upload button to your user profile dataset.

  3. connect the File property of the button to the image field.

  4. add a button to “submit” the upload.

  5. connect the submit button to the profile dataset.

  6. the button Link connects to the Submit dataset action

I have succeded with uploading images to collection fields with just an upload-button BUT my problem is that it is inserted to the wrong members field cell. That makes me wonder if it is necessary with a submit-button to get it right? Another question is if someone can share a working code for uploading an image to the current logged in member (not “user” which is the old version).

Can someone at least explain why you “need” to combine an upload-button with a submit-button? I don´t understand the reason because I have been able to upload and insert images to the collection with just an upload-button. The only problem is that the image is inserted to the wrong member and not the current but that can´t depend on that I don´t use a submit-button. Please give me a clear answer about this.

I told you already more than once → if you want to generate a specific feature (function) which overloads the wix-out-of-the-box provided solutions - → you will …???

YES! —> YOU WILL HAVE TO CODE IT ON YOUR OWN!:grin:

So, maybe you can start your LEARNING-ADVENTURE here…

Read this post, it will lead you to another one, which also could be very useful for you. Maybe it will open your eyes and you will find at the end your wished END-RESULT.

Sorry for the DELAY of my ANSWER. :wink:

By the way - - > I WISH YOU A HAPPY NEW YEAR! :sparkles:

So the only reason to combine an upload-button with a submit-button is if you don´t use coding? Thanks for the link and happy new year!

Sorry, i never tried to combine an UPLOAD-BUTTON with a SUBMIT-BUTTON.
I solve all my issues by code . I do not use predefined stuff at all.

Predefined-stuff → has BOUNDARIES ← and i don’t like → BOUNDARIES :wink:

Okay but the example you linked to this time is in my option very advanced and complicated for a newbie like me → ( [SOLVED] How to upload from BUFFER ? | Velo by Wix ) and none of you was even mentioning how to insert the image to the current member. I honestly only got confused with the feeling of giving up.

Do you really mean that I should use HTML now instead of the ordinary way of coding? :wink: How can it be so extremely hard to upload a simple profile image to the current logged in member without the need of a long and complicated code? You may think that I am stupid but I can guarantee you that many others have the same frustrating problem. Why are there no “clear and easy” instructions about such an important topic?

Yes, i understand your frustration and yes it is not an easy task.

Surely there are also other options, i just showed you one possible way to work with UPLOADING FILES to your Wix-Manager.

Did you also read the SECOND post which is connected to my first one?

Here you will find the right APIs you can use for your purpose…
https://www.wix.com/velo/reference/wix-media-backend/mediamanager-obj
If they are more clear for you, maybe they will help you better to find your solution.

For sure such CODINGS are nothing for beginners, even not for advanced CODERS, i would say. Such CODES are for the programmers who are already experienced enough to solve every-coding-problem on their own, even if it will take more than a week of time to solve it.

You ask if there are TUTORIALS for such CODINGS ???
I don’t think so. It would take weeks to create a good tutorial for this topic.
If there is someone out there who wants to work sevral weeks for free, feel free to do it.

I checked out every link you posted but didn´t really understand all info and I thought that uploading a profile image to the current member should be an easy task but now I know that it is advanced stuff. Well, I will also check out your link about mediamanagers. I have a full time work and not with Data/IT or webpages so I don´t have so much space for learning about coding. Thats the main reason to why I have not become much cleverer after a year of clumsy tryings but I have learned the basics pretty well by now and my webpage is almost finished. This image problem and a “rent out videos” setup are the only things left to solve.

By now I have probably checked out 65 pages about uploading images but not a single guy has been able to give a clear explanation.