Skip to content

Conversation

@itsmnx
Copy link

@itsmnx itsmnx commented Oct 6, 2025

Related Issue (if any)

Closes: #62


Describe the add-ons or changes you've made

  • Investigated issues listed in the repository related to image copy and download options.
  • Cloned the repository and created a new branch feature.context-menu-image.
  • Analyzed main.js and identified the issue in context-menu.js.
  • Added two new options in the context menu:
    1. Copy Image
    2. Download Image
  • Updated context-menu.js and ensured correct integration with main.js.
  • Installed necessary npm packages and started the application.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (adds image copy and download functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Ran npm install and npm start to launch the application.
  • Searched for images in the application and right-clicked on them.
  • Verified that Copy Image and Download Image options appear in the context menu.
  • Tested Copy Image by pasting into Paint and confirmed the image was successfully copied.
  • Verified Download Image option downloads the image correctly.

Checklist:

  • My code follows the "contribution guidelines" of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • My changes generate no new warnings.
  • Any dependent changes have been merged and published in downstream modules.

Screenshots (Only for Front End and UI/UX Designers)

Original Screenshot-

  1. No copy image option is shown when right-click on image-
original

Updated Screenshot -

  1. Image copy option when right-click on image->Copy
proof 2 3. Pasted copied image in online Paint tool by going to File Tab-> Paste proof 1

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.

Feat : copy - download image from context menu

1 participant