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?
|
The short answer is you shouldn't be programmatically constructing URLs. I know, I hate that answer too as it can lead to either heavy requests or lots of subsequent requests. However (Muhahah) you can provide 'CustomSize' as an argument to smugmug.images.get and it'll return the correct URL to fetch that custom size, the argument works as CustomSize=640x640: which returns:
Now, if you want to be able to sub in a custom size at any time after the fact just put in some specific custom size and do a replace on that like CustomSize=5031337x5031337 :) |
|||||
|
|
As is usually the case, the answer came right after I posted the question! Using image ID "imageid" and image Key "imagekey", the following URL gives me what I want:
Looks like the sizing instructions you can find elsewhere work here, too. So...
also works nicely. I marked this as "community wiki" in case there are other options that anyone would like to add! |
|||||||||||||||
|