Photo gallery recommendations?

overflowing - April 8, 2008 - 06:25

It seems like the two most popular modules are Image and Gallery, but I also came across:

Brilliant Gallery
eXtreme Small And Simple Gallery
Node Media
Pblog
Yet Another Gallery Module

If I want to put a photo gallery on my site does anyone have any recommendations as to which module to use?

use gallery

theamoeba - April 8, 2008 - 10:06

I'd say use gallery. Gallery2 is a fair gallery manager and should cover your needs. I have used Gallery2 briefly before and i dont believe that i found any issues with it. :)

----------------------------------
spreading the love... :)
espresso-online

Thanks for you're reply.

overflowing - April 9, 2008 - 04:52

Thanks for you're reply. Also I forgot to mention CCK, Imagefield, and Views as one of the options.

If you were starting a new simple photo gallery with a handful of galleries, would you use:

1. Image module?
2. Gallery module?
3. CCK, Imagefield, and Views?

Okay I just listened to a

overflowing - April 10, 2008 - 07:02

Okay I just listened to a lullabot podcast that pretty much suggests that the Image module is "deprecated" and it would be better to do CCK and Views. This makes sense to me as it seems like you can do what I would want to do with CCK and it will be ultimately more flexible.

So the questions is:

CCK, Imagefield, Views, etc. or Gallery module (or other gallery modules)

I think I am going to go for CCK/Views but I'm not sure what the trade-offs are. Anyone have an opinion?

Hi, I have made my

Lostmonkey - April 10, 2008 - 07:18

Hi,

I have made my gallery-system at www.lostmonkey.dk using CCK, Imagefield, Views, etc.

Only real issue that I am still working on is a 'next - previous' navigation system but apart from that, I think it works as a fine solution.

- Mikkel

Nice site. How did you make

overflowing - April 10, 2008 - 08:58

Nice site. How did you make the list of galleries page at http://www.lostmonkey.dk/galleries?

Galleries-page is actually a

Lostmonkey - April 10, 2008 - 11:15

Galleries-page is actually a bit of an ugly manual construction not using anything fancy like views or imagecache. I plan to do something about it, but just haven't gotten around to it yet.

Your integration of Drupal with Gallery2 is SWEET!

sprite - April 10, 2008 - 09:04

Your integration of Drupal with Gallery2 is SWEET!

spritefully yours

hmm ... assuming you are

Lostmonkey - April 10, 2008 - 11:18

hmm ... assuming you are referring to my site ... it is actually NOT an integration of Gallery2 ... see above post.

:-) Mikkel

You can use the custom

kellyharding - April 10, 2008 - 21:41

You can use the custom pagers module for this i'd of thought?

I like what you've done, I'm currently testing the CCK, Imagefield, Views method and have been looking at how to create a 'start' page listing galleries. I'm thinking maybe the panels module mixed with views might work perhaps. But I've yet to really think about it properly.

Custom Pager

Lostmonkey - April 11, 2008 - 07:19

I have tried using the custom pagers module, however it doesn't do exactly what I want it to do. Problem is that I have sorted my image nodes by multiple terms, and would like the navigation to stay within these terms, but I don't see a way to do that.

I found this site which

overflowing - April 12, 2008 - 03:15

I found this site which appears to discuss and provide code for creating a list of galleries. I haven't really looked into it, but maybe it will help somebody:

Here's the outcome:
http://lasqueti.ca/photos/gallery

Here's the how-to part:
http://lasqueti.ca/books/design-notes/image-gallery-summary-view

Cool site

braahm - May 2, 2008 - 18:23

Hi Lostmonkey,

I'm impressed and inspired when I look at your site! Great job!

I was just doing some research to choose between image module en CCK combined with VIEWS. I think the latter will give you more control over the layout. And your site only affirms my gut feeling!-)

Great work!

- embracing things that liberate you -

Biggest trade-off compared

kellyharding - April 10, 2008 - 21:43

Biggest trade-off compared to Gallery2 i've found is inability to upload directly from say iPhoto/Picasa et al to the site and create the galleries from there, with the titles generated by the process.

If someone has worked this out I'd be very grateful to hear how!

With the CCK, Imagefield,

overflowing - April 11, 2008 - 06:41

With the CCK, Imagefield, Views solution, I now understand how to make a single gallery. But how do you make multiple galleries?

Taxonomy

Lostmonkey - April 11, 2008 - 07:15

I have attached terms to all my images nodes (i.e. Birds, Insects etc.), and these terms serve as a way to sort the nodes into different galleries using a view set up to select for term.

I have this working now

overflowing - April 13, 2008 - 10:06

I have this working now using the taxonomy term name as an argument for the view. However, on each of my image nodes, there is a link to the taxonomy term(s) which links to a URL such as http://www.example.com/taxonomy/term/1.

How can I get it so that the taxonomy links on the nodes take users to the view instead of the default taxonomy page?

For example on your page: http://www.lostmonkey.dk/image/alert you have links to "Birds" and "South Africa" which I guess are your taxonomy terms but clicking on them takes you to a view (which is what I want)

I am not sure I understand.

Lostmonkey - April 13, 2008 - 15:59

I am not sure I understand. What kind of 'view type' do you use for the page in your view? I have mine set up for the 'Grid view' from the bonus pack.

I'm not sure if I can

overflowing - April 13, 2008 - 19:52

I'm not sure if I can explain this totally clearly. On your page http://www.lostmonkey.dk/image/alert you have links for Birds and South Africa under the node title. What kind of links are those and how did you create them?

You are right those are

Lostmonkey - April 14, 2008 - 09:42

You are right those are taxonomy links, and are displayed by default I guess. I have however assigned some url aliases to them so it doesn't display as http://www.example.com/taxonomy/term/1.

My view for image nodes is then set up so that selecting an image term will display all thumbnails (via Imagecache module) from image nodes with that term in a grid layout.

My view for image nodes is

overflowing - April 15, 2008 - 02:47

My view for image nodes is then set up so that selecting an image term will display all thumbnails (via Imagecache module) from image nodes with that term in a grid layout.

Normally selecting a taxonomy term just shows you just a list of nodes with that taxonomy term. How did you make it so selecting a term is a view?

I guess just adding the view

Lostmonkey - April 15, 2008 - 07:33

I guess just adding the view selecting for term will override the default action? ... I don't know how else to explain it.

I don't know if it is any help, but here is an export of the view I'm using:

  $view = new stdClass();
  $view->name = 'taxonomy_term';
  $view->description = 'Images sorted by term';
  $view->access = array (
);
  $view->view_args_php = '';
  $view->page = TRUE;
  $view->page_title = 'Taxonomy';
  $view->page_header = '';
  $view->page_header_format = '1';
  $view->page_footer = '';
  $view->page_footer_format = '1';
  $view->page_empty = '';
  $view->page_empty_format = '1';
  $view->page_type = 'bonus_grid';
  $view->url = 'taxonomy/term';
  $view->use_pager = TRUE;
  $view->nodes_per_page = '12';
  $view->sort = array (
    array (
      'tablename' => 'node',
      'field' => 'sticky',
      'sortorder' => 'DESC',
      'options' => '',
    ),
    array (
      'tablename' => 'node',
      'field' => 'created',
      'sortorder' => 'DESC',
      'options' => 'normal',
    ),
  );
  $view->argument = array (
    array (
      'type' => 'taxid',
      'argdefault' => '1',
      'title' => '%1',
      'options' => '0',
      'wildcard' => '',
      'wildcard_substitution' => '',
    ),
  );
  $view->field = array (
    array (
      'tablename' => 'node_data_field_photo',
      'field' => 'field_photo_fid',
      'label' => '',
      'handler' => 'content_views_field_handler_group',
      'options' => 'thumb_linked',
    ),
    array (
      'tablename' => 'node',
      'field' => 'title',
      'label' => '',
      'handler' => 'views_handler_field_nodelink',
      'options' => 'link',
    ),
  );
  $view->filter = array (
    array (
      'tablename' => 'node',
      'field' => 'status',
      'operator' => '=',
      'options' => '',
      'value' => '1',
    ),
    array (
      'tablename' => 'node',
      'field' => 'type',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'image',
),
    ),
  );
  $view->exposed_filter = array (
  );
  $view->requires = array(node, node_data_field_photo);
  $views[$view->name] = $view;

Thanks that did help. I now

overflowing - April 16, 2008 - 08:03

Thanks that did help. I now realize that taxonomy_term is a default view and that it looks like you overrode this view to display in bonus: gridview with images thumbnails and then I'm guessing with pathauto generate an alias for the taxonomy/term.

However, although I loosely understand it, and I might be able to do something similar for my situation, it's starting to get beyond my current understanding.

I think I now finally

Lostmonkey - May 14, 2008 - 16:07

I think I now finally understand what you were asking me regarding the problem with the terms not linking to galleries but default term listings. I have been looking into it myself, because I think it probably isn't very good to override the default taxonomy view.

Anyway, I think the problem can be solved with the Taxonomy Redirect module: http://drupal.org/project/taxonomy_redirect

- Mikkel

taxonomy_redirect looks

overflowing - May 22, 2008 - 08:21

taxonomy_redirect looks good. I'm going to look into it. I put this on the back burner for a while because I wasn't really seeing a clean solution that I liked and understood. Hopefully I'll get this up and running soon. Again, that looks like it could be the missing piece to the puzzle. What I'm thinking about doing now is:

www.example.com/galleries <-- Could be handcrafted page with links to each gallery

www.example.com/gallery/<some-argument> <--- single view that takes an argument
www.example.com/gallery/some-gallery-1
www.example.com/gallery/some-gallery-2
www.example.com/gallery/some-gallery-3

(Note gallery vs galleries in the URLs, these would be two different pages)

Using taxonomy_redirect, taxonomy terms on each page would link to the view. For example, the term "some-gallery-2" would link to www.example.com/gallery/some-gallery-2

But what I'm wondering is, could the view with no arguments handle the "list of galleries" page? (I experimented a little with having the default argument be "summary" which lists the taxonomy terms with the number of items underneath.) My head is swimming!

wouldn't take that to heart

sepeck - April 13, 2008 - 21:10

While it is true that several Lullabot people work and contribute to the community and the code base, I would not take everything they say to heart, especially in that specific podcast.

Which gallery you use really comes down to your needs. The one that comes with image module works well for many and can be adapted. For more flexibility there is also Imagefield Gallery

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

taxonomy and gallery2

gglamenace - April 23, 2008 - 08:15

Hello, I am looking for a gallery embeded in drupal 6.2, and I think I am going to use gallery2 and gallery module.
I have 2 questions:

1- I have read that gallery module is working with gallery2.3 which is not a stable version at this moment. However, can I use gallery module with gallery 2.2?

2- Is there a way to associate photos in gallery2 with taxonomy terms, like with "image" module?
In fact I want to filter image according to some tags, and using taxonomy can make the job automatically, that's why I want to use taxonomy with photos in my gallery.

If someone can help me to answer my questions, thanks in advance

Jerome

In answer to 1. The module

alleyoopster - April 23, 2008 - 19:10

In answer to 1. The module will not work, I tried it. You need to use the nightly build at the moment. There is an API error when setting up, which leaves it not working.
As for 2. I'll leave that for someone else :)

What do people think about

overflowing - April 26, 2008 - 05:44

What do people think about using a CCK field to represent a gallery instead of taxonomy? That is, add a CCK field called "Gallery Name" and then specify the "Gallery Name" for all cck image nodes, and then create a view that displays all the nodes with a given "Gallery Name"?

How can I do some kind of

overflowing - May 24, 2008 - 08:44

How can I do some kind of bulk import/upload when using CCK for an image gallery? It seems like I have to upload pictures one by one.

I just found the imagefield

overflowing - May 24, 2008 - 09:20

I just found the imagefield import module which seems to do this (http://drupal.org/project/imagefield_import). Cool. I feel really close to getting this all working.

My humble attempt...

mouse77e - May 24, 2008 - 09:24

I recently added a photo gallery to my site. The gallery was to show user contributed photos to the rest of the community.
I felt it needed to also allow for adding the back-story to some photos and free tagging. Have a look. If I can be of any held let me know.
http://www.afterthemouse.com/new-gallery

Mouse77e

 
 

Drupal is a registered trademark of Dries Buytaert.