I tried to upload my picture but it didn’t work. I know sandbox doesn’t support photos but I mean inside the sandbox listing there is main photo. Other sellers have a main photo so there must be a way.
My code compiles without an error but there just isn’t a photo when I go to the sandbox. Here is the code I’m using:
apiCall.PictureFileList = new StringCollection();
apiCall.PictureFileList.Add(@"C:UsersDannyDesktopdeleteMeBiggerEbayPic.jpg");
item.PictureDetails = new PictureDetailsType();
item.PictureDetails.GalleryType = GalleryTypeCodeType.Gallery;
2
Answers
I decided to try the original code again and to my surprise it worked. Maybe I did something wrong but I cant be bothered checking, its working now. Here is the code:
Afaik you can’t upload pictures from your local hard-drive using the eBay SOAP API. You need to sepcify a public URL where eBay can download the image from.
BTW: The sandbox supports photos, the only thing it doesn’t support are gallery images.