By wernst on
All,
So, having lived with the limitations of Php-Nuke for too long for my personal site (http://www.warrenernst.com/) I'm checking out Drupal. So far, the migration goes well.
I'd like to have a "Gallery"-like set photo albums that the public can see without logging in. I have installed image.module and I can add an image node, and thumbnailing and linking works fine.
I'm reading the README/INSTALL files that came with the package, and I am still very confused as to how to make publically available photo albums.
My lack of understanding of taxonomy/vocabulary, as well as my newness to Drupal, is probably what's killing me here.
Can anyone offer some pointers here?
Thanks,
Warr
Comments
Taxonomy Terms
From your description I take it that you have properly installed image.module. So I'll write how you can get "galleries" up and running.
For image.module to "work" properly you need to assign at least one taxonomy term to it. In Drupal 4.4.x it is called Categories. Log in as the administrator (or a user with administrative rights) and then click on Administer >> Categories >> Create Vocabulary. (Say, you named this new vocabulary term: "albums".) You write albums in the vocabulary name feild and then assign it image type. Click submit. You will be returned to the Categories list page. There you will see albums listed under name and image under node type. Now you have created the Albums category (or taxonomy term) for your Drupal installation. Click on Add Term and add the names of the galleries you'd like, for example, Warr, and set root as parent. This will be your first "gallery." Click submit. Now to try it out, click on Create Content link and click on Image. In that form you will see Title, Path Alias, and under it Albums with a drop down list that has "Warr" as an album. Pick Warr from that list. From the Image feild click on browse and pick a photo. Add some description and click submit. This will post your photo to the Warr album. Now when you click on the photo galleries or images link (yoursite.com/image, usually) you will see Warr listed as a photo album with a small thumbnail of the photo you just uploaded.
That would make the gallery, but to make it publicly accisible, you need to set the right permissions. In Drupal 4.4.x click on Administer >> Accounts >> Permissions >> and in the Anonymous User column check Access Images and click save permissions. That would allow anyone to view the image galleries. If you want people to be able to comment on the photos, allow them to post comments or post comments without approval too.
Hope this helped.
Thanks for this. As you can s
Thanks for this. As you can see, we were typing essentially the same thing at the same time.
I didn't realize that http://mysite.com/image brought up an Album list, in this case, but that's great to know.
-Warr
Well, I figured it out...
I re-read and re-read the Taxonomy page in the Guide Book until I had a headache, and then it just clicked. Drupal takes a little getting used to, but it can be rewarding.
For those souls reading this in the future and are looking for a guide of some sort, perhaps this may help (someone correct me if I'm wrong.)
Suppose you want (for now) two public "photo albums," or two sets of collections of pictures. One album will have photos of your dog, Sophie. The other will have photos of your vacation in San Diego.
Install the Image Module. Enable it in the Modules section. Make sure it is pointing at all the right folders. When you save, it will complain about the Vocabulary. Don't worry about this yet.
Go to the Taxonomy section. Create a new Vocabulary called "Albums." Associate it with the Node Type "Images." Check the "Required" checkbox. Submit/Save it.
Click the Add Term link under "Albums." Make a Term called "Sophie." Click Add Term again under "Albums." Make a Term called "SD Vacation." These are the names of your two albums. Want more albums? Add them here.
Go back to the Configure Image Module screen. Set the "Gallery Navigation Vocabulary" to "Albums." Save the configuration.
Finally, you can add pictures. One way is to click Create Content, and then Image. Under the "Albums" pull down menu, you'll see "Sophie" and "SD Vacation." These will be the album names. Add photos as you like, picking the right album for each photo.
Goto Administer > Accounts > Permissions and make sure the Anonymous user can "access images."
Now you have two public photo albums.
I hope someone finds this helpful.
-Warr
Image gallery still not listed on galleries page
Okay, I've gone through the same process as others in figuring out how to create an image gallery (using CivicSpace 0.8.0.3 / Drupal 4.5.2), and got it working, more or less. I did the vocabular/term stuff so I now have a personal image gallery with the category/album name "Public", my images show up under "my image gallery", and each one displays a "categories: Public" link at the bottom right which, when I click on it, shows all the images in the album.
The problem is, although the "Public" gallery also shows up on the Image Galleries page (and I'm still logged in as the gallery owner), it says "There are no images in this album." How can this be? Isn't this Public gallery the same thing as the Public category? If so, why does it think it has no images?
Another minor issue that arises from Warr's last post is that I have no "Accounts" section under Administer. So I don't know what's up with that either, but I imagine I'll figure it out, and in any case I'm still logged in as the gallery owner and administrator, so it shouldn't be a permissions problem, right?
adam
How do I get an image node type?
This is an extremely helpful thread. I'm still trying to understand taxonomies, and reading this over and over again might help too. Thanks.
I too am trying to get gallery going, and all seems well to a point, though I'm stuck at home/administer/taxonomy where when I try to add a vocabulary for Albums, I do not see that I can choose an image node type. Is there a place where I need to define that node type, or is this suggesting that I have a problem with the installation of the image module? Any help would be much appreciated.
When I study configuration of image, is says that I need to assign a vocabulary to navigate in site configurations, but at site configurations, the gallery navigation vocabulary option is ,
Any help would be much appreciated.. sciman@csupomona.edu
try this thread
http://drupal.org/node/view/9064
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Thanks so much.
Really appreciate the help and the link.. got it working.