Image | ![]() |
EAN-13 | 9780783292588 ![]() |
Product Name | Minority Report |
Amazon.com | ![]() |
Similar Items | 9780783267623: A.I. - Artificial Intelligence 9780783230702: 12 Monkeys 7321950177370: The Matrix 3134373610096: Vanilla Sky [Import belge] 0883904100195: Lions For Lambs (Full Screen Edition) 0667068988529: A.I. - Artificial Intelligence 0032429257321: Island 0025192280023: Return to Paradise 0024543442073: I, Robot (Lenticular Cover Wide-Screen Edition) 0024543172574: I, Robot (Two-Disc All-Access Collector's Edition) 0012569696341: The Last Samurai/Heaven & Earth |
Created | 09-24-2017 7:44:23am |
Modified | 09-09-2021 3:18:46pm |
MD5 | 752922bdb2612cd1838e8e4ce43dd32f |
SHA256 | 43653a0b8f147142c4a786058eb87ee09ce9dfdf756173c0a0d39d9fd47aecc6 |
Search Google | by EAN or by Title |
Query Time | 0.0328181 |
Article of interest
So you want to upload product images but you don't want to do it manually. Our system allows you to upload through automation if you have an active data feed account.
The Basics
You will need to send the file along with some other infomation in the form of a POST to our web server. You do not need to log-in or keep track of cookies. You will need to pass your keycode with every file you try to upload.
It is important that you check the results of every upload to make sure things are going correctly. Normally, if things go right you will get back an HTTP response code of 200 and the word "Success!" as the only content. If things go wrong, the HTTP response will be 400 or some value other han 200 depending on the problem. You can examine the content that is sent back for more details about the error.
When you send a POST request to http://eandata.com/upload_image.php with the the following required fields.
- keycode - this is your API keycode from the data feed page.
- code - this is the 13 digit EAN-13 code for the product. If you have a code that is 12 digits, prefix it with a leading zero. If you are trying to update using ISBN or UPC-E you will get an error so expand the code to 13 digits before uploading.
- img - this is the actual image file which must be JPG, PNG or GIF format.
As long as the product exists in our system and there is not already an image associated with the product, the file should upload and be resized. All images are stored in PENDING mode until they are approved by a human. Users may be able to access the pending images but they will get a warning before the image is displayed to them.
Coding Samples And Links
We simply can't give you every possible way to access our data through automation but we can offer some code samples or at a minimum links to other resourses that will help you get your project going.
- cURL
- link: cURL Manual
- sample:
curl -F "keycode={your-keycode-goes-here}" -F "code={ean-13-code}" -F "img=@{path-to-image-file}" https://eandata.com/upload_image.php
- link: cURL Manual
- jQuery / Javascript
- Not recommended because it would expose your private key to the browser. You should post to a backend function of your own, then perform a server-to-server upload.
- C#
- link: The Code Project
- VBScript, ASP, VB6
- link: EricPhelps.com
If you have other resources that you would like us to add to our collection, or you find that our links are broken, please use the link at the bottom of the screen to contact us. Comments are also much appreciated.