Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8297277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T15:21:20+00:00 2026-06-08T15:21:20+00:00

how can i upload an image (javascript) to a backend server (MVC4) and in

  • 0

how can i upload an image (javascript) to a backend server (MVC4) and in the same post also add some custom data.

The problem we are facing is that we are trying to make an album web client much like facebook’s albums.

A user will upload a series of photos to be added to a database. We need to have those photos already taged to an album as facebook’s photos cannot be viewed without having an album who owns the photo.

I talked to the guy in charge of the front end and he says that while doing the javascript call to upload a photo, you cannot also send meta data within this call.

Thank you for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T15:21:22+00:00Added an answer on June 8, 2026 at 3:21 pm

    Sure you can.

    When you upload your file reference, just add some post variables to the URL.

    like

    upload.aspx?title=blah?date=somedate

    the actual data is just part of the form data as specified by the HTTP protocol
    http://www.vivtek.com/rfc1867.html

    -------------------------------18788734234
    Content-Disposition: form-data; name="nonfile_field"
    
    value here
    -------------------------------18788734234
    Content-Disposition: form-data; name="myfile"; filename="ad.gif"
    Content-Type: image/gif
    
    [ooh -- file contents!]
    -------------------------------18788734234--
    

    A great tool is AjaxUpload it should be a good starting point. If you need to upload data along with it, add query variables to the “action”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I upload some text info (a text string) and an image file
In a rather simple ASP.NET application where the user can upload a image, mostly
In my website, the user can upload a profile image. The website structure is
I can't seem to upload an image using Zend_Service_Nirvanix. Is it even possible? I
I've been doing research on image file upload security for a while but can't
I am using a form to upload files(images) to my server. How can I
i have a problem with my Javascript. i have got a form to upload
I want to upload image file into couchdb using javascript. For this i am
I have a upload field where people can upload a image. I'd like to
I upload an image with AsyncFileUpload control. On UploadedComplete I try to assign some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.