Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Here's a useful tutorial for creating an image carousel (in MVC) for Episerver:
If you need one for WebForms:
http://world.episerver.com/blogs/pezi/Dates/2013/5/Create-an-animating-slider-with-content-area/
Hi Sandeep,
To this in your let's say your block called CarouselBlock. You need a list of content references to drag and drop your images:
public class CarouselBlock : BlockData
{
[AllowedTypes(typeof(ImageData))]
public virtual IList<ContentReference> Images { get; set; }
}
and in your razor template you can go:
@foreach (var imageContentRefernece in Model.Images)
{
<img src="@Url.ContentUrl(imageContentRefernece)" />
}
Aria
Hi ,
Am new to EPI.
I want to implement image slilder block with another block type data.
I have a block which store some images with some data.
i want to get images from this block and i want to display those images in courasol image slider block.