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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:21:12+00:00 2026-05-25T14:21:12+00:00

I have an app where I want users to be able to upload a

  • 0

I have an app where I want users to be able to upload a photo for their profile. The photo will be quite big on their profile page – 640x360px which translates to 16:9 ratio which seems to be the standard image size from a digital camera.

I haven’t done this before (bit of a noob) and there’s a couple of things I don’t know whats the best way to handle.

So I want an ‘upload image’ button which causes a popup which allows the user to resize or crop the image they’re uploading so if fits nicely into a 640x360px div. But if the image they’re uploading is, for example, 16:16 ratio and 5000px wide, then obviously it needs to be resized before being shown to the user where he can then crop the image to fit into my required 16:9 ratio.

Equally if the image the user wants to use it tiny I want to encourage them to scale their picture up so if fits nicely into the div I want it in.

I guess this is a common problem and I’m hoping there’s a plugin but after sifting for an hour or so through the endless plugins on jQuery’s plugin website I couldn’t spot one which actually does the above.

I’m looking for some recommendations from some smart people 🙂

thanks

  • 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-05-25T14:21:12+00:00Added an answer on May 25, 2026 at 2:21 pm

    Its not really a common problem, and file upload is actually fairly difficult. The problem is that you are very restricted because of security concerns.

    What you could do is just do a normal file upload (there are plenty of tutorials online if you need help with that), and then use ImageMagick to resize the images to the resolution you want serverside.

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

Sidebar

Related Questions

I have an app where we want users to be able to send us
I have an app that I want users to be able to pay a
I have two screens on my app that I want to present to users,
I have a Rails app (running 3.2.2) and I want to cache my users'
I have a Rails 3 app that lets users enter comments. I want any
I'm building an app where each user can have multiple profiles. Users can upload
I have an app that I want to be able to build two different
I have an sqlite file inside my iPhone app. I want the users to
I have a need to be able to allow users to export their .doc
In my Rails app I have Users. Users are asked for their home city

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.