ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Simple Photo Gallery: Gallery Module or Weblog?

January 10, 2008 10:42am

Subscribe [10]
  • #46 / Feb 09, 2008 12:52pm

    tbritton

    714 posts

    How would I do February then? A category can only have one parent.

    Oh nerve!!!

    Another approach, then, might be to use category url titles like 2007-january, 2007-february… 2008-january etc. No segments to test for january (unless you use php string functions to weed out the year), but it would appear similarly.

    http://mysites.com/gallery/cat/2007-january

    Terry

  • #47 / Feb 09, 2008 1:32pm

    tbritton

    714 posts

    If you can pull the category name from the url with the plugin, can you then compare that result against the parent, by testing segment_4 or wherever the parent ends up following the category indicator?

    Galleree plugin

    This plugin, for use with the photo gallery module, has two main purposes:
    1) to parse the URL so that you can use the category name instead of the category id
    2) retrieve category information, such as total files, sub categories, etc

    Terry

  • #48 / Feb 09, 2008 4:31pm

    Erin Dalzell

    790 posts

    Thanks for those options Terry…I had thought of most of them already. It also isn’t that hard to make the plugin parse the URL either so I can have the structure I want. Just set ‘dynamic=off’ and do the parsing manually…not that hard. I want the URL structure so that it is easy to guess how to get to a particular category. This is a feature, IMHO, that should be in EE already. Hopefully it shows up in 2.0.

    I just started a new job where I actually have to work all day, so I don’t have as much time to do this. But maybe I will try to get to it tonight while I watch hockey.

    Thanks

  • #49 / Feb 11, 2008 11:19am

    noregt

    360 posts

    To finish my contribution to this thread: I did a thorough test with the Image Sizer plug-in. This plug-in does give you the tags to work with the dimensions of the thumbnails and it generates them on the fly.

    I now converted my portfolio from Gallery to weblog entries using this method. This gives me more options to mix images with the rest of my weblog content. If I choose I can now just use an image for a portfolio, but also a more traditional weblog entry with text and an image.

    This could also have been done with the gallery, but it feels more secure using one method for everything. Especially mixing weblog categories with gallery categories and entries can get confusing.

    The advantage of the gallery is that you have more control over your existing images. The image library of the EE entries is not so easy to maintain. Also image upload is much easier with the Gallery. But if you want full control over the way your content is displayed and mixed, using regular weblog entries is the way to go.

  • #50 / Feb 11, 2008 1:02pm

    Cliff Persaud

    13 posts

    Hey Guys
    Just wanted to drop by and say thanks for all the help.  It’s my first EE site and I have to say the community support is excellent.  I got it working by turning off the dynamic option and forcing my thumbnail links to return the proper pagination segment.

  • #51 / Feb 11, 2008 1:02pm

    Cliff Persaud

    13 posts

    To finish my contribution to this thread: I did a thorough test with the Image Sizer plug-in.

    Definitely going to check that out.

  • #52 / Feb 11, 2008 1:23pm

    noregt

    360 posts

    When getting into that note that I got some help from Robin Sowell here.

    I got stuck with the categories, thumbnails and full images, but the related_categories_mode parameter gives you the possibility to associate entries with a category. Doing all through the URL can get very complicated.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases