Tell me more ×
SmugMug Stack Exchange is a question and answer site for SmugMug developers and end users. It's 100% free, no registration required.

I'm trying to use API methods and noticed that some return Ok, but if an image is still processing from a prior upload, it will just ignore the request.

For exmaple, upload an image and do a crop right away - it will return ok but the request was seemingly ignored (or overwritten) by whatever is processing.

I want to be able to lookup when this is happening for an image to know to wait until it returns that the image is not processing.

share|improve this question
Are you starting the crop after 100% of the bytes are sent or after you get a success response from the upload? – Shizam Feb 23 '12 at 22:51

2 Answers

API version 1.3.0 now returns the Status parameter for image objects. Valid values are Preprocess or Open.

http://wiki.smugmug.net/display/API/show+1.3.0?method=smugmug.images.getInfo

share|improve this answer

I was writing up an answer that of course our API ( http://wiki.smugmug.net/display/API/Home ) provides this data on things like smugmug.images.get (Heavy - http://wiki.smugmug.net/display/API/show+1.3.0?method=smugmug.images.get ) or smugmug.images.getInfo ( http://wiki.smugmug.net/display/API/show+1.3.0?method=smugmug.images.getInfo )...

But we don't.

I'm flabbergasted that we don't. What an obvious thing to provide, and we don't do it.

Sorry about that!

We will soon. :)

share|improve this answer
Thanks for the very gung-ho response :) Appreciate the attention. – Kevin Idzi Feb 20 '12 at 6:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.