question

michaeandemeske0 avatar image
0 Likes"
michaeandemeske0 asked

Images returned from Finding API are not loading in my website

I am using Finding API's findItemsByKeywords endpoint to return item information and using the outputSelector to return all image sizes. However, the images are failing to load when I use them in my site. I keep getting `could not load image` errors.

This happens on all images. My site is HTTPS loading HTTPS images so it is not a security issue. The images do exist and I can go to them directly.

Why is this happening? Are we not allowed to reuse the images from the API on our own sites?

Example:
This loads - https://thumbs1.ebaystatic.com/m/mCwJ67TY4VjRbyyAPnks6jg/140.jpg
This does not -

<img alt="New In Box Jay Manuel Beauty Skin Perfector Foundation Deep Filter #2" class="img-thumbnail img-fluid d-block" src="https://thumbs1.ebaystatic.com/m/mCwJ67TY4VjRbyyAPnks6jg/140.jpg">


finding-apifinditemsbykeywordsimagesimage
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

helios825 avatar image
1 Like"
helios825 answered

I don't think we're prohibited from using those images on our sites.

Have you tried using a different browser, just to compare? Do you have domain/ad blocking browser extensions getting in the way? Also, have you tried placing the HTML sample text on another website? And perhaps try sending a different referrer, using a browser extension, just to see if that helps, although it's a long-shot.

10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

foulfoot avatar image
1 Like"
foulfoot answered

That image loads for me when I go to the URL.


Also, don't use findItemsByKeywords. Use findItemsAdvanced.

10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

michaeandemeske0 avatar image
0 Likes"
michaeandemeske0 answered

Good call @helios825, looks like FireFox blocks eBay URLs by default. The built in adblocked flags eBay for tracking.

Works in Chrome and other browsers however. Thanks!

---

Why use findItemsAdvanced instead of findItemsByKeywords?

· 1
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

foulfoot avatar image foulfoot commented ·

It hasn't been updated in forever and has been known to have issues in the past. findItemsAdvanced has all the same functionality.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.