With image import I can import all images from my import directory "/sites/default/files/images/import". Then seperate nodes are created. What I want is to select an album I have created to import into. Yet I cannot select one in the import screen. How can I fix this? I've done it before, but can't get it to work again...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Tino’s picture

Found it!

Administer › Content management › Taxonomy › Edit vocabulary
---> check "Image" under "Content types".

Tino’s picture

Title: No album to select » No gallery to select
AaronCollier’s picture

Status: Active » Fixed
sandalle’s picture

Awesome, I ran into this exact same problem and was stumped!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

stewest’s picture

Version: 6.x-1.x-dev » 6.x-1.2
Category: support » bug
FileSize
16.33 KB
26.35 KB

Hi, recently ran into this weird behaviour.

When I go to Image Import, there is no "Gallery" option to select, to import the images into.

I have Drupal 6.26 and the Image Module (6x-1.2), image import and image gallery modules are enabled.
I have "image" enabled for the "image galleries" vocabulary.

On the Add/Edit Image Node form, there is the option to select the Gallery. (We have a few 100 images to import, so this would not be efficient at this time)

I have checked the permissions, image and import folder locations etc.

While troubleshooting, I have disabled and removed the module (and files) and the re-uploaded, enabled and tried again. No joy.

Is there something I am missing or any suggestions?

Thanks so much.

giordy’s picture

FileSize
8.4 KB

I have the same problem.

Solutions?

thanks

giordy’s picture

Status: Closed (fixed) » Active
joachim’s picture

Version: 6.x-1.2 » 6.x-1.x-dev
Category: bug » feature

This functionality does not exist in the module.

The only gallery support for importing is to reproduce the folder structure as galleries.

giordy’s picture

FileSize
19.64 KB

??
But in another site I have the "Gallery" option.

thanks

joachim’s picture

Category: feature » bug
Status: Active » Postponed (maintainer needs more info)

Ah yes, look like I spoke too soon. It's this bit of code I think:

    if (module_exists('taxonomy')) {
      // here's a little hack to get the taxonomy controls onto our form
      $form['type'] = array('#type' => 'value', '#value' => $form['#node_type']);
      $form['#node'] = new stdClass();
      $form['#node']->type = $form['#node_type'];
      taxonomy_form_alter($form, array(), $form['#node_type'] . '_node_form');
      unset($form['type']);
      unset($form['#node']);
    }

Can you debug to see why it's not firing?

giordy’s picture

With drupal_for_firebug, in Forms, missing:

[taxonomy] => array (
         [2] => array (
             [#type] => [select]
             [#title] => [Image Galleries]
             [#default_value] => array (
             )
             [#options] => array (
                 [] => [- Nessuno selezionato -]
$spacing [0] => stdClass (
                 )
$spacing [1] => stdClass (
                 )
$spacing [2] => stdClass (
                 )
             )
             [#description] => []
             [#multiple] => [0]
             [#size] => [0]
             [#weight] => [0]
             [#theme] => [taxonomy_term_select]
             [#required] => [0]
         )
         [#weight] => [-3]
         [#tree] => [1]
     )
joachim’s picture

Does that mean the select element has no options, or badly formed ones?

giordy’s picture

There is no select element. The form doesn't exist. (Image gallery1.gif, part 2)

joachim’s picture

I'm not familiar with drupal_for_firebug's output, but it seems to be saying that the galleries form element is at least *trying* to exist.

You're going to have to do more debugging and figure out what is actually going wrong.

stewest’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)