SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to add my own icon graphic to a feature. I found out that the ImageUrl attribute in the feature.xml definition points to the /_layouts/IMAGES folder which is out of scope for sandboxed solutions.

Is there a way to add a custom image instead of using default feature icon?

share|improve this question
up vote 5 down vote accepted

No there is unfortunatley no possibility to do that.

share|improve this answer
I have found a work-around. Please have a look at it here:… – Vardhaman Deshpande Sep 29 '11 at 7:54

Initially,even I thought that this was not possible in the sandbox. But I found a work around:

I have documented the method to add a feature image to sandbox solution here:

share|improve this answer

I have an easier solution:

  1. Place the image in folder such as Style Library
  2. Write ../../Style%20Library/ as Image Url
share|improve this answer

Replacing of feature image using script which are provided using custom action is not very good solution. Image will be replaced only when feature is activated if image is deployed with module which is a part of the same feature. You can create hidden feature which should be activated on deploy to solve it.

There is another solution here. Unfortunately it also has limitations - it works fine only for the root site of the default site collection.

share|improve this answer

I confirm this works perfectly. Note that when an image is deployed in the Style Library for SharePoint 2013, a SP 2013 Sandbox solution feature Image URL property should be modified to ../../../Style%20Library , as the images folder in SP 2013 translates to /_layouts/15/images (i.e. you need to go three levels up instead of 2).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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