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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T19:12:02+00:00 2026-06-16T19:12:02+00:00

I am creating a gallery that checks images, making sure they are sized correctly.

  • 0

I am creating a gallery that checks images, making sure they are sized correctly. If the image size is incorrect a marker is placed on the image and the user must edit. When user clicks on image a modal is called that contains selected image. The image size in the modal may not be 100% of the original so any sort of jQuery or JS cropping tool I use is not going to allow me to size based on the original image.

Any ideas on approach for cropping the ‘reduced’ size image and modifying the original proportionally?

I have the naturalHeight and naturalWidth of the original image, but unless I can find a practical approach of using a smaller size image to do some sort of comparison crop, the modal approach doesn’t appear feasible.

Any help or tools to address this issue would be a great help.

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-06-16T19:12:04+00:00Added an answer on June 16, 2026 at 7:12 pm

    I built something similar and Jcrop worked like a charm. It takes into consideration the difference between the original height/width and the displayed height/width. Check it out. http://deepliquid.com/content/Jcrop.html

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

Sidebar

Related Questions

the tutorial here http://www.edumobile.org/android/android-beginner-tutorials/creating-image-gallery/ teaches how to put images from resources in gallery here's
I have been creating an image gallery with jQuery, all is done. The images
I am creating a website that has an image gallery. You have a side
I'm creating an image gallery where clicking on the images navigates to next view.
I am creating app that download 4-5 images from server and display as gallery.
I'm creating an image gallery site that you have to log in to access.
I am creating a jquery image gallery and I am using fancy box to
I am creating an image (some sort of copy of another gallery image) using
I'm creating an image gallery just for fun to expand my introductory knowledge of
I am new to Umbraco. I am creating an image gallery (called Customers). A

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.