Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download Image function added #11

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

praveenmehta010
Copy link

#3 Added "Download Image" button feature.
img1

@vercel
Copy link

vercel bot commented Oct 1, 2023

@praveenmehta010 is attempting to deploy a commit to the SDC-USAR Team on Vercel.

A member of the Team first needs to authorize it.

pages/index.tsx Outdated
@@ -81,6 +81,31 @@ export default function Home() {
return response
}

const downloadImage = () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please ensure that the downloaded image is in jpg or png type so that majority of users can easily view it.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have made the changes now user can download the images in jpg or png format

Screenshot 2023-10-01 160349

@praveenmehta010 praveenmehta010 requested a review from Adi-ty October 1, 2023 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants