Smugmug link generator

Those nice to know things about your DSLR will be found here. How to do this, and why you probably should not do that.

Moderators: Greg B, Nnnnsic, Geoff, Glen, gstark, Moderators

Forum rules
Please ensure that you have a meaningful location included in your profile. Please refer to the FAQ for details of what "meaningful" is. Please also check the portal page for more information on this.

Is this script

The best thing ever!
5
23%
Neat.
9
41%
Useless.
0
No votes
I don't use Smugmug.
8
36%
 
Total votes : 22

Smugmug link generator

Postby DanielA on Tue Dec 27, 2005 9:38 pm

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
Nikon D4, D2Xs, D70, Nikkors and Sigmas lenses from 10 to 400mm
www.DSAimages.com
User avatar
DanielA
Senior Member
 
Posts: 963
Joined: Sat Apr 02, 2005 1:23 pm
Location: Adelaide, South Australia

Postby Killakoala on Tue Dec 27, 2005 10:01 pm

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
Last edited by Killakoala on Tue Dec 27, 2005 10:17 pm, edited 2 times in total.
Steve.
|D700| D2H | F5 | 70-200VR | 85 1.4 | 50 1.4 | 28-70 | 10.5 | 12-24 | SB800 |
Website-> http://www.stevekilburn.com
Leeds United for promotion in 2014 - Hurrah!!!
User avatar
Killakoala
Senior Member
 
Posts: 5398
Joined: Fri Aug 13, 2004 3:31 pm
Location: Southland NZ

Postby big pix on Tue Dec 27, 2005 10:06 pm

will it work on a mac......???
Cheers ....bp....
Difference between a good street photographer and a great street photographer....
Removing objects that do not belong...
happy for the comments, but
.....Please DO NOT edit my image.....
http://bigpix.smugmug.com Forever changing
User avatar
big pix
Senior Member
 
Posts: 4513
Joined: Thu Feb 17, 2005 11:52 pm
Location: Lake Macquarie NSW.

Postby stubbsy on Tue Dec 27, 2005 10:15 pm

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)
Peter
Disclaimer: I know nothing about anything.
*** smugmug galleries: http://www.stubbsy.smugmug.com ***
User avatar
stubbsy
Moderator
 
Posts: 10748
Joined: Wed Dec 08, 2004 7:44 pm
Location: Newcastle NSW - D700

Postby DanielA on Wed Dec 28, 2005 9:16 am

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
Nikon D4, D2Xs, D70, Nikkors and Sigmas lenses from 10 to 400mm
www.DSAimages.com
User avatar
DanielA
Senior Member
 
Posts: 963
Joined: Sat Apr 02, 2005 1:23 pm
Location: Adelaide, South Australia

Postby Greg B on Wed Dec 28, 2005 9:25 am

Good work Daniel, that looks great and works a treat. Thanks.
Greg - - - - D200 etc

Talent hits a target no one else can hit; Genius hits a target no one else can see.
- Arthur Schopenhauer
User avatar
Greg B
Moderator
 
Posts: 5938
Joined: Fri Sep 03, 2004 7:14 pm
Location: Surrey Hills, Melbourne

Postby Killakoala on Wed Dec 28, 2005 10:11 am

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.
Steve.
|D700| D2H | F5 | 70-200VR | 85 1.4 | 50 1.4 | 28-70 | 10.5 | 12-24 | SB800 |
Website-> http://www.stevekilburn.com
Leeds United for promotion in 2014 - Hurrah!!!
User avatar
Killakoala
Senior Member
 
Posts: 5398
Joined: Fri Aug 13, 2004 3:31 pm
Location: Southland NZ

Postby DanielA on Wed Dec 28, 2005 12:24 pm

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
Nikon D4, D2Xs, D70, Nikkors and Sigmas lenses from 10 to 400mm
www.DSAimages.com
User avatar
DanielA
Senior Member
 
Posts: 963
Joined: Sat Apr 02, 2005 1:23 pm
Location: Adelaide, South Australia

Postby Killakoala on Wed Dec 28, 2005 3:35 pm

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. :)
Steve.
|D700| D2H | F5 | 70-200VR | 85 1.4 | 50 1.4 | 28-70 | 10.5 | 12-24 | SB800 |
Website-> http://www.stevekilburn.com
Leeds United for promotion in 2014 - Hurrah!!!
User avatar
Killakoala
Senior Member
 
Posts: 5398
Joined: Fri Aug 13, 2004 3:31 pm
Location: Southland NZ

Postby DanielA on Wed Dec 28, 2005 9:28 pm

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
Nikon D4, D2Xs, D70, Nikkors and Sigmas lenses from 10 to 400mm
www.DSAimages.com
User avatar
DanielA
Senior Member
 
Posts: 963
Joined: Sat Apr 02, 2005 1:23 pm
Location: Adelaide, South Australia

Postby Big V on Thu Dec 29, 2005 11:13 am

Daniel, thank you for sharing this. It is very helpful...
Canon
User avatar
Big V
Senior Member
 
Posts: 2301
Joined: Mon Apr 18, 2005 1:37 am
Location: Adelaide

Postby Paul on Thu Dec 29, 2005 1:17 pm

Thanks Daniel, very handy and is now part of my toolbar bookmarks! :D
Nikon F80D, FM2n
RRS BH-55, 055XPROB
Smugmug
User avatar
Paul
Senior Member
 
Posts: 866
Joined: Tue Nov 23, 2004 8:32 am
Location: Baulkham Hills, NSW, Australia

Postby DanielA on Thu Dec 29, 2005 3:58 pm

Great.
I'll try not to move it around my website too often. :D

Daniel
Nikon D4, D2Xs, D70, Nikkors and Sigmas lenses from 10 to 400mm
www.DSAimages.com
User avatar
DanielA
Senior Member
 
Posts: 963
Joined: Sat Apr 02, 2005 1:23 pm
Location: Adelaide, South Australia

Postby sydneywebcam on Tue Feb 21, 2006 11:29 am

Just found this. Will make my smugmug life much easier.

Many thanks Daniel.
__________________________
Cheers,
Paul
sydneywebcam
Member
 
Posts: 77
Joined: Wed Oct 05, 2005 12:55 am
Location: Pennant Hills, Sydney

Postby stubbsy on Tue Feb 21, 2006 11:51 am

I now use this regularly and have been for some months. Thanks again Daniel.
Peter
Disclaimer: I know nothing about anything.
*** smugmug galleries: http://www.stubbsy.smugmug.com ***
User avatar
stubbsy
Moderator
 
Posts: 10748
Joined: Wed Dec 08, 2004 7:44 pm
Location: Newcastle NSW - D700

Postby Frankenstein on Tue Feb 21, 2006 12:23 pm

Just found this too - damn this is useful! Thanks a lot Daniel

Frank
My photo gallery: http://www.frankalvaro.net
>>>> Nikon D300...Nikon 18-200 VR...Sigma 10-20...Tamron 90mm macro <<<<
"I've got an idea--an idea so smart that my head would explode if I even began to know what I'm talking about. " Peter Griffin
User avatar
Frankenstein
Senior Member
 
Posts: 504
Joined: Sun Apr 24, 2005 12:23 pm
Location: Ruse (Sydney)

Postby sirhc55 on Tue Feb 21, 2006 12:24 pm

Daniel - thanks for this great script - it does work on a Mac :)
Chris
--------------------------------
I started my life with nothing and I’ve still got most of it left
User avatar
sirhc55
Key Member
 
Posts: 12930
Joined: Fri Sep 17, 2004 6:57 pm
Location: Port Macquarie - Olympus EM-10

Postby DanielA on Tue Feb 21, 2006 2:51 pm

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
Nikon D4, D2Xs, D70, Nikkors and Sigmas lenses from 10 to 400mm
www.DSAimages.com
User avatar
DanielA
Senior Member
 
Posts: 963
Joined: Sat Apr 02, 2005 1:23 pm
Location: Adelaide, South Australia

Postby johnd on Wed Mar 01, 2006 9:22 pm

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
D3, D300, 14-24/2.8, 24-70/2.8, 85/1.4, 80-400VR, 18-200VR, 105/2.8 VR macro, Sigma 150/2.8 macro
http://www.johndarguephotography.com/
User avatar
johnd
Senior Member
 
Posts: 1342
Joined: Thu Apr 21, 2005 2:14 pm
Location: Sandy Bay, Tas.

Postby DanielA on Wed Mar 01, 2006 9:31 pm

johnd wrote:Thanks heaps for this.

You're welcome John.

Daniel
Nikon D4, D2Xs, D70, Nikkors and Sigmas lenses from 10 to 400mm
www.DSAimages.com
User avatar
DanielA
Senior Member
 
Posts: 963
Joined: Sat Apr 02, 2005 1:23 pm
Location: Adelaide, South Australia

Bug in the script?

Postby jc-studios on Fri Mar 24, 2006 2:39 pm

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.
jc-studios
Newbie
 
Posts: 2
Joined: Fri Mar 24, 2006 2:21 pm
Location: Union City, CA, USA

Re: Bug in the script?

Postby DanielA on Fri Mar 24, 2006 6:35 pm

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
Nikon D4, D2Xs, D70, Nikkors and Sigmas lenses from 10 to 400mm
www.DSAimages.com
User avatar
DanielA
Senior Member
 
Posts: 963
Joined: Sat Apr 02, 2005 1:23 pm
Location: Adelaide, South Australia

Postby SteveGriffin on Fri Mar 24, 2006 6:44 pm

Great tool Daniel. I have only just discovered this
Steve
-------------------------------------------------------
So many things to do - so little time.
User avatar
SteveGriffin
Senior Member
 
Posts: 815
Joined: Tue Feb 22, 2005 6:52 pm
Location: Rochedale Brisbane

Postby DanielA on Fri Mar 24, 2006 6:47 pm

SteveGriffin wrote:Great tool Daniel. I have only just discovered this

Thanks. I love your diver pics.

Daniel
Nikon D4, D2Xs, D70, Nikkors and Sigmas lenses from 10 to 400mm
www.DSAimages.com
User avatar
DanielA
Senior Member
 
Posts: 963
Joined: Sat Apr 02, 2005 1:23 pm
Location: Adelaide, South Australia

Re: Bug in the script?

Postby jc-studios on Fri Mar 24, 2006 6:53 pm

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


Cool! Thanks.
jc-studios
Newbie
 
Posts: 2
Joined: Fri Mar 24, 2006 2:21 pm
Location: Union City, CA, USA

Postby DanielA on Sat Nov 03, 2007 9:42 pm

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
Nikon D4, D2Xs, D70, Nikkors and Sigmas lenses from 10 to 400mm
www.DSAimages.com
User avatar
DanielA
Senior Member
 
Posts: 963
Joined: Sat Apr 02, 2005 1:23 pm
Location: Adelaide, South Australia

Postby stubbsy on Sat Nov 10, 2007 12:22 pm

Daniel

Thanks for the work you put into this. It's an essential part of my forum image posting routine.
Peter
Disclaimer: I know nothing about anything.
*** smugmug galleries: http://www.stubbsy.smugmug.com ***
User avatar
stubbsy
Moderator
 
Posts: 10748
Joined: Wed Dec 08, 2004 7:44 pm
Location: Newcastle NSW - D700

Postby DanielA on Sat Nov 10, 2007 9:51 pm

You're welcome Peter. Anything to make (my own) life easier. :D

Daniel
Nikon D4, D2Xs, D70, Nikkors and Sigmas lenses from 10 to 400mm
www.DSAimages.com
User avatar
DanielA
Senior Member
 
Posts: 963
Joined: Sat Apr 02, 2005 1:23 pm
Location: Adelaide, South Australia

Re: Smugmug link generator

Postby chewlinyip on Thu Feb 21, 2008 12:31 pm

wow thanx danielA

this is just what i was looking for!
much easier than what smugmug offers.
User avatar
chewlinyip
Newbie
 
Posts: 36
Joined: Thu Feb 21, 2008 7:36 am
Location: Kew, Melbourne

Re: Smugmug link generator

Postby DanielA on Thu Feb 21, 2008 9:29 pm

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
Nikon D4, D2Xs, D70, Nikkors and Sigmas lenses from 10 to 400mm
www.DSAimages.com
User avatar
DanielA
Senior Member
 
Posts: 963
Joined: Sat Apr 02, 2005 1:23 pm
Location: Adelaide, South Australia

Re: Smugmug link generator

Postby chewlinyip on Fri Feb 22, 2008 7:54 am

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
User avatar
chewlinyip
Newbie
 
Posts: 36
Joined: Thu Feb 21, 2008 7:36 am
Location: Kew, Melbourne

Re: Smugmug link generator

Postby DanielA on Fri Feb 22, 2008 9:30 pm

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
Nikon D4, D2Xs, D70, Nikkors and Sigmas lenses from 10 to 400mm
www.DSAimages.com
User avatar
DanielA
Senior Member
 
Posts: 963
Joined: Sat Apr 02, 2005 1:23 pm
Location: Adelaide, South Australia

Re: Smugmug link generator

Postby DanielA on Tue Mar 11, 2008 9:25 pm

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
Nikon D4, D2Xs, D70, Nikkors and Sigmas lenses from 10 to 400mm
www.DSAimages.com
User avatar
DanielA
Senior Member
 
Posts: 963
Joined: Sat Apr 02, 2005 1:23 pm
Location: Adelaide, South Australia

Re: Smugmug link generator

Postby chewlinyip on Wed Mar 12, 2008 11:21 am

Awesome ! Glad it turned out well ! you deserve it !
User avatar
chewlinyip
Newbie
 
Posts: 36
Joined: Thu Feb 21, 2008 7:36 am
Location: Kew, Melbourne

Re: Smugmug link generator

Postby fozzie on Wed Mar 12, 2008 7:40 pm

Daniel - well done.

fozzie
User avatar
fozzie
Key Member
 
Posts: 2806
Joined: Tue Oct 12, 2004 9:19 pm
Location: AUADA : Nikon D3/D2x - JPG Shooter

Re: Smugmug link generator

Postby Killakoala on Wed Mar 12, 2008 8:07 pm

That is good news because you deserve it for creating this link gen which is so useful.
Steve.
|D700| D2H | F5 | 70-200VR | 85 1.4 | 50 1.4 | 28-70 | 10.5 | 12-24 | SB800 |
Website-> http://www.stevekilburn.com
Leeds United for promotion in 2014 - Hurrah!!!
User avatar
Killakoala
Senior Member
 
Posts: 5398
Joined: Fri Aug 13, 2004 3:31 pm
Location: Southland NZ

Re: Smugmug link generator

Postby DanielA on Wed Mar 12, 2008 9:24 pm

Thanks everyone.
I'm glad people find it useful.

Daniel
Nikon D4, D2Xs, D70, Nikkors and Sigmas lenses from 10 to 400mm
www.DSAimages.com
User avatar
DanielA
Senior Member
 
Posts: 963
Joined: Sat Apr 02, 2005 1:23 pm
Location: Adelaide, South Australia


Return to Tips and tricks

Who is online

Users browsing this forum: No registered users and 14 guests