A powerful Chrome extension that allows you to download any image from any webpage, including protected and dynamically loaded images.
- Easy Download: Download any visible image with a single click.
- Smart Icon Positioning: Avoids overlapping with website elements.
- Wide Support: Handles protected and dynamically loaded images.
- Compatibility: Works with:
- Regular images (
<img>
tags) - Background images (CSS)
- Canvas elements
- SVG images
- Base64 encoded images
- Lazy-loaded images
- Images in iframes
- Images in shadow DOM
- Regular images (
-
Clone the Repository:
- Open your terminal or command prompt.
- Run the following command to clone the repository:
git clone https://github.com/venopyx/pic-grabber.git
- Alternatively, you can download the zip file from here and extract it.
-
Load the Extension in Chrome:
- Open Chrome and go to
chrome://extensions/
. - Enable "Developer mode" by toggling the switch in the top right corner.
- Click the "Load unpacked" button and select the directory where you cloned or extracted the extension.
- Open Chrome and go to
-
Scan for Images:
- Click the extension icon in the toolbar to scan the current page for images.
-
Download Images:
- Hover over any image on the page to reveal the download button.
- Click the download button to save the image to your device.
The extension implements smart icon positioning to avoid conflicts with website elements:
- Default Position: Bottom-left corner of images.
- Automatic Repositioning: If conflicts are detected, the icon will automatically reposition.
- Four Possible Positions: Bottom-left, bottom-right, top-left, top-right.
- Lower z-index: To avoid overlapping with critical website elements.
./
├── assets/
│ ├── download-16.png
│ ├── download-32.png
│ └── download-48.png
├── css/
│ └── styles.css
├── js/
│ ├── background.js
│ ├── content.js
│ └── utils.js
└── manifest.json
downloads
: For saving images.scripting
: For injecting content scripts.activeTab
: For accessing the current tab.webRequest
: For handling image requests.
-
Fork the Repository:
- Click the "Fork" button at the top right of the repository page.
-
Create a Feature Branch:
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
-
Submit a Pull Request:
- Push your branch to your fork.
- Open a pull request to the main repository.
MIT License - feel free to use and modify as needed.
-
Icon Overlapping with Website Elements:
- The extension uses smart positioning to avoid conflicts.
- Icons will automatically reposition if conflicts are detected.
- The default position is bottom-left to minimize interference.
-
Images Not Downloading:
- Ensure the image is fully loaded.
- Some websites may require authentication.
- Check the browser console for error messages.
Please report issues through GitHub issues with the following details:
- Browser version
- Steps to reproduce
- Screenshot if possible
- Website URL where the issue occurs
- Implement batch download functionality
- Add image format conversion options
- Include image preview on hover