I'm new to Umbraco, and can't work out the best way to create an image slider. I need a simple image slider that I can use on multiple pages on my site - just with different images. I assume I'd create a macro? I'm just not sure how I can use it in my templates?
Under the Developer Section you can create a Partial View macro files choosing from the snippet list "list images from media folder".
Just set your macro parameter Alias to whatever your want "mediaId" Type "Single Media Picker".
Since you will be using the macro in your template just no need to check the Use in rich text editor. In your template insert your macro and choose your media Folder.
Create a simple image slider
Hi!
I'm new to Umbraco, and can't work out the best way to create an image slider. I need a simple image slider that I can use on multiple pages on my site - just with different images. I assume I'd create a macro? I'm just not sure how I can use it in my templates?
Thanks!
Hi Dan,
Yes you can create a macro using a parameter since you want to use this same macro to display different images/ multiple images on your site.
What version of umbraco are you using here ?
//fuji
Hey, thanks for the response! I'm using Umbraco 7 (latest version)
Hi Dan,
Under the Developer Section you can create a Partial View macro files choosing from the snippet list "list images from media folder".
Just set your macro parameter Alias to whatever your want "mediaId" Type "Single Media Picker".
Since you will be using the macro in your template just no need to check the Use in rich text editor. In your template insert your macro and choose your media Folder.
Hope this helps.
//fuji
That did help, thanks for the pointer!
is working on a reply...