Themes with no pages (unlimited thumbnails)

crennercrenner Registered Users Posts: 33 Big grins
edited August 31, 2006 in SmugMug Support
I am new to smugmug. I have been a pbase user for over a year. I am used to being able to remove page breaks from my galleries on pbase. Are there themes on smugmug that allow unlimited thumnails per page? Or a way to set this number on existing themes?

Or does this require theme customization (a power user feature). I'm not sure if I would get a power user subscription just for this one feature (customizing themes). I probably would not.

Here is an example of how I use this on pbase:
1) I have a pbase account at http://www.pbase.com/crenner
2) I have various websites with limited bandwidth that I run at home
3) One of these sites is http://nicole.rennerfamily.org (for pictures of my daughter)
4) None of the pictures on nicole.rennerfamily.org are hosted at home. All of them are hosted on pbase.
5) I use PHP scripts to parse my "Nicole galleries" at pbase, and build tables of all my images, captions, filenames, etc. These scripts depend on the fact that all my image thumnails are on a single page.
6) I schedule these scripts to run nightly.
7) I then use the resulting tables in my PHP generated pages on nicole.rennerfamly.org.
8) This enables me to put rotating picture thumnails and random picture thumnails on my site.
9) This also enables me to put a "most recent" page that shows the most recent 12 pictures of Nicole I have posted on pbase.

Essentially, http://nicole.rennerfamily.org is just a custom front-end for my pbase galleries, that allows me more customization than is possible on pbase, or any other picture site. I use direct links to display the pictures/thumnails, but my picutres are hosted elsewhere.

Anway, I'm trying to find a semi-painless way to get all my pbase galleries on smugmug, as well as continue development of my sites that use direct linking to my galleries if I move to smugmug.

Someone please let me know if there is a way to display all thumnails (for a gallery) on a single page on smugmug, and if this requires a power user account.

Comments

  • dmcdmc Registered Users Posts: 427 Major grins
    edited August 31, 2006
    crenner wrote:
    I am new to smugmug. I have been a pbase user for over a year. I am used to being able to remove page breaks from my galleries on pbase. Are there themes on smugmug that allow unlimited thumnails per page? Or a way to set this number on existing themes?....
    The only style on smugmug that has no apparent "per page" limit IS the "all thumbs" style...

    I use this view to look at smugmug's Popular Photos... set the style to "All thumbs" and see all 1000 of them
  • AllenAllen Registered Users Posts: 10,014 Major grins
    edited August 31, 2006
    It's very easy using the "styles" dropdown in the upper right corner.
    See here and change style to "all thumbs".
    http://atsmith.smugmug.com/gallery/1248663
    Al
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • DavidTODavidTO Registered Users, Retired Mod Posts: 19,160 Major grins
    edited August 31, 2006
    You can force a style in gallery settings, as well.
    Moderator Emeritus
    Dgrin FAQ | Me | Workshops
  • crennercrenner Registered Users Posts: 33 Big grins
    edited August 31, 2006
    Thanks!
    DavidTO wrote:
    You can force a style in gallery settings, as well.
    OK. Thanks for all the fast responses!

    I'm uploading a "raw" gallery right now of about 1500 pictures that I took during my wife's black belt exam in February of 2004. (I pretty much just held down the shutter button most of the time. Why I didn't use a digital camcorder instead, I don't remember).

    Here is the gallery:
    http://crenner.smugmug.com/gallery/1837363 (still uploading to it, only about 300 images or so in it at the time of this post)

    If I want to "grab" and parse the html for this entire gallery for image names, links, alt tags, captions, file names, etc., I would obviously want it parsing the html for the "all thumbs" style, so that I would not have to parse 100 or so pages.

    How does the page know I want the "all thumbs" style if I am downloading it with a program like wget? Do I have to create a cookie with wget? Or do I need to request the page with POST information?

    It probably would not be to my benefit to "force" the "all thumbs" style in the gallery options if it forces users to ONLY see that one style.

    I'm sorry if I'm missing the obvious, but I am trying.

    EDIT: It appears as though a POST to /homepage/templatechange.mg of two fields (TemplateID=7&origin=http://crenner.smugmug.com/gallery/1837363) is neccessary. It also appears as though I'll have to play with this some. Anybody who has used wget to parse smugmug pages and wants to help, please feel free to contribute any relevant information.

    Thanks again for the lightning-fast replies.
  • crennercrenner Registered Users Posts: 33 Big grins
    edited August 31, 2006
    Nevermind
    Nevermind. I figured it out. GET works just as well as POST in this case.

    If I want to "wget" the html for the gallery at http://crenner.smugmug.com/gallery/1837363 , then all I have to do is construct a URI to the templatechange.mg page using GET variables for TemplateID and origin like so:

    page=http://crenner.smugmug.com/homepage/templatechange.mg (the page that changes a style and refreshes the originating page)
    TemplateID=7 ("all thumbs" style)
    origin=http://crenner.smugmug.com/gallery/1837363 (the gallery I want displayed in "all thumbs" when called from wget)

    Resulting (working URI) for the above gallery: http://crenner.smugmug.com/homepage/templatechange.mg?TemplateID=7&origin=http://crenner.smugmug.com/gallery/1837363

    So, um, never mind on my second question. I think I've got it!

    Thanks again for the lightning fast replies!

    EDIT: I experimented with this with "wget". Here is a working solution for me to retrieve the html to parse for this gallery in the "all thumbs" style:

    Here is a working command line for wget that will download the html contents of the above gallery into 1837363.html using the HTTP GET method:
    wget "http://crenner.smugmug.com/homepage/templatechange.mg?TemplateID=7&origin=http://crenner.smugmug.com/gallery/1837363" -O 1837363.html
    

    Here are two working command lines for wget that will do the same using the HTTP POST method:

    1)
    wget "http://crenner.smugmug.com/homepage/templatechange.mg" --post-data "TemplateID=7&origin=http://crenner.smugmug.com/gallery/1837363" -O 1837363.html
    

    2)
    wget http://crenner.smugmug.com/homepage/templatechange.mg --post-file postfile.txt -O 1837363.html
    
    This example requires a file postfile.txt with the following contents:
    TemplateID=7&origin=http://crenner.smugmug.com/gallery/1837363
    
  • dmcdmc Registered Users Posts: 427 Major grins
    edited August 31, 2006
    crenner wrote:
    Nevermind. I figured it out. GET works just as well as POST in this case.

    If I want to "wget" the html for the gallery at http://crenner.smugmug.com/gallery/1837363 , then all I have to do is construct a URI to the templatechange.mg page using GET variables for TemplateID and origin like so:

    page=http://crenner.smugmug.com/homepage/templatechange.mg (the page that changes a style and refreshes the originating page)
    TemplateID=7 ("all thumbs" style)
    origin=http://crenner.smugmug.com/gallery/1837363 (the gallery I want displayed in "all thumbs" when called from wget)

    Resulting (working URI) for the above gallery: http://crenner.smugmug.com/homepage/templatechange.mg?TemplateID=7&origin=http://crenner.smugmug.com/gallery/1837363

    So, um, never mind on my second question. I think I've got it! Thanks again for the lightning fast replies!

    eek7.gif


    way over my head.... you might get more info from the folks who hang out in the Smugmug Customization forum

    Glad your'e getting things working!
  • dmcdmc Registered Users Posts: 427 Major grins
    edited August 31, 2006
    crenner wrote:
    ...It probably would not be to my benefit to "force" the "all thumbs" style in the gallery options if it forces users to ONLY see that one style.

    I'm sorry if I'm missing the obvious, but I am trying.
    ...
    I see you figured out how to open a gallery with a specific style... yes this fancy URL is the only way to do it without limiting the user to just one style.

    In the feature request thread, it has been requested to allow a gallery to have a "default" style as opposed to limiting the gallery to a single mandatory style.
  • crennercrenner Registered Users Posts: 33 Big grins
    edited August 31, 2006
    Thanks again!
    dmc wrote:
    way over my head.... you might get more info from the folks who hang out in the Smugmug Customization forum

    Glad your'e getting things working!

    I see you figured out how to open a gallery with a specific style... yes this fancy URL is the only way to do it without limiting the user to just one style.

    In the feature request thread, it has been requested to allow a gallery to have a "default" style as opposed to limiting the gallery to a single mandatory style.

    dmc - Thanks for the suggestions. I edited my previous post and added specific wget command lines (once I figured them out) for retrieving the html of a specific gallery to a html (text) file. I'm probably not the only person who needs this information, and I want to do my part to help too! So my solution is now there as a reference.
  • dmcdmc Registered Users Posts: 427 Major grins
    edited August 31, 2006
    crenner wrote:
    dmc - Thanks for the suggestions. I edited my previous post and added specific wget command lines (once I figured them out) for retrieving the html of a specific gallery to a html (text) file. I'm probably not the only person who needs this information, and I want to do my part to help too! So my solution is now there as a reference.

    Here is a link that describes a similar URL for setting a default style.... not sure how different it is from what you figured out... congrats on your progress though thumb.gif
  • crennercrenner Registered Users Posts: 33 Big grins
    edited August 31, 2006
    Heh!
    dmc wrote:
    Here is a link that describes a similar URL for setting a default style.... not sure how different it is from what you figured out... congrats on your progress though thumb.gif
    It's actually the exact same solution! I don't feel quite as clever now, but at least it works! rolleyes1.gif
Sign In or Register to comment.