Square thumbs not working properly

TalkieTTalkieT Registered Users Posts: 491 Major grins
edited April 25, 2011 in Bug Reporting
My most recent galleries are set the same as all the others, square thumbs - however on my front page they are NOT using the square thumbs which is breaking my layout - see screenshot below.

i-85SFk3c-X3.jpg

Actually, on second look - it might be generating square thumbs, but for much larger than I expect - 150*150px. Either way, this is not designed behaviour.

Please advise if this is my problem or yours.

(cc helpdesk)

CHeers - Neil G
--
http://www.nzsnaps.com (talkiet.smugmug.com)

Comments

  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited April 24, 2011
    Neil, no need to ask in both places, that actually just makes us do double work :)
    Doc will be in touch from the help desk shortly.
  • TalkieTTalkieT Registered Users Posts: 491 Major grins
    edited April 25, 2011
    I just got an update from Doc via email on this so thought I'd close this off here...
    [snip] I got one of the programmers to look and we were able to find the problem.You are parsing the feed output and replacing -th with -ti
    But we have changed the urls, the size is now in 2 places
    You will need to update the regex to replace /th/
    This is what needs to be changed in your Top Javascript customization box:
    galimage = galimage.replace(/^.+src="(.*?)" .*/, "$1") ;
    galimage = galimage.replace(/(.*-)Th(-\d+)?(\.\w+)/i, "$1Ti$2$3") ;
    I hope that helps. If you have trouble, please ask on Dgrin in the Customization forum as the folks there can help guide you on how to make the changes better than I can. http://www.dgrin.com/forumdisplay.php?f=31 I hope that I have at least pointed you in the right direction.
    --Doc

    I have had a REAL quick look at the JS but it's not immediately apparent so I'm about to post a help request in the customisation thread...

    So turns out it wasn't a bug but a change in designed behaviour that caught me out becuase I was rewriting a URL that has changed in format - Oh well.

    Cheers - N
    --
    http://www.nzsnaps.com (talkiet.smugmug.com)
Sign In or Register to comment.