Please go to this thread
Since the release in April of 2005, people have been reporting problems with the image galleries feature in the image module. I am cutting and pasting from the comments because I have the exact same problem :
I cannot put images into galleries. The image upload works fine, the thumbnail creation too, but the special image galery taxonomy does not show up in the image node create or edit screen. I spent a day trying to figure out how the image nodes are coded into the database. Way over my head. The best I can tell is that there is some comibination of Drupal settings that causes the image node taxonomy to not appear where it should. I can't figure out what it is though. I got the image module to work correctly on only one site; on the others that I tried to install it I got this same error.
Comments
Comment #1
trauma commentedMay I kindly refer you to http://drupal.org/node/32723 where I think I found the error. I was too lazy to search the code generating the offending sql in the drupal source, though. (Navigating the drupal source takes ages for me, as I have no real overview about it and the many dynamic function calls make grepping for callers of functions very hard).
Comment #2
liza commentedI am not a developer and webmistress is too .... urgh. Here is what I had to do to make it work; which means it is either a documentation problem or an honest to dog bug :
* Identified 2 instances of "Image Galleries" in the configuration : One in SETTINGS/IMAGE GALLERIES and the other one was a vocabulary in TAXONOMIES.
* Deleted the IMAGE GALLERIES VOCABULARY & TERMS since that is what was appearing on the IMAGE entry form, not the list of galleries.
* I went to the DB looking for the table "Image Galleries"; assuming this was a separate element from TAXONOMIES since IGs have a separate setting. No such luck.
* So I go back to try to understand what the heck are IMAGE GALLERIES. It looks like it is some kind of category.
* I knew there was nothing to find in the vocabulary since I had deleted the "Image Galleries" vocabulary. So I decided to look into the VARIABLES table and see if there was anything that mentioned "Image Galleries". Nothing. But there is something called "image_nav_vocabulary" and it had "i:1". What was that ID for? Vocabulary, obviously.
* I go back to the vocabulary table and find that #1 is forums.
* I go back to the VARIABLES table and delete the "1" from the "i:1" in "image_nav_vocabulary".
* Go back to the image form. Still no luck.
* So I go back to the TAXONOMIES admin, and switch off 'IMAGES" from every single TAXONOMY that has it. Check the form, still no luck.
* Can't find any documentation that says I need to have a VOCABULARY for Image Galleries so that the images can get connected through it to the Image Galleries.
* So I go back to the DB, to the variables table again. I check anything that says IMAGES. I decide to indeed create AN EMPTY VOCABULARY CALLED IMAGE GALLERIES.
* I then proceed to the VARIABLES table and change i:"" to i:"3" in the "image_nav_vocabulary" row so that the IMAGE GALLERIES can now point to the taxonomy IMAGE GALLERIES and thusly serve as organizing containers for all images.
It works.
How much time I spent trying to fix this? Let's say less than an eternity but more than an hour. There is nowhere in the system instructions that say, "You need to have a VOCABULARY for Image Galleries so that the images can get connected through it to the Image Galleries."
So, no, for non-developers like me who tinker with their sites, this is not a little fluke. It's a big bit of bugging OR documentation oversight.
Comment #3
boris mann commentedThe "image galleries" are a "hidden" vocabulary, just like forums. The first time that you go to Admin > Image, a vocabulary with the name "Image galleries" is automatically created and associated with images. Just like any other node type, multiple vocabularies can be associated with image nodes.
Documentation is here: http://drupal.org/handbook/modules/image -- please apply edits as needed. Probably should say in image INSTALL that once the module is enabled, you should visit Admin > Image.
We don't currently have a "module enable" hook, because ideally that is where the vocabulary would be created.
Comment #4
isaac77 commentedThis seems more like a bug--or at the least a serious user interface problem--than an issue with the documentation.
I successfully used the workaround of disabling the module, manually deleting all associated rows from the "variables" sql table (image_*), and then re-enabling the module.
Robrecht Jacques posted a patch at
http://drupal.org/node/22342
I do not have necessary privelages to test this patch on my installation, but it sounds like it addresses the problem.
Thanks for your work on this, it's an extremely helpful module... but fixing this would make it _much_ less frustrating for new users.
Comment #5
tatere commentedyou should visit Admin > Image
um. there is no such thing. do you mean 'administer > settings > image'? or 'administer > image galleries'? or 'administer > settings > image galleries'?
shouldn't this be in the documentation somewhere? since it completely will not work unless you do this?
Comment #6
tidalx3 commentedProblem still exists as for 4.7 as of nov 15, 2006
Comment #7
drewish commentedthis has been fixed in 5
Comment #8
(not verified) commented