Page 1 of 1

Smugmug link generator

PostPosted: Tue Dec 27, 2005 9:38 pm
by DanielA
Hi all,

Just before Chistmas I signed up on Smugmug and was looking for an easy way to make links to images. I'd seen thaddeus' Zoomomator, but I'm too lazy to hunt and find a link to each image to supply to it.

So I put together a cgi script to do practically everything for me. You can find it here.
Just give it your smugmug nickname and it will give you a list of your galleries. Once you've selected your gallery it will give you code you can cut and paste into the forum. Here's an example.

Would other Smugmug users here find this useful? Any suggestions or feedback?

Share and enjoy. :D

Daniel

PostPosted: Tue Dec 27, 2005 10:01 pm
by Killakoala
That's brilliant.

Works a treat too and makes posting so much easier.

Well done and thank you.

One thought, although it's easy to change the last S to a Ti for a thumbnail sized link, it would be nice to have that option as well. Not that i want to be greedy and give you work to do. I can easily change the filename anyway myself, it only takes a few seconds.

EDIT:
Just made this post so you can see what i mean.
http://www.dslrusers.net/viewtopic.php?p=151976#151976

PostPosted: Tue Dec 27, 2005 10:06 pm
by big pix
will it work on a mac......???

PostPosted: Tue Dec 27, 2005 10:15 pm
by stubbsy
Danie4l

This is good, but for me has the same failing as what Russel's zoomerator had and that is that it's a multi step solution. Ideally I'd be able to just right click a pic and end up with the code I want on the clipboard. Now I know this can't be done seamlessly except by SmugMug themselves, but it's the remembering steps that do me over - like getting to your link. That said this is definitely easier than Thaddeus solution (sorry Russell)

PostPosted: Wed Dec 28, 2005 9:16 am
by DanielA
Thanks for the feedback.

big pix wrote:will it work on a mac......???

Should do. I can't test it, but it should work on any web browser. PC, Mac, Linux, Unix, etc. :)

stubbsy wrote:This is good, but for me has the same failing as what Russel's zoomerator had and that is that it's a multi step solution. Ideally I'd be able to just right click a pic and end up with the code I want on the clipboard.

Someone could write a tool to do that, but you would have to do one image at a time and it would be specific to the web browser and platform.
You could probably get it down to two steps with a bookmarklet (in Mozilla/Firefox) and zoomerator.

Killakoala wrote:One thought, although it's easy to change the last S to a Ti for a thumbnail sized link, it would be nice to have that option as well. Not that i want to be greedy and give you work to do. I can easily change the filename anyway myself, it only takes a few seconds.

Wow, you like 'em small don't you. :shock:
I'll see what I can do about adding some more options.

Daniel

PostPosted: Wed Dec 28, 2005 9:25 am
by Greg B
Good work Daniel, that looks great and works a treat. Thanks.

PostPosted: Wed Dec 28, 2005 10:11 am
by Killakoala
Wow, you like 'em small don't you. Shocked


Just give them enough to make them curious :)

But as i said, it can be done manually anyway and i don't want to appear lazy. I have no idea how to write scripts otherwise i would offer to do it for you.

PostPosted: Wed Dec 28, 2005 12:24 pm
by DanielA
Killakoala wrote:Just give them enough to make them curious :)

OK I have updated my Smugmug Link Generator.
For those of you who want their diminutive image linking to their full glory :roll: , you can now select what size of image to display. You can also now link to the smugmug page which has the Large image on it if you want.

Let me know of any bugs.

Daniel

PostPosted: Wed Dec 28, 2005 3:35 pm
by Killakoala
No problems. Seems to work brilliantly. This is going to make posts so much better :)

I want to thank you for your efforts to make this so useful. :)

PostPosted: Wed Dec 28, 2005 9:28 pm
by DanielA
Killakoala wrote:No problems. Seems to work brilliantly. This is going to make posts so much better :)

I want to thank you for your efforts to make this so useful. :)

That's alright. I should be useful for me too, and it was a good first try at web coding.

Daniel

PostPosted: Thu Dec 29, 2005 11:13 am
by Big V
Daniel, thank you for sharing this. It is very helpful...

PostPosted: Thu Dec 29, 2005 1:17 pm
by Paul
Thanks Daniel, very handy and is now part of my toolbar bookmarks! :D

PostPosted: Thu Dec 29, 2005 3:58 pm
by DanielA
Great.
I'll try not to move it around my website too often. :D

Daniel

PostPosted: Tue Feb 21, 2006 11:29 am
by sydneywebcam
Just found this. Will make my smugmug life much easier.

Many thanks Daniel.
__________________________
Cheers,
Paul

PostPosted: Tue Feb 21, 2006 11:51 am
by stubbsy
I now use this regularly and have been for some months. Thanks again Daniel.

PostPosted: Tue Feb 21, 2006 12:23 pm
by Frankenstein
Just found this too - damn this is useful! Thanks a lot Daniel

Frank

PostPosted: Tue Feb 21, 2006 12:24 pm
by sirhc55
Daniel - thanks for this great script - it does work on a Mac :)

PostPosted: Tue Feb 21, 2006 2:51 pm
by DanielA
I'm glad other people find it useful. It's certainly made my own life easier.

sirhc55 wrote:it does work on a Mac :)

I wonder if there is something I can do to change that... :D


Daniel

PostPosted: Wed Mar 01, 2006 9:22 pm
by johnd
Daniel, this is the best thing ever (for a Smugmug user). Makes it just so easy to post from Smugmug. I kept forgetting the sequence or url and img and it made it just too hard to post thumbnails with links.

Thanks heaps for this.

Cheers
John

PostPosted: Wed Mar 01, 2006 9:31 pm
by DanielA
johnd wrote:Thanks heaps for this.

You're welcome John.

Daniel

Bug in the script?

PostPosted: Fri Mar 24, 2006 2:39 pm
by jc-studios
Hi Daniel,

This seems to be a useful tool. My smugmug nickname is jc-studios and the script seems to ripped off my dash and could not find any album. :o Is this a problem with the script or it is a limitation of the script language? Too bad I can't use it now.

Re: Bug in the script?

PostPosted: Fri Mar 24, 2006 6:35 pm
by DanielA
Hi jc,

jc-studios wrote:My smugmug nickname is jc-studios and the script seems to ripped off my dash and could not find any album.

Whoops :oops: Sorry about that. I was filtering out hyphens. It should work now. :P

The gallery names look a little odd due to the extended characters you use, but it all seems to work fine.

Daniel

PostPosted: Fri Mar 24, 2006 6:44 pm
by SteveGriffin
Great tool Daniel. I have only just discovered this

PostPosted: Fri Mar 24, 2006 6:47 pm
by DanielA
SteveGriffin wrote:Great tool Daniel. I have only just discovered this

Thanks. I love your diver pics.

Daniel

Re: Bug in the script?

PostPosted: Fri Mar 24, 2006 6:53 pm
by jc-studios
Whoops :oops: Sorry about that. I was filtering out hyphens. It should work now. :P


Cool! Thanks.

PostPosted: Sat Nov 03, 2007 9:42 pm
by DanielA
FYI, I have just added a new option to the link generator to enable you to link to the Light Box. Now Smugmug has added the Auto mode to the Light Box it is quite useful. Here's an example.

Daniel

PostPosted: Sat Nov 10, 2007 12:22 pm
by stubbsy
Daniel

Thanks for the work you put into this. It's an essential part of my forum image posting routine.

PostPosted: Sat Nov 10, 2007 9:51 pm
by DanielA
You're welcome Peter. Anything to make (my own) life easier. :D

Daniel

Re: Smugmug link generator

PostPosted: Thu Feb 21, 2008 12:31 pm
by chewlinyip
wow thanx danielA

this is just what i was looking for!
much easier than what smugmug offers.

Re: Smugmug link generator

PostPosted: Thu Feb 21, 2008 9:29 pm
by DanielA
chewlinyip wrote:wow thanx danielA

You're welcome.


I've recently updated it to support the security change they have just introduced. It appears to be working fine but it something stops working, someone drop a message in here.

Daniel

Re: Smugmug link generator

PostPosted: Fri Feb 22, 2008 7:54 am
by chewlinyip
Daniel

Before I forget

from memory i remember reading on the smugmug website that if you made any useful applications for smugmug you got a free pro account for life!

http://blogs.smugmug.com/don/2007/04/20 ... evelopers/

In case you havn't asked them, maybe you should.

chew

Re: Smugmug link generator

PostPosted: Fri Feb 22, 2008 9:30 pm
by DanielA
chewlinyip wrote:from memory i remember reading on the smugmug website that if you made any useful applications for smugmug you got a free pro account for life!

Thanks Chew.
I did know about that, but never thought about it in relation to the link generator. I'm not actually using the Smugmug API (just the RSS feed). But I probably should rewrite it use the API instead.
Maybe I'll email them and see.

Daniel

Re: Smugmug link generator

PostPosted: Tue Mar 11, 2008 9:25 pm
by DanielA
chewlinyip wrote:from memory i remember reading on the smugmug website that if you made any useful applications for smugmug you got a free pro account for life!

Thanks again Chew.
After finally getting around to contacting Smugmug, I am now in possession of a free Pro account. :D

Daniel

Re: Smugmug link generator

PostPosted: Wed Mar 12, 2008 11:21 am
by chewlinyip
Awesome ! Glad it turned out well ! you deserve it !

Re: Smugmug link generator

PostPosted: Wed Mar 12, 2008 7:40 pm
by fozzie
Daniel - well done.

fozzie

Re: Smugmug link generator

PostPosted: Wed Mar 12, 2008 8:07 pm
by Killakoala
That is good news because you deserve it for creating this link gen which is so useful.

Re: Smugmug link generator

PostPosted: Wed Mar 12, 2008 9:24 pm
by DanielA
Thanks everyone.
I'm glad people find it useful.

Daniel