{"action":"created","issue":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/2440","repository_url":"https://api.github.com/repos/gatsbyjs/gatsby","labels_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/2440/labels{/name}","comments_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/2440/comments","events_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/2440/events","html_url":"https://github.com/gatsbyjs/gatsby/issues/2440","id":265189566,"number":2440,"title":"gatsby-remark-images not showing certain images in `build` ","user":{"login":"dougajmcdonald","id":1190042,"avatar_url":"https://avatars0.githubusercontent.com/u/1190042?v=4","gravatar_id":"","url":"https://api.github.com/users/dougajmcdonald","html_url":"https://github.com/dougajmcdonald","followers_url":"https://api.github.com/users/dougajmcdonald/followers","following_url":"https://api.github.com/users/dougajmcdonald/following{/other_user}","gists_url":"https://api.github.com/users/dougajmcdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/dougajmcdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougajmcdonald/subscriptions","organizations_url":"https://api.github.com/users/dougajmcdonald/orgs","repos_url":"https://api.github.com/users/dougajmcdonald/repos","events_url":"https://api.github.com/users/dougajmcdonald/events{/privacy}","received_events_url":"https://api.github.com/users/dougajmcdonald/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-13T07:06:06Z","updated_at":"2017-10-14T04:07:57Z","closed_at":null,"author_association":"NONE","body":"I've recently added `gatsby-remark-images` to my site and have two markdown posts with images. Both images are referenced in their respective `.md` files like so `![alt text](imagename.png)` In both cases I have the following file structure\r\n\r\n```\r\n-post-folder\r\n-- index.md\r\n-- imagename.png\r\n```\r\n\r\nIn `gatsby develop`, both images show correctly in the posts and when I run `gatsby build` locally, I can see both images output to the public folder in the many sizes `gatsby-remark-images` generates. \r\n\r\nHowever, when I run my build on `wercker` only one of the posts generates the HTML to render the image. \r\n\r\nI'm just about to check the output files in the production to see if the production build actually produced the image files for the missing post, but wondered if there is any way I can begin to debug this apart from checking the output and fiddling with versions etc.\r\n\r\n**EDIT:**\r\nHaving checked my production server, only the images for one of the two posts have even been generated so I'm now wondered why? Is there anything in `gatsby-remark-images` which would stop it trying to generate images under certain conditions? (Do the image have to be any specific size to start with? is there any dependency between the image size and the config options in the plugin etc?) \r\nI couldn't find too much in the docs in this area, \r\n\r\nIf it's any help, my config is as simple as I could make it.\r\n\r\n```\r\n      resolve: 'gatsby-transformer-remark',\r\n      options: {\r\n        plugins: [\r\n          {\r\n            resolve: `gatsby-remark-prismjs`,\r\n            options: {\r\n              classPrefix: 'language-',\r\n            }\r\n          },\r\n          {\r\n            resolve: `gatsby-remark-images`,\r\n            options: {\r\n              maxWidth: 800,\r\n              linkImagesToOriginal: false,\r\n            }\r\n          }\r\n        ] \r\n      }\r\n    }\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/comments/336608126","html_url":"https://github.com/gatsbyjs/gatsby/issues/2440#issuecomment-336608126","issue_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/2440","id":336608126,"user":{"login":"markanthonyuy","id":4565996,"avatar_url":"https://avatars0.githubusercontent.com/u/4565996?v=4","gravatar_id":"","url":"https://api.github.com/users/markanthonyuy","html_url":"https://github.com/markanthonyuy","followers_url":"https://api.github.com/users/markanthonyuy/followers","following_url":"https://api.github.com/users/markanthonyuy/following{/other_user}","gists_url":"https://api.github.com/users/markanthonyuy/gists{/gist_id}","starred_url":"https://api.github.com/users/markanthonyuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markanthonyuy/subscriptions","organizations_url":"https://api.github.com/users/markanthonyuy/orgs","repos_url":"https://api.github.com/users/markanthonyuy/repos","events_url":"https://api.github.com/users/markanthonyuy/events{/privacy}","received_events_url":"https://api.github.com/users/markanthonyuy/received_events","type":"User","site_admin":false},"created_at":"2017-10-14T04:07:57Z","updated_at":"2017-10-14T04:07:57Z","author_association":"NONE","body":"I have the same issue, when I'm in gatsby develop it displayed the images correctly but on build the images can't be found."}}
{"actor":{"display_login":"markanthonyuy"}}