Hi All,
I'm having trouble understanding how a photo-gallery would be put in a site using Drupal.
I understand that you would download some sort of a photo-gallery module (I've seen, there are many out there) but then after that I get confused about how to implement it into a photo-gallery page.
I would have a link in my navigation menu called pictures, but then how would I put the photo-gallery inside that pictures page, or get that pictures link to link to the photo-gallery? It wouldn't be the same as just creating a new page and posting content?
Most confusing to me though is how would I get the photo-gallery module to be inside my current page.tpl.php site template? How would I move it around? Would I have to add code in the page.tpl.php file to tell the photo-gallery to be there. Would it be enclosed in divs so I could gain CSS control?
This is all very confusing to me, and concerns me as I am going to be implementing the gallery as the next step in my project.
Thanks for any help in advance,
Jon.
Comments
Some possibilites
First about page.tpl.php and what is displayed as the content ($content in the file). Each url invokes some function that produces some output that typically is used as $content. So in the case of photo galleries the callback (function) for the photo galleries takes care of generating the correct content.
As you have discover there are a number of choice for photo galleries. Though a lot of people dump on it the image module and the included gallery module are probably the simplist way to go. Add in the ability to add extra informtion to the image with CCK, though in some theming and you can achieve a lot.
You can also use views to make the galleries (search for "Image gallery with CCK") which may provide some additional functionality.
Those are my first two choices for making a photo gallery. There are other choices and each has it's own strengths and weaknesses.
I Tried but it's not quite..
Hi Nevets,
I tried the image.module only to find it to make a bit of a mess of my Drupal site.. It must need to be configured aesthetically.
It could work I suppose, but the big problem is it doesn't seem to have the capability to upload images right from the users desktop or somewhere on their PC. Having my client upload it to the server to a specific folder first would not be a good idea and cause problems for them.
Perhaps I configured it wrong, but I'm looking for an image module that would support the capability to upload an image right from the Drupal admin pages, and have it "uploaded" onto the web server and folder. Is there any gallery that can do this. Perhaps Gallery 2?
Thanks,
Jon
Image module adds an image content type
And you add a new image by creating content of type image. As part of that form there is an input field for the file name and a button you can click to browse your desktop to specify the image.
Ah, Thanks.
Hi,
Thanks for that. I should of thought of that. Still a n00b as it would seem.
Thanks,
Jon.
Play and see what suits
It is confusing as there are many different options, I suggest you have a play and see what suits you.
I started out with Gallery2 and the Drupal module to integrate it, Gallery2 is a great Gallery system with all sorts of features but it takes some work to make it really feel like part of your site and not a bolt on, I had to do a fair amount of theming both applications. Even then features like the Drupal searching and Taxonomy don't apply, permissions and page counts are done seperately, Google doesn't index them the same and so on.
If you don't need all the advanced functionality that Gallery2 offers then the image module and associated gallery is a good way to go, that's what I've now done on my site http://pendery.org there was still a bit of themeing to do but that's more for personal taste and getting it 'just right' than because you have to. I've also made some use of the Views module to put random images from a gallery into an related article and CCK to add field to the article for referencing the Gallery. This seems to suit my needs and is pretty easy to manage now it's set up.
There's a good article about using only CCK and Views to create a gallery http://drupal.org/node/144725, I haven't tried it but it looks interesting. There's also Acidfree.
Set up a test site and try some of these, only then will you really be able to see how they work and decide which one's for you.
cheers
Dan