The random photo thing is for a gallery, why would ImageKey or ImageID play into this? It's the gallery link you'd need.
Why not create a widget rather then something to go into a html widget? Not many know html.
Or add to the single photo or multiple photo widget?
ImageID / GalleryID are dying items. I just meant all uses of *ID.
It could certainly play into a single photo content block, but Denise wants to use this externally, on her blog, so she needs a URL that returns a random image.
Interesting. I didn't even know this existed. I'm trying to look into how frequently this is used - though the count will probably be a bit skewed since most people don't even know it exists. The hard part would be to figure out where to put it. Ideally you'd have "Random Gallery Photo" with some kind of "size" selector. And then it would give you the URL for it in a textbox like we do with the "Photo" tab. Would you want Photo Only / HTML / BBCode for it as well?
Is it weird that you'd have to go to the gallery, open any photo, click on its share button, then find the gallery random link somewhere in there? It's probably OK.
I'd imagine the "Cart" tab would have to be changed to something like "More" (or "Other"). In there we could have Cart Link. Random Gallery Photo link. And maybe move the EMail link out of "Social" and into "More"?
If we did this, we'd update the random photo url to use the ImageKey instead of the ImageID. We're trying to get away from using ImageID. It's a dying item.
I would guess it's only use by folks who stumbled on it in legacy smug. There was a post by Ivar in a thread of JavaScript hacks to change default settings. This was thrown in as a separate post.
It's for getting a random image from a specific gallery, and the code still works. The parameters entered were the gallery id and key plus the size.
I'd love to have this functionality today without needing to search through code to find the gallery id and key. Although it seems a bit odd to place it on the gallery tab of the share panel I think it makes sense there since it is selecting a photo from the gallery. But - if you supply the functionality, I don't really care where it lives.
I'd love to have this functionality today without needed to search through code to find the gallery id and key.
If you go to the "Replace Photo" tool the AlbumID and AlbumKey are in the URL. Easier than having to hunt through code. At least until we update the "Replace Photo" tool, but to be perfectly honest, it's not on any roadmap (yet).
If you go to the "Replace Photo" tool the AlbumID and AlbumKey are in the URL. Easier than having to hunt through code. At least until we update the "Replace Photo" tool, but to be perfectly honest, it's not on any roadmap (yet).
Somehow I missed that! You're right, that's much easier.
Re-reading this thread prompted me to re-visit this tool: http://smugroom.com/tools/ to see how it has faired over time. When I was in 'sandbox' mode, I remember this tool would not produce some links - If I recall correctly, it generated only legacy links and ignored newly created "new" pages. To my surprise today it caught all galleries in New. Cheers for it surviving into the new world. I also see this behavior: Right click any link to copy it still does grab the permalink code. Yay! If you paste it into a browser URL field, though, SM does the default of disappearing the permalink code, back to default "no codes". However your computer clipboard still has the permalink, so if you need to paste it to email or wherever, you have it.
The "next generation" tool should also be mentioned: Nicholas Sherlock's Chrome extension tool, which will let you click to pull a gallery permalink (no need to go into source code to find it). http://www.dgrin.com/showthread.php?t=240752. This tool also does an awesome job of backing up all the HTML and CSS on your site, gives you a way to generate a more complex list of galleries (with both HTML and CSS) for a visitor Site Map, and is the hands-down best method to batch or bulk edit photo titles, captions, and keywords.
Re-reading this thread prompted me to re-visit this tool: http://smugroom.com/tools/ to see how it has faired over time. When I was in 'sandbox' mode, I remember this tool would not produce some links - If I recall correctly, it generated only legacy links and ignored newly created "new" pages. To my surprise today it caught all galleries in New. Cheers for it surviving into the new world. I also see this behavior: Right click any link to copy it still does grab the permalink code. Yay! If you paste it into a browser URL field, though, SM does the default of disappearing the permalink code, back to default "no codes". However your computer clipboard still has the permalink, so if you need to paste it to email or wherever, you have it.
The "next generation" tool should also be mentioned: Nicholas Sherlock's Chrome extension tool, which will let you click to pull a gallery permalink (no need to go into source code to find it). http://www.dgrin.com/showthread.php?t=240752. This tool also does an awesome job of backing up all the HTML and CSS on your site, gives you a way to generate a more complex list of galleries (with both HTML and CSS) for a visitor Site Map, and is the hands-down best method to batch or bulk edit photo titles, captions, and keywords.
Please note that this website is NOT sponsored by SmugMug in any way and I would strongly advise against using this site, not because I don't want you using the tools, but because you should NEVER give any other website, aside from SmugMug, your password. I'd strongly advise you to change your password immediately. We have tools in place for all of this site to function without requiring your username and password, the author has just chosen not to use them. Passing along this information to smugroom.com could end with the loss of your entire site.
Never used SmugRoom, but gosh, there's a whole lot of apps that need (or say they need) our username & pw in order to use them... I'm feeling scared now, but I mean, i can't think of any that don't ask for them. How do we move forward with any of them w/o giving our pw to them? I'm talking Animoto, Blurb, Moo & all the similar partner sites like that, Roku, Instant SmugMug app (which completely saved me last week from losing tons of smartphone shots), etc. etc. I don't want to derail this informative thread, but not sure where else to respond to this.
Please note that this website is NOT sponsored by SmugMug in any way and I would strongly advise against using this site, not because I don't want you using the tools, but because you should NEVER give any other website, aside from SmugMug, your password. I'd strongly advise you to change your password immediately. We have tools in place for all of this site to function without requiring your username and password, the author has just chosen not to use them. Passing along this information to smugroom.com could end with the loss of your entire site.
Never used SmugRoom, but gosh, there's a whole lot of apps that need (or say they need) our username & pw in order to use them... I'm feeling scared now, but I mean, i can't think of any that don't ask for them. How do we move forward with any of them w/o giving our pw to them? I'm talking Animoto, Blurb, Moo & all the similar partner sites like that
Moo no longer supports importing SmugMug photos - you have to upload them to moo directly :cry
Blurb and Animoto and all of our other direct partners take advantage of our authorization process: they ask for authorization by opening a window on your SmugMug site, by which you (are either logged in to SM already, or you login to SmugMug and then) authorize that service to access your photos.
You're logging into SmugMug via SmugMug, not via the other apps. Anything that uses this authorization service is OK. You can verfiy the login window is SmugMug.com before entering username/password. Or better yet, you can login to SmugMug in a new tab, then go through the authorization from the other services.
All apps, like SmugRoom, should be using this authorization service and never asking for your username/password.
I'm a tad confused about this authorization process myself, because - doesn't Smugmug allow software tool development? And during Legacy there were many tools, including the smugtools, which were promoted and encouraged.
I'm a tad confused about this authorization process myself, because - doesn't Smugmug allow software tool development? And during Legacy there were many tools, including the smugtools, which were promoted and encouraged.
SmugMug allows a number of 3rd party apps through use of our API, however, those apps can work without requiring you to give them your username and password. The authorization process lets a specific app have access to read (or potentially write) to your account via a secure method that doesn't involve giving them your username and password. There's a limited set of things they can do through this authorized process. If they have your username/password, they could do anything, including downloading all your photos, deleting them, etc.
I promoted very few third party tools during the transition from Legacy to New SmugMug, but I've always maintained, when I first saw you linking to sites like smugtools.com, that you should not be using them for this very reason. In the future we'll be shutting down the API that allows these apps to ask for username/password and will be forcing them to use the authorization process.
The takeaway to this is: yes, we allow third party apps to be built on top of SmugMug. Never give them your username/password. They can access certain limited aspects of your site once they ask for authorization and you grant them access to your site. You can revoke this access at any time in your Account Settings.
phew! I can't believe I didn't bookmark this thread, just needed to update my blog to change a widget to grab a random image from my top photos of 2017 gallery. It took me a while, but I finally found the thread again. (And yes, I did bookmark it this time.)
@leftquark - what are the chances of getting a randomly generated images tool that works just with the gallery URL?
I'm using this random image code from old dgrin, thread is no longer here. The code I am using looks like this: <img src="http://mysmugURL.com/photos/random.mg?AlbumID=153187485&AlbumKey=qMtp9z&Size=250x250" />
Sorry, I'm not looking for an extension - pulling the information from Replace photo works for now. What I am really looking for is for SmugMug to support the random photo capability without needing to use a key and id.
Comments
ImageID / GalleryID are dying items. I just meant all uses of *ID.
It could certainly play into a single photo content block, but Denise wants to use this externally, on her blog, so she needs a URL that returns a random image.
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
You can view the post here.
It's for getting a random image from a specific gallery, and the code still works. The parameters entered were the gallery id and key plus the size.
I'd love to have this functionality today without needing to search through code to find the gallery id and key. Although it seems a bit odd to place it on the gallery tab of the share panel I think it makes sense there since it is selecting a photo from the gallery. But - if you supply the functionality, I don't really care where it lives.
Thanks for considering this.
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
If you go to the "Replace Photo" tool the AlbumID and AlbumKey are in the URL. Easier than having to hunt through code. At least until we update the "Replace Photo" tool, but to be perfectly honest, it's not on any roadmap (yet).
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Thank you!
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
The "next generation" tool should also be mentioned: Nicholas Sherlock's Chrome extension tool, which will let you click to pull a gallery permalink (no need to go into source code to find it). http://www.dgrin.com/showthread.php?t=240752. This tool also does an awesome job of backing up all the HTML and CSS on your site, gives you a way to generate a more complex list of galleries (with both HTML and CSS) for a visitor Site Map, and is the hands-down best method to batch or bulk edit photo titles, captions, and keywords.
Please note that this website is NOT sponsored by SmugMug in any way and I would strongly advise against using this site, not because I don't want you using the tools, but because you should NEVER give any other website, aside from SmugMug, your password. I'd strongly advise you to change your password immediately. We have tools in place for all of this site to function without requiring your username and password, the author has just chosen not to use them. Passing along this information to smugroom.com could end with the loss of your entire site.
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Thanks, Aaron. Done.
DayBreak, my Folk Music Group (some free mp3s!) http://daybreakfolk.com
Moo no longer supports importing SmugMug photos - you have to upload them to moo directly :cry
Blurb and Animoto and all of our other direct partners take advantage of our authorization process: they ask for authorization by opening a window on your SmugMug site, by which you (are either logged in to SM already, or you login to SmugMug and then) authorize that service to access your photos.
You're logging into SmugMug via SmugMug, not via the other apps. Anything that uses this authorization service is OK. You can verfiy the login window is SmugMug.com before entering username/password. Or better yet, you can login to SmugMug in a new tab, then go through the authorization from the other services.
All apps, like SmugRoom, should be using this authorization service and never asking for your username/password.
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
SmugMug allows a number of 3rd party apps through use of our API, however, those apps can work without requiring you to give them your username and password. The authorization process lets a specific app have access to read (or potentially write) to your account via a secure method that doesn't involve giving them your username and password. There's a limited set of things they can do through this authorized process. If they have your username/password, they could do anything, including downloading all your photos, deleting them, etc.
I promoted very few third party tools during the transition from Legacy to New SmugMug, but I've always maintained, when I first saw you linking to sites like smugtools.com, that you should not be using them for this very reason. In the future we'll be shutting down the API that allows these apps to ask for username/password and will be forcing them to use the authorization process.
The takeaway to this is: yes, we allow third party apps to be built on top of SmugMug. Never give them your username/password. They can access certain limited aspects of your site once they ask for authorization and you grant them access to your site. You can revoke this access at any time in your Account Settings.
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
http://feedback.smugmug.com/forums/17723-smugmug/suggestions/2511855-add-an-anonymous-option-to-the-shared-links-gene
This is a broken link.
I fixed the OP's link.
My Website index | My Blog
Thanks. The link worked fine for me. Here's the URL as plain text if anyone else is having problems.
feedback.smugmug.com/forums/17723-smugmug/suggestions/2511855-add-an-anonymous-option-to-the-shared-links-gene
phew! I can't believe I didn't bookmark this thread, just needed to update my blog to change a widget to grab a random image from my top photos of 2017 gallery. It took me a while, but I finally found the thread again. (And yes, I did bookmark it this time.)
@leftquark - what are the chances of getting a randomly generated images tool that works just with the gallery URL?
I'm using this random image code from old dgrin, thread is no longer here. The code I am using looks like this:
<img src="http://mysmugURL.com/photos/random.mg?AlbumID=153187485&AlbumKey=qMtp9z&Size=250x250" />
Musings & ramblings at https://denisegoldberg.blogspot.com
Not sure if this helps, but my Chrome extension https://github.com/cliffordp/chrome-ext-copy-smugmug-album-key/ gives you the Album Key.
View page source, search for data=
first one found is this.
href="/hack/feed.mg?Type=gallery&Data=153242012_CgZBSZ&format=rss200">
My Website index | My Blog
The method @leftquark suggested of going into replace photo is more straightforward.
Sorry, I'm not looking for an extension - pulling the information from Replace photo works for now. What I am really looking for is for SmugMug to support the random photo capability without needing to use a key and id.
Musings & ramblings at https://denisegoldberg.blogspot.com