I need to know how to change the Gallery thumbnail size. It looks like you simply use the generated Thumbnail however I would like to change this setting on the fly. It would be nice to include ImageGen to resize the original when generating a Gallery Browser. It also looks like your code is wrapped into the dll. Can you include this or allow us to change ourselves.
I fixed this by writing my on Razor Template for the Gallery Browser. I did not use your macro and I added a property for Gallery Thumbnail to make it easier to select the image. The other alternative would be to select the first child of the Gallery Object. I opted not to do this. Here is the code from my template:
Change Gallery Thumbnail Size
I need to know how to change the Gallery thumbnail size. It looks like you simply use the generated Thumbnail however I would like to change this setting on the fly. It would be nice to include ImageGen to resize the original when generating a Gallery Browser. It also looks like your code is wrapped into the dll. Can you include this or allow us to change ourselves.
Thanks
I fixed this by writing my on Razor Template for the Gallery Browser. I did not use your macro and I added a property for Gallery Thumbnail to make it easier to select the image. The other alternative would be to select the first child of the Gallery Object. I opted not to do this. Here is the code from my template:
@foreach (var page in @CurrentPage.Children())
{
<div class="GalleryBrowserContainer">
<div class="GalleryItem">
<div class="GalleryThumbContainer">
<a class="GalleryThumbLink frame" href="@page.Url">
<span class="GalleryThumb" style="background-image: url(/[email protected](page.GetPropertyValue<string>("galleryThumbnail")).umbracoFile&width=240)" title="@page.Name">@page.Name</span>
</a>
</div>
<div class="GalleryTitleContainer">
<a class="GalleryTitleLink" href="@page.Url">
@page.Name
</a>
</div>
</div>
</div>
}
Here is a screenshot of the result:
is working on a reply...