I am creating a photogallery with the intention that I reuse as much Orchard functionality as possible (may also be gained by installing modules from the gallery). The idea is that I create one custom content type in the admin ui that will be containable
and shown in a list which will be the album.
The custom content type has the following structure:
- Image (ImageField, width = 1024px)
- Thumbnail (ImageField. width = 150px)
I am able to customize the look of ImageGalleryItem contentitems by adding the following view in my layout: Content-ImageGalleryItem.Summary.cshtml. I have created a List called "ImageGallery" and i'm adding ImageGalleryItems to this list to populate
the gallery. The only thing that is missing is a nice way to include some scripts and styles that the gallery needs. How can I accomplish this? An additional question: is it possible to cache items of a List?