Change image based on role of logged in user - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Change image based on role of logged in user

  • Change image based on role of logged in user
  • Hi I am creating a tool similar to Rad rotator but in my case I have to change the image when admin logs in he should see admin image and when user logs in he should see an image designated for that user type only.
    I have created a separate image library for this pourpose. Now I have following steps to finish:-

    1. Access the library
    2.Get the image url
    3.Initialize the control

    Can you provide some help regarding the above issue?
  • Hello Hitesh,

    Please take a look at media modules api.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items