Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
Author Tom Geller demonstrates how to create and publish a complete web site with the powerful tools in Acquia's hosted service, Drupal Gardens. The course shows how to leverage the pre-built page layouts and add custom styling using the ThemeBuilder tool; integrate rich site features, such as surveys, user ratings, and media galleries; and push content to Twitter and Facebook. The course also covers transitioning from a Drupal Gardens site to a self-hosted Drupal site. Exercise files are included with the course.
Image and video galleries are obviously most important on web sites with pretty pictures to show off. I think our Explore California site is a perfect example. I mean how better to get across the grandeur of the state. So, let's do it. A gallery is simply a content type, but it's sort of a complex one because it contains all of these images in one gallery. To create one though, it's very simple. Just go up to Add content, like any other content type, and select the Gallery. Now this is the gallery itself. It's not the images that go into that.
We'll add that after the gallery is created. I'll call this one "Visions of California" and for the description, "Our great state as seen through many lenses." How is that? I'm not going to change any of the settings. I'll come back and do that later, and you'll see many of the different options that you have. For now I'll just click on Save. There. It's created. But as you see, there are no pictures in it. To add them it's very simple; just click Add Media, and then you'll drag files here.
In order to do that, I'm going to make this window smaller and drag it out of the way, and I'll take my sample files here, select them all and just drag them in. Now, I'll go back, enlarge my Window again and click Start Upload. As those files upload, Drupal Gardens tells you about how much longer it'll take for those to upload. We have a fast connection, so it doesn't take long at all. And then there we are. We actually have our gallery. I can show you what that looks like in another browser, by just copying the URL, and then I'm going to launch the Google Chrome browser, which we are not logged into Drupal Gardens on-- just so we could see what a visitor would see when they went to that page. And there it is. Very, very simple.
And let's go back and do a few other things. The first thing that you'll notice is that Drupal Gardens added this Galleries menu up here. Now, you could remove that if you want. It's just a simple menu item in the main menu. And for details on how to remove it watch the video about understanding menus. When you click that Galleries link, you see all of the galleries that are in your site. In our case, we only have the one, and it says us how many images are there, and it shows the first image in that gallery. When we click on it, once again we go back to our gallery.
But we could add things other than photos to this; we could add YouTube videos, for example. To do that, once again, we just go to Add Media and then click on in Embed image or video. Now if we had uploaded something previously, it would be in the library. In my case, I'm going to re-embed a video that I put in the library and then took it out again. You might remember as this Explore California Weekly Podcast. Go ahead and paste it into that video URL and submit. Then once the page redisplays, you'll see we now have nine items: eight images, and one video.
Something that's really need about this galleries is that you don't have to leave them in their default configuration. Let's say, for example, that I want to move this video up to the top. Just grab the little compress icon and drag it up there. You can also edit these individual images in movies by clicking on the little widget here and selecting Edit. Once there, you can add a description, add tags, and even remove it by clicking on this tab right up here. I'm just going to save it and leave it as it is. Finally, you can change the behavior of all of the galleries on your site. To do so go up to Configuration and scroll down to Gallery settings, which is under the Media group.
Some of the options that you could change include where all of the galleries appear--that is, what the URL is--what the default layout is for each gallery, and how titles show up, whether it's shown when they hover or they're below, or just show no title at all. I'd want to go back to my gallery actually and make a few more small changes. If we click Edit Gallery here, we see a page very much like what we saw when first created the gallery. For example, we can change the number of columns, so let's make it 3x3 instead of 4x3.
Again, we can change where the title shows up. We can make it possible to either download or not download the original image if you want to protect the copyright and prevent it, to some extent, from being passed around on the Internet, although of course it's quite impossible to completely prevent that. You can just make it a little bit more difficult by unchecking Allow Downloading. I'm going to leave the other settings alone and just change it so we can see it is a 3x3 grid, and there it is. And as you can see, there it's slightly bigger than in the 4x3 grid. I just have to say that galleries are one thing that Drupal Gardens really got right.
They're just so easy to set up, and the effect is so wonderful, especially on a picture-rich site such is ours.
There are currently no FAQs about Drupal Gardens Essential Training.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.