Url path to images

Archived from the Transloadit support forum. Originally posted on November 24, 2010; details may be outdated, see our docs for current behavior. Original thread

We’re uploading images via iphone using a template on transloadit
Probably a dumb question, but when I look at the url path of the “assembly url” that is returned upon upload, it seems to point at transloadit server/bucket rather than to the files in our s3 bucket (our s3 details were specified in the template).
Eg ttp://tmp.vivian.transloadit.com/upload/blah.jpg
What I was expecting was to get the url path to the transloaded images as they are in our s3 bucket.

Can you clarify please.

Thanks

Hi,

are you using the iPhone SDK? If so, could you paste some code showing the problem?

--fg

Thanks Felix
Here is the response after upload.
The url’s returned seem pathed to transloadit server/bucket not our s3 bucket.

Transload Response:{
"ok": "ASSEMBLY_EXECUTING",
"message": "The assembly is currently being executed.",
"assembly_id": "REDACTED",
"assembly_url": "http://api2.vivian.transloadit.com/assemblies/REDACTED",
"bytes_received": 174152,
"bytes_expected": 174152,
"client_agent": "Guidee 0.13 (iPhone; iPhone OS 4.2; he_IL)",
"client_ip": "87.70.47.180",
"client_referer": null,
"start_date": "2010/11/24 23:05:41 GMT",
"upload_duration": 12.088,
"execution_duration": null,
"fields": {},
"uploads": [
{
"id": "REDACTED",
"name": "iphone_image.jpg",
"basename": "iphone_image",
"ext": "jpg",
"size": 173685,
"mime": "image/jpeg",
"type": "image",
"field": "upload_1",
"original_id": "REDACTED",
"url": "http://tmp.vivian.transloadit.com/upload/REDACTED.jpg",
"meta": {
"width": 600,
"height": 800,
"date_recorded": null,
"date_file_created": null,
"date_file_modified": "2010/11/24 23:05:53 GMT",
"title": null,
"description": null,
"location": null,
"city": null,
"state": null,
"country": null,
"country_code": null,
"keywords": null,
"aperture": null,
"exposure_compensation": null,
"exposure_mode": null,
"exposure_time": null,
"flash": null,
"focal_length": null,
"f_number": null,
"iso": null,
"light_value": null,
"metering_mode": null,
"shutter_speed": null,
"white_balance": null,
"device_name": null,
"device_vendor": null,
"device_software": null,
"latitude": null,
"longitude": null
}
}
],
"results": {}
}

Hi Chris,

sorry I didn’t reply earlier. The problem is that in your assembly you mark each of your steps as result: true. This causes transloadit to think you’re done with the file, so it’s not even passed to the /s3/store robot.

The solution is as simple as removing all the lines!

Let me know if there is anything else I can help with!