3

We are referring Images from an Image Library and showing them in web parts. In case, if a user deletes any Image from back end, our web part will show empty. Of course we can show an alternate image, but I want to restrict all the users to delete images from library while they are being referred.

Kindly help me on how to do this.

2

Navigate to the Picture Library in question, and select the Shared With Button

enter image description here

On the modal dialogue, follow the advanced link

enter image description here

Click the button Stop Inherit Permissions

enter image description here

When you hav broken permission, you kan have the exact permission you want to have for this picture library. Select the group that you want to remove permission for (and make sure they already have read permissions from the Visitor group). Click Remove User Permission.

enter image description here

When you have removed all groups that have permission to delete images, you can safely add images here which you use in your webpart, without ever losing them again.

  • 1
    Got it...I will create a seperate group and assign permissions to that group with out delete option!!! thank you so much :) – Pradeep Kumar Oct 26 '16 at 10:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.