API and a Unique ID for an image.
mcl
Registered Users Posts: 24 Big grins
I have just started using the SmugMug API.
I am using the API to put a different front end onto my SmugMug images and creating a MySQL database table with the SmugMug URLs and other relevant fields.
I have successfully found my images on the site and the necessary identifying fields, but I was wondering if I can access my images with just the image ID and KEY and filename.
The reason for this is that images can be moved from album to album and if I have stored an image's URL in my database - it will be changed if I move it and I can not easily track that change. I would imagine that ID_Key and Filename are unique.
Can anyone advise
Thanks
I am using the API to put a different front end onto my SmugMug images and creating a MySQL database table with the SmugMug URLs and other relevant fields.
I have successfully found my images on the site and the necessary identifying fields, but I was wondering if I can access my images with just the image ID and KEY and filename.
The reason for this is that images can be moved from album to album and if I have stored an image's URL in my database - it will be changed if I move it and I can not easily track that change. I would imagine that ID_Key and Filename are unique.
Can anyone advise
Thanks
0
Comments
MyNickname.smugmug.com/photos/ID_Key-xx.jpg where xx = size Th, M, XL etc
Can I rely on this naming, even if photos get moved ?
Thanks
http://whatcaristhat.smugmug.com
Portfolio • Workshops • Facebook • Twitter