Questions related to the SmugMug API. Primarily for developers building apps using the API.

learn more… | top users | synonyms

11
votes
1answer
154 views

I want more information back from an API call but the heavy argument is too much data, options?

There are several API requests that have loads of data available in the response (smugmug.albums.get for instance) but by default the info returned is minimal and the heavy=true option returns too ...
8
votes
2answers
302 views

I have an image's ID and KEY, how do I use them to actually get the image?

Say the image's ID is "imageid" and the Key is "imagekey". What's the magical formula to produce a url to view the image? What other options do I have at the time?
8
votes
1answer
370 views

What image sizes are available from SmugMug natively and can I request specific sizes?

In my application I want to display thumbnail sized images, preview sized images and 'full sized' images, what sizes are available natively from SmugMug and is it possible to request specific image ...
7
votes
3answers
96 views

get nonoriginal image sizes through API?

There are approximate image sizes, it's possible to request a custom size, but.. no way to get the exact size. I'd like to call something like images.getEXIF or images.get or images.getURLs. Give an ...
7
votes
1answer
257 views

How can I figure out what the errors mean that are returned from uploading?

When I upload files and an error is returned they're often enigmatic results like "wrong bytes received", is there any way to get more information on why an upload failed or what these error results ...
6
votes
1answer
122 views

Which domain should I load users' content (photos/videos) from?

When making API requests depending on what the user has setup or how you make the request you can get different results back for the URL to fetch photos from: http://username.smugmug.com/... ...
5
votes
1answer
75 views

Which domains can flash make requests to on SmugMug - contain crossdomain.xml file?

I'm building a Flash application that accesses SmugMug and while api.smugmug.com contains a crossdomain.xml file that lets Flash make requests there, other domains don't, namely www.smugmug.com. ...
4
votes
2answers
113 views

API way to determine when a new upload is still Processing?

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 ...
4
votes
2answers
288 views

How is SmugMug using DynamoDB?

When Amazon's DynamoDB was announced, Don MacAskill mentioned that SmugMug was using DynamoDB. I would like to know what exactly DynamoDB is being used for, and any details that can be given about the ...
4
votes
1answer
58 views

Is there an API to get a user's Bio Photo?

I'd like to retrieve the bio photo for a user given their nickname. Is there an API or a standard URL to do this? Thanks.
4
votes
1answer
241 views

Drupal 7 SmugMug API

Has there been any work on integrating SmugMug into Drupal 7? I am moving forward using the the phpSmug code as a library to communicate with SmugMug and using Drupal 7 to do the View work for Drupal. ...
4
votes
1answer
69 views

SmugMug API not returning updated image positions

After arranging images in an album using the SmugMug drag/drop "arrange mode", smugmug.images.get will not return the updated image positions. The images do appear in the correct order within the ...
3
votes
1answer
146 views

Upload image basics

I'd appreciate some basic direction on writing an app that uploads images. The 1.3.0 API seems to only allow uploading from a URL, however I see references to being able to upload directly via POST. ...
3
votes
1answer
62 views

Is random.mg documented anywhere?

I know you can get a random image for a specific album via this: http://[nickname].smugmug.com/photos/random.mg?AlbumID=[albumid]&AlbumKey=[albumkey]&Size=[150x150, Th, etc.] But, can you ...
3
votes
1answer
55 views

How do I pull purchase stats through the API?

Is there a way to gather purchase statistics through the SmugMug API? Such as: what size photo (or type of merchandise) was purchased how many were purchased the order date
3
votes
1answer
134 views

What is a good way to search on keywords using the SmugMug API?

I would like to be able to search on keywords through the API. Has anyone tried - or can think of a better way - to search on keywords using a local database? Such as grabbing the keywords and image ...
3
votes
2answers
557 views

Is there a way to access a password protected gallery using the provided RSS feeds or API?

Say you have a gallery that is password protected, and you are wanting to access it programatically (could be a phone app, or digital picture frame, etc.). Is this currently possible? The only ...
3
votes
2answers
106 views

What is the best practice for getting a local data model of a users SmugMug and keeping it up to date?

I'm creating an application that has a component that lets the user browse through their SmugMug account from the top level down to a single photo. Looking at the API I have some ideas but have a ...
3
votes
1answer
63 views

Is there a way to leave comments using the API?

I would like to make a program which can view images, leave comments, etc. The program is for Android. I can't seem to figure out how to put comments using the API, at least for anonymous comments. Is ...
3
votes
1answer
82 views

Why is information such as how to use Extras not included in the API documentation?

While I enjoy a challenge I think it would really help developers if the API documentation was a little more comprehensive. I have spent many hours working out how to do things by searching for ...
2
votes
1answer
109 views

What is an image key for?

I am using Python and oauth to access the Smugmug API 1.3.0. I've managed to retrieve a list of albums, and a list of images within the album, and details of each image including its URL. What I ...
2
votes
2answers
127 views

Is there a way to create a “buy this photo” link using the api?

I'm writing an app that has an option to show pictures from SmugMug on another site, I use smugmug.images.getURLs to get the image URL and link to it from the other site and everything just works. I ...
2
votes
1answer
59 views

Why album's “last-updated” is not changed when I change it's properties?

I see that "last-updated" is changed only when I add/delete images from album. But when I edit title or some other properties "last-updated" is not changed, whereas for images this is not the truth. ...
2
votes
1answer
47 views

API: How do I get access to SmugEvents

I want to add participants to my events via an API call. Is this possible with the existing version?
2
votes
1answer
38 views

API phpsmug cache buster

Using phpsmug I have a working cache but am having problems coming up with a way to clear it if the album is updated, rather than wait for it to expire. I was going to use the ["LastUpdated"]=> value ...
2
votes
2answers
107 views

What timezone is used for LastUpdated field in “smugmug.albums.get” response?

I invoke method smugmug.albums.get and get a time in a very confusing timezone in response in LastUpdated field. Neither Greenwich (that is used for LastUpdated field in request), nor my local. For a ...
2
votes
0answers
159 views

Synchronize Ubuntu local folders with SmugMug

I'm currently using the PHP multi-album uploader (slightly modified) to upload my pictures to SmugMug from my Ubuntu machine. Ideally, I'd like to keep my files in sync between my local machine(s) ...
1
vote
1answer
232 views

How to get private gallery from albums.get method?

http://wiki.smugmug.net/display/API/show+1.3.0?method=smugmug.albums.get I want to get all albums, even private, here as I have user's auth info, so I should have access to his albums. How can I do ...
1
vote
2answers
297 views

External searching of images, albums

I'm doing an integration of SmugMug and WordPress and I'm looking for a way to search a users SmugMug account from within the local site. Although I'm using WP this applies much wider and input or ...
1
vote
2answers
47 views

Getting OriginalURL from API

I have my app authenticated with SmugMug through OAuth, and was able to perform smugmug.images.get to get OriginalURL regardless of client's setting on SmugMug website. Recently, I find out that the ...
1
vote
1answer
27 views

Remove api keys?

Is there a way to remove unused API Keys? Coming up empty on a search for this. It seems that this is not enough info to pass the stack sniff test as a quality post, so I'll add some more info here. ...
1
vote
1answer
42 views

How do I find a user's nickname from their custom domain?

In my app, I'd like to allow users to input their custom domain instead of just their nickname. Is there a public API I can use to turn that custom domain into their nickname for use in other API ...
1
vote
1answer
22 views

Using the API 1.22, how to know if a photo has been “featured”?

Title says it all, really. I can see readily in the API docs how to get a list of featured Albums, but I must be missing the way to get featured Images. What am I missing?
1
vote
1answer
59 views

smugmug.images.get is failing when site password is set

I'm trying to get the images list for a gallery, calling smugmug.images.get. I'm not using OAuth, I'm including SessionID in the GET call. I'm getting a response: { code = 4; message = ...
1
vote
2answers
70 views

smugmug.users.getInfo With OAuth Token, But No Nickname

I'm trying to get a link to a user's profile, and they have already authenticated my application via OAuth, but the API endpoint 'smugmug.users.getInfo' requires a NickName argument, which it seems to ...
1
vote
1answer
49 views

When creating a Gallery (album) via the 1.2.2 API, is it possible to assign a specific pricelist?

We are creating galleries via the SmugMug 1.2.2 API. Most of them will use the default pricelist, but some need to be assigned a special pricelist. I can't see via the API how to assign a specific ...
1
vote
1answer
111 views

Is guest uploading possible using the API?

Smugmug recently added guest uploading as a new feature (dgrin link). Can guest uploading be done using the Smugmug API?
1
vote
1answer
108 views

How is calculated the md5 for pictures in portrait orientation?

I wrote a script to sync pictures with my smugmug account, in which I compare the md5 of local files with the md5 of the files online to see if I need to update them. It works well for pictures in ...
1
vote
1answer
64 views

What does the API method reSort do?

There no description for the API method reSort. What does it do?
1
vote
1answer
91 views

Why aren't all extras displayed in heavy mode?

http://wiki.smugmug.net/display/API/show+1.3.0?method=smugmug.albums.get Why I cannot see the following extras in response SmugSearchable boolean (owner) SortDirection boolean (owner) SortMethod ...
1
vote
1answer
50 views

Image formats retrieved on API

The API gives me a URL to retrieve the image at. What image formats does SmugMug use? Will it ever give me a raw format, for example? Thanks.
0
votes
2answers
103 views

Why is this error returned from phpSmug

I am working on an app that will upload images to my smugmug account. I am using phpSmug 3.4 and the following code: require_once( "phpSmug.php" ); try { //assign Variable ...
0
votes
1answer
31 views

Move an image from one gallery to another gallery?

Essentially I am wanting to reorganize all photos, (but programmatically obviously) and would like to be able to move images from one gallery to another. Does the SmugMug API provided the ability to ...
0
votes
2answers
73 views

Private thumb images are not showing on external site, public images are ok

I am developing a web application using the smugmug api and phpsmug. I want the application to display all thumb images. However, currently it is only showing images from public galleries, and not ...
0
votes
1answer
22 views

Change Facebook APP id

Has anyone had anyluck adding the meta property for Facebook AppID? I am trying to update the cache that Facebook has for my site because the text is wrong when you copy and paste my URL into ...
0
votes
1answer
31 views

Extras Parameter in smugmug.images.changeSettings

Not sure if this is a mistake in SmugMug's API or not, but smugmug.images.changeSettings has Extras as a possible parameter. The description is the same as it is on all the other calls: A comma ...
0
votes
2answers
111 views

Java-based Android app for personal SmugMug galleries

I am a Java developer. I want to write an Android app to display my SmugMug galleries. Before I get started I'd like to ask a few questions from any SmugMug developers out here. Is it possible to ...
0
votes
1answer
197 views

Sort galleries within a subcategory

I'd like to be able to sort galleries (albums) within a subcategory or category by Title or any other attribute. Is there a way to do this via the web interface or the API? Thanks
0
votes
1answer
82 views

Getting a token without manually reauthorizing

I'm using this example of smugpy with oauth to authenticate. But now that I have the key and secret for my API Keys I'm wondering if there's a way to not have to use a browser to manually reauthorize. ...
0
votes
0answers
18 views

API - How to upload pictures?

I'm an iOS developer and I would like users of my app to upload to MY account (in their own gallery) and not theirs. The 1.3 API exclusively works on the OAuth model that requires every user to have ...

1 2