Hi,

Recently I started using drupal and panels, as they are very useful. I don't have problems adding text inside panels, but have a few issues around images inside panels:

a) How to insert an image - let's say a logo of a company inside a panel? Do I need additional modules?

b) How to add a lightbox2 based galley into a panel - let's say 6 miniature images within a panel and when you click on one of them the lightbox2 image opens over the page.

c) How to create an image slide-show within a panel, with each image from that slide-show being a link to a separate page? Let's say the user can see the slide-show with different images, when they click on one image from the slide-show they go to a website associated with that image

I would be most grateful if someone could help me with the above issues, and if you know any good full panels tutorial please let me know.

Comments

nevets’s picture

For a) there are any number of choices, the easiest being using an image tag.

For both b and c I would start with image field plus image cache modules. The details then depend on how you do b & c. There are number of existing modules, my favorites use views. I like them because I find they tend to be more flexible.

For b you can even avoid views, make a content type that uses a single image field and allows for multiiple images. If you have both image cache and lightbox 2 install you will be able to set the display so it shows the images as miniatures (based on image cache settings) and uses lightbox 2 to display a larger version when clicked.

Since lightbox 2 also works as slideshow viewer it works for most of though since you want a link per image you will want one image per node and use views to show the images. You will probably need to theme the results to get the image linked the way you want.