[support] Picture Gallery in Drupal 7

James Rome jamesrome at gmail.com
Wed May 4 14:23:41 UTC 2011


I would like to let users make a picture gallery in Drupal 7. I have the
gallery formatter and colorbox modules loaded, but can't figure out how
to use it to make a gallery content type that users can use to create
their own galleries.
I followed this:

Installation:

   1. Extract Colorbox library
      <https://github.com/downloads/jackmoore/colorbox/colorbox.zip> in
      your sites/all/libraries/ folder
   2. Install Gallery Formatter
      <http://drupal.org/project/galleryformatter> and Colorbox
      <http://drupal.org/project/colorbox> Drupal 7 modules
   3. Create a new content type, or add a new field to an existing
      content type
          * Select 'Field' as 'Image'
          * Select 'Widget' as 'Image'
   4. Apply primary settings as required: Public or Private files, and a
      default image if necessary - click "Save field settings"
   5. Apply secondary settings as required: most of these can be left
      blank without consequence. Change the "Number of values" dropdown
      from '1' to 'unlimited' for good luck.
   6. Click on the "Manage Display" tab near the page top, and next to
      your new field change the 'Image' format to 'jQuery Gallery'
   7. Click on the right-side gear to change Gallery Formatter settings
      - select 'Colorbox' from the 'User jQuery modal for full image
      link' box near the bottom - click 'Update'
   8. Save the content type, and make some galleries.

But it is the last step that does not work for me.  When I try to make a
gallery page, and upload an image, I get:

    * /Warning/: call_user_func_array() [function.call-user-func-array
      <http://www.xisam.org/node/add/function.call-user-func-array>]:
      First argument is expected to be a valid callback, 'node_form' was
      given in /drupal_retrieve_form()/ (line /771/ of
      //home/content/89/6787389/html/xisam/includes/form.inc/).
    * /Notice/: Undefined index: #node in
      /comment_form_node_form_alter()/ (line /1190/ of
      //home/content/89/6787389/html/xisam/modules/comment/comment.module/).
    * /Notice/: Trying to get property of non-object in
      /comment_form_node_form_alter()/ (line /1207/ of
      //home/content/89/6787389/html/xisam/modules/comment/comment.module/).
    * /Notice/: Undefined index: #node in /menu_form_node_form_alter()/
      (line /594/ of
      //home/content/89/6787389/html/xisam/modules/menu/menu.module/).
    * /Notice/: Trying to get property of non-object in
      /menu_form_node_form_alter()/ (line /594/ of
      //home/content/89/6787389/html/xisam/modules/menu/menu.module/).
    * /Notice/: Undefined index: #node in /menu_form_node_form_alter()/
      (line /600/ of
      //home/content/89/6787389/html/xisam/modules/menu/menu.module/).
    * /Notice/: Trying to get property of non-object in
      /menu_form_node_form_alter()/ (line /600/ of
      //home/content/89/6787389/html/xisam/modules/menu/menu.module/).
    * /Notice/: Undefined index: field_image2 in /file_ajax_upload()/
      (line /265/ of
      //home/content/89/6787389/html/xisam/modules/file/file.module/).
    * /Notice/: Undefined index: #suffix in /file_ajax_upload()/ (line
      /274/ of
      //home/content/89/6787389/html/xisam/modules/file/file.module/).

What am I doing wrong?

Thanks,
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110504/56367f9c/attachment.html 


More information about the support mailing list