I am having an issue with taking screenshot of divs with images stored in AWS S3.
the s3 bucket is managed by me and of course allowed public access to the files stored.
the problem is the screenshot doesn't include the two images in the div, for example, if a div has 2 images only one will appear in the screenshot and the other one will be blocked by CORS. (at least from what I'm seeing in the network requests and the debugger)
i will attach the relevant code: (I'm using react with typescript)
hello,
I am having an issue with taking screenshot of divs with images stored in AWS S3. the s3 bucket is managed by me and of course allowed public access to the files stored. the problem is the screenshot doesn't include the two images in the div, for example, if a div has 2 images only one will appear in the screenshot and the other one will be blocked by CORS. (at least from what I'm seeing in the network requests and the debugger) i will attach the relevant code: (I'm using react with typescript)
` const downloadTemplateHandler = async (templateId: string) => { const capture = document.getElementById(templateId)
`
Please help me if you can (: Thanks in advance!