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 9156475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:47:05+00:00 2026-06-17T12:47:05+00:00

I have a simple profile page which has image and some information. This profile

  • 0

I have a simple profile page which has image and some information. This profile page is filled up with the information provided during registration.

What i want is to allow registered users to click on their upload image on their profile page and be able to replace with a new one.

I know how to handle this from the database side.

I need help on the html or the front end side. In the sense that how do i make image clickable to open the upload image window.

  • 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-17T12:47:06+00:00Added an answer on June 17, 2026 at 12:47 pm

    I think the simplest solution to this, is to place the actual file upload element in the offset of the page and then “forward trigger” the click to it when the user clicks on the profile image.

    HTML:

    <input id="profile-image-upload" class="hidden" type="file">
    <div id="profile-image">click here to change profile image</div>
    

    JS:

    $('#profile-image').on('click', function() {
        $('#profile-image-upload').click();
    });
    

    See my Fiddle: http://jsfiddle.net/L8xCb/3/

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

Sidebar

Related Questions

i would like a simple help... i have a url like this: example.com/profile.php?id= &
My Jquery mobile application has a simple login page through which the user will
I have simple class with width and height member fields which define number of
I have built a very simple internal messaging system inside my application, i want
We have a very simple page for displaying the records. Basically, it passes certain
I have this page :8000/edit/6/ that show a form to update an exciting model
I have a website were users can create a profile and upload an image
I have a simple form which updates values in the db via ajax call
this may seem trivial but I'm setting up, on a profile form page I'm
I want to build a simple app where i have different users and they

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.