I've been struggling for full day now trying to get an image to show up in the gallery.
I'm using the .NET SDK (version 735) and Visual Studio.NET 2010.
I started with the sample app that lists an item, and modified it a bit to add more details, prices, return policies, etc but I cannot get an image to show up in the gallery. I get an email that eBay has added the item successfully, but where the picture of the item should be, all I see is an icon of a green camera. I want to host the images myself. When I click on a link in the email, I am sent to the sandbox and everything looks good. I see the .GIF file I supply for PictureURL but I never see the .JPG file I specified for GalleryURL.
When I click "see other items" to see my other items, all I see is "No Photo" for everything.
Here's a bit of the code I'm using:
{
PictureDetailsType picDetails = new PictureDetailsType();
picDetails.GalleryType = GalleryTypeCodeType.Gallery;
picDetails.GalleryDuration = "Days_7";
picDetails.GalleryURL = "http://www.PantySalad.com/images/Become.com/" + strItemCode + ".jpg";
StringCollection strcolPicDetails = new StringCollection();
String[] strArr1 = new string[] { "http://www.PantySalad.com/images/Posters/" + strItemCode + ".gif" };
strcolPicDetails.AddRange(strArr1);
picDetails.PictureURL = strcolPicDetails;
item.PictureDetails = picDetails;
}
you can use "HK16" for strItemCode, so picDetails.GalleryURL would be http://www.PantySalad.com/images/Become.com/HK16.jpg
For a while, I hard-coded this URL for picDetails.GalleryURL but that didn't work either:
http://i16.ebayimg.com/01/c/03/c2/9d/d5_6.JPG
Can someone help me figure out why I don't see anything in the gallery?