Closed bbbenji closed 2 years ago
@bbbenji You're amazing! I really appreciate your contribution Thanks a lot! Your idea is so cool 👍 You made my day ❤️
This function may have issues with larger images as they are being sent as URI data in the URL. The reason we cannot pass the original URL to Photopea is twofold.
- CORS
- any edits made in BetterViewer itself would not be passed along to Photopea
Not exactly sure how to resolve this but I have 2 ideas.
- hiding the option to edit in Photopea if the image is over a certain file size
- uploading to Imgur first then passing the URL to Photopea (might run into CORS problems)
Let me know if you have any ideas or if this PR requires any changes for a merge.
I found a solution:
Thank you again for your time and effort! I will add the list of contributors in "About" page.
@all-contributors please add @bbbenji for code
@Ademking
I've put up a pull request to add @bbbenji! :tada:
This function may have issues with larger images as they are being sent as URI data in the URL. The reason we cannot pass the original URL to Photopea is twofold.
Not exactly sure how to resolve this but I have 2 ideas.
Let me know if you have any ideas or if this PR requires any changes for a merge.