Feature request: "orignalGalleryURL" for smugmug.images.get
jfriend
Registered Users Posts: 8,097 Major grins
When using collected galleries and listing images via the API (smugmug.images.get), there is sometimes a desire to know the gallery where the original of each image is located. For example, when using a virtual gallery with a slideshow, some people want a click on the image to go to the "original" gallery for the image, not to the virtual gallery.
Is the "original gallery" for an image in a virtual gallery available anywhere in the API. If not, please note this as a feature request.
Is the "original gallery" for an image in a virtual gallery available anywhere in the API. If not, please note this as a feature request.
--John
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
0
Comments
Also, adding Type to the Extras parameter returns Collected, Smart or Album to indicate the type of image object.
eg.
SmugMug API Developer
My Photos
Is there any doc for what can go in Extras?
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
As for the performance, it would depend on how many different sources (ie. albums and users) that the images originated from. I can see some additional optimisations that I can add, which would result in very little overhead at all.
SmugMug API Developer
My Photos
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
I'll have a think about how we can could that.
SmugMug API Developer
My Photos
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Want faster uploading? Vote for FTP!
Want faster uploading? Vote for FTP!
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Want faster uploading? Vote for FTP!
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Thank you for the tip though. I'm sure it will come in handy on some other image searching project.
Want faster uploading? Vote for FTP!
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Want faster uploading? Vote for FTP!
For example, this URL (using my APIKey) gets me a list of images in a particular gallery:
http://api.smugmug.com/services/api/json/1.3.0/?method=smugmug.images.get&APIKey=m3fjH1x4QjX6N10RsaVUeWr0dgg2oQoZ&AlbumID=5608779&AlbumKey=ZJ27n
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
I was thinking something along the lines of you login like on a putty session. You tell is smugmug.images.get with the parameters like switches and it runs it in real-time. I thought someone had made an application like this, but I don't remember anymore. I thought I tried it once.
Want faster uploading? Vote for FTP!