November Happy Hour will be moved to Thursday December 5th.

EpiServer Banner Link Issue: the slider banner unable to link to content page

Vote:
 

We are using the Slider Block for showing different images in a Slider.

When we are giving the link page url for each and every banner, images are not rendering in Slider.

Please guide us what to do?

Thanks in Advance.

#182892
Edited, Sep 29, 2017 12:38
Vote:
 

Hi, Sushant,

Are your images giving a 404? Can you see them in edit mode?

If you can't see them anywhere, perhaps the path to images is wrong. Check basePath attribute on appData node in episerver.framework section of web.config.

Either that, or maybe you aren't rendering them correctly (this is, if you can see them in edit mode). If so, can you share the code of how you are rendering images.

Marija

#182957
Oct 02, 2017 13:36
Vote:
 

@marija: Thanks for the prompt reply.

Yes I can see the image in edit mode. In ImageFile there is a property called "Link". When I link any of the CMS pages in ImageFile, Still image renders correctly.

But once I put any link in ImageFile the slider is not able to render the ImageFile.

#182990
Oct 03, 2017 6:22
Vote:
 

How are you rendering these links, can you share your view?

Are you using @Url.ContentUrl(Model.Link)?

#183029
Oct 03, 2017 14:54
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.