Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Thumbnail images return a 403 Forbidden when used in <img> tag on Chrome and Safari
jeancpdamke
Member Posts: 2 ✭
Hello, I have an application that fetches a list of documents, elements and parts from onshape, and uses the thumbnail URLs from the list to render an <img> tag inside of it.
This is causing the images to throw a 403 error on Chrome and Safari, although they are working on Firefox. If, on the other hand, I copy the url I have and paste it in a new tab in any browser, it works fine.
Has anybody experienced something similar, and knows how to fix it?
Best regards,
Jean Damke
This is causing the images to throw a 403 error on Chrome and Safari, although they are working on Firefox. If, on the other hand, I copy the url I have and paste it in a new tab in any browser, it works fine.
Has anybody experienced something similar, and knows how to fix it?
Best regards,
Jean Damke
0
Comments
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABA.....
Are you trying to save an image from OS to your hard drive? To do that you'll have to set up a whole different transport.