• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 397
  • Last Modified:

Wordpress: Image cannot be loaded

I'm running Wordpress 4.1 in Windows Server 2012.  I've created a post with a gallery of images.  The images were uploaded to the img folder under the root folder for the web site.  When I view the post, I can see the gallery of images, but when I click on an image, I get "The Image could not be loaded".  So I don't get the full size image in a slideshow.  I'm using the DIVI theme. I understand this has something to do with Windows permissions, but have no idea how to fix it.
0
cerebrumconsulting
Asked:
cerebrumconsulting
  • 2
1 Solution
 
eemitCommented:
Not the solutin, but what happens if you add this option to your gallery shortcode (you must change from visual to text in your Edit Screen to do this):
link="file"

Open in new window

By default WP Galery shortcode link to the attachment page,
link="file" force it to link directly to the attachment file/image.
0
 
cerebrumconsultingAuthor Commented:
I tried that, but it didn't work.  

I kept experimenting and found if I added IUSR, IIS_IUSERS, NETWORK SERVICE to the Site Permissions in the IIS Management window with their default permissions, which include read & execute, the problem resolved itself.
0
 
cerebrumconsultingAuthor Commented:
This worked!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now