1

In my SharePoint 2013 site, where I am deploying few of the images in the layouts/Images/Test and when I am trying to access it on sharepoint, I am just seeing an 'X' mark. Where as there are few other images in the same folder and accessed similarly(/_layouts/15/Images/Test/testImage5.jpg) and I am able to see those images. But this newly added image is just showing up as cross mark.

Kindly suggest What can be the issue.

3
  • Its happening to you only or all users. May be browser cache issue.
    – P S
    Jan 21, 2020 at 14:26
  • What method are you using to deploy images to the layouts folder? Are you packaging a solution and deploying a .wsp package, or using a powershell copy command, or manually copying to the layouts folder on the web server using (or other I have not mentioned)?
    – willman
    Jan 21, 2020 at 17:37
  • Currently I am directly deploying from Visual studio.
    – user38433
    Jan 22, 2020 at 7:11

2 Answers 2

0
  1. Please ensure you are referring correct Web Application(where your images are deployed).
  2. Navigate to IIS and Locate the file path in Web App -> right-click -> browse, check URL is correct (replace localhost to web app url)
0

Use developer tool to check the image full url, and then request the url in a new tab of browser, if the image couldn't show, the image url would not correct.

Use IIS manager to confirm the path also.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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