Link locations changed
BigAl
Registered Users Posts: 2,294 Major grins
This is quite irritating. The image links have become a *whole* lot more complex.
With older pics, the image location of the thumbnail is
The current link location is
With older pics, the image location of the thumbnail is
http://bigal-sa.smugmug.com/Other/Help/screenshot-47576/1153494013_x5kaJ-Ti.gifand all one had to do was change the Ti to get a link to the larger images.
The current link location is
http://bigal-sa.smugmug.com/Other/Help/i-6B7CV55/0/Ti/kindle-34539-Ti.gifwith the link to a larger image given by
http://bigal-sa.smugmug.com/Other/Help/i-6B7CV55/0/L/kindle-34539-L.gifThis makes it rather painful when sharing images with clickable links to larger images :pissed
0
This discussion has been closed.
Comments
There's lots of code that operates on URLs and some of it has broken. What is this new ID in the URL? How are custom sizes supposed to be generated? Are there changes in the API coming. Will every image continue to have an imageID and an imageKey even though they aren't used in the new image URLs? Will old URLs for both standard sizes and custom sizes continue to work forever (embedded in external and SM sites and as constructed in existing JS customizations).
All of a sudden this change looks very scary to those of us who do advanced things with programming, with URL construction and with custom sizes. Andy, this was not smart to spring this on us with no advanced notice and then no explanation of how it works once you did spring it on us. I would have expected a little more forethought from you all than this.
Please get some info out right away on how these new URLs work and on how custom sizes are supposed to work with them.
Now, I'm even more scared of potential future changes to gallery URLs which could really mess with a bunch of customizations.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Just thought I'd chip in with my twopenn'orth...
As a WP blogger I embed a lot of linked images, displaying "L" size pics on the blog pages and having each image linked to a larger copy, usually "X3". The usual "quick" method of embedding a linked pic is to open the image dialog box, paste in the "L" link, save and close the box, open the link dialog box, paste in the same link, edit the end "L" to "X3", save and close the box. Quick and simple.
I did that with my latest images and yup, it borked. Clicking the linked images only showed them at "L". I checked all the usual suspects - WP installation, lightbox plugin, Java, Flash, but they were all unchanged. Previous posts with older pics worked fine. Eventually I fired off a SM support request (ticket number 279578) and then continued to bang my head against a brick wall for many hours until I realised that the link format had been changed without prior notice, and that the size parameter is in there twice and has to be changed in both places.
I went back to the blog and re-edited the size parameters in both places for each link and it's working now.
Tristan (Support Hero) has been dealing with the support request, I've asked for clarification as to whether the dual size-parameter thing is intentional (and hence there'll be a reason for it) or an error (and hence it'll need fixing). Tristan has agreed to pass the request to somebody "in the know". I've also suggested to Tristan that somebody should update the instructions at http://www.smugmug.com/help/custom-photo-sizes
Hopefully somebody will deal with this soon, as custom-sizes and size-changes are now a PITA
Sorry that my first post here is a bit of a rant.
Nice place you've got here I'll go sit in the corner and try to keep quiet now.
BG!
This change broke my layout (not too badly I admit) and I had to quickly relearn some regex to rewrite the URL twice (change both instances of Th to Ti).
On reflection, I could probably remove the previous rewrite since it's only the new size parameter mid URL that seems to be respected.
Anyway, Doc _did_ identify the issue for me when I asked, although he had to go find a coder to track down why my customisation broke.
I'd strongly echo Johns comments - making changes that break existing functionality or change the filename spec etc isn't good - please don't do it again.
A sticky a few weeks out would be appropriate, and firing advance notice to a very few key clients (Jfriend springs to mind) would have been nice.
Cheers - N
http://www.nzsnaps.com (talkiet.smugmug.com)
Hello Al,
http://bigal-sa.smugmug.com/Other/Help/screenshot-47576/1153494013_x5kaJ-L.gif still works (changing -Ti to -L, for example). Is that not working for you?
Portfolio • Workshops • Facebook • Twitter
I posted to you in your prior thread that we were doing just as you asked. http://www.dgrin.com/showpost.php?p=1600590&postcount=11
Olde image links work. And will. If they don't, that's a problem and we need to deal with it. As I posted just above to Al, changing a -Ti to a -L for example, "just works" - if it's not working for you, we need to be made aware of the specific examples.
Portfolio • Workshops • Facebook • Twitter
EDIT: your photo
http://beardedgit.smugmug.com/Fellwalking/Day-Walks/YHA-Borrowdale-April-2011/i-tZH3mPQ/1/L/borrow001-L.jpg
needs to have the size changed in 2 places, that's one bit of documentation that does need to get on the site, and we're doing so this week.
http://beardedgit.smugmug.com/Fellwalking/Day-Walks/YHA-Borrowdale-April-2011/i-tZH3mPQ/1/L/borrow001-L.jpg
would become
http://beardedgit.smugmug.com/Fellwalking/Day-Walks/YHA-Borrowdale-April-2011/i-tZH3mPQ/1/XL/borrow001-XL.jpg
Portfolio • Workshops • Facebook • Twitter
Are you deliberately avoiding the real question?
Yes, old URLs still work, and changing old URLS works fine
However, the easy way to produce new links gives URLs with TWO size identifiers in them, and changing the one at the end is pointless - it's the one in the MIDDLE you need to change.
Plus, as I have pointed out, your changes break some (admittedly complex) customisations.
More importantly, as John has pointed out, we can't rely on Smugmug keeping URLs consistent anymore, making customisation MUCH harder and more volatile.
What I want to hear is "Whoops, we stuffed up, we should keep things consistent whenever possible, and if not possible, we should give as much notice as possible, and document the change clearly when it happens. Sorry, we'll learn for next time"
Can't you just say something like that instead? :-)
Cheers - N
http://www.nzsnaps.com (talkiet.smugmug.com)
Portfolio • Workshops • Facebook • Twitter
parsing that. So have to re-write their code.
My Website index | My Blog
Hi Neil, I'm not avoiding anything - just trying to answer everyone and all questions.
Yeah, I wish our blog post and help pages went live the moment the new URLs didn't, we should have ensured that, sorry. In this case, we also could have posted a heads up on how the URLs work, even a little bit in advance of the release. Now let me go do that right now.
Portfolio • Workshops • Facebook • Twitter
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
I'm sorry it's annoying, Denise. It just had to be done. That answer won't satisfy you, I know ... but I wish you'd try and let it
Portfolio • Workshops • Facebook • Twitter
Apparently changing only the first size in the path will change the image size. Since there are no docs it's hard to figure out what's going on.
Working on it right now, sorry guys for our fail in not publish this stuff sooner.
Portfolio • Workshops • Facebook • Twitter
My Website index | My Blog
http://www.dgrin.com/showthread.php?t=196034
I'm closing this thread so that all questions and discussion can be in that new thread that I just posted. Thanks.
Portfolio • Workshops • Facebook • Twitter