{"action":"created","issue":{"url":"https://api.github.com/repos/getgrav/grav/issues/1136","repository_url":"https://api.github.com/repos/getgrav/grav","labels_url":"https://api.github.com/repos/getgrav/grav/issues/1136/labels{/name}","comments_url":"https://api.github.com/repos/getgrav/grav/issues/1136/comments","events_url":"https://api.github.com/repos/getgrav/grav/issues/1136/events","html_url":"https://github.com/getgrav/grav/issues/1136","id":185642445,"number":1136,"title":"Grav's Responsive Images functionality not working/working differently","user":{"login":"nineteeneightyeight","id":16566203,"avatar_url":"https://avatars.githubusercontent.com/u/16566203?v=3","gravatar_id":"","url":"https://api.github.com/users/nineteeneightyeight","html_url":"https://github.com/nineteeneightyeight","followers_url":"https://api.github.com/users/nineteeneightyeight/followers","following_url":"https://api.github.com/users/nineteeneightyeight/following{/other_user}","gists_url":"https://api.github.com/users/nineteeneightyeight/gists{/gist_id}","starred_url":"https://api.github.com/users/nineteeneightyeight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nineteeneightyeight/subscriptions","organizations_url":"https://api.github.com/users/nineteeneightyeight/orgs","repos_url":"https://api.github.com/users/nineteeneightyeight/repos","events_url":"https://api.github.com/users/nineteeneightyeight/events{/privacy}","received_events_url":"https://api.github.com/users/nineteeneightyeight/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-27T11:28:33Z","updated_at":"2016-10-27T13:54:19Z","closed_at":null,"body":"(https://learn.getgrav.org/content/media#responsive-images)\r\n\r\nSince updating Grav (to 1.1.8) my client's site has been getting some errors relating to the responsive images support. In the admin plugin, when selecting an image from the dropdown it is now showing 'image@3x.jpg' - previously that would have been 'image.jpg' - because the responsive images functionality within Grav would have done it's magic and generated 3 images (i.g. image.jpg, image@2x.jpg and image@3x.jpg).\r\n\r\nIf the image is set to just 'image.jpg' within the markdown itself, then an error occurs:\r\n\r\n```\r\nWhoops\\Exception\\ErrorException thrown with message \"imagecreatetruecolor(): product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully\r\n\"\r\n\r\nStacktrace:\r\n#0 Whoops\\Exception\\ErrorException in /home/grav/www/html/vendor/gregwar/image/Gregwar/Image/Adapter/GD.php:77\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/getgrav/grav/issues/comments/256647448","html_url":"https://github.com/getgrav/grav/issues/1136#issuecomment-256647448","issue_url":"https://api.github.com/repos/getgrav/grav/issues/1136","id":256647448,"user":{"login":"nineteeneightyeight","id":16566203,"avatar_url":"https://avatars.githubusercontent.com/u/16566203?v=3","gravatar_id":"","url":"https://api.github.com/users/nineteeneightyeight","html_url":"https://github.com/nineteeneightyeight","followers_url":"https://api.github.com/users/nineteeneightyeight/followers","following_url":"https://api.github.com/users/nineteeneightyeight/following{/other_user}","gists_url":"https://api.github.com/users/nineteeneightyeight/gists{/gist_id}","starred_url":"https://api.github.com/users/nineteeneightyeight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nineteeneightyeight/subscriptions","organizations_url":"https://api.github.com/users/nineteeneightyeight/orgs","repos_url":"https://api.github.com/users/nineteeneightyeight/repos","events_url":"https://api.github.com/users/nineteeneightyeight/events{/privacy}","received_events_url":"https://api.github.com/users/nineteeneightyeight/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T13:54:19Z","updated_at":"2016-10-27T13:54:19Z","body":"As far as being able to select the image from the dropdown - that seems to be fixed by using the admin plugin fix you mentioned. However, the main issue is still there. I'm still getting an error message from Grav Core (I believe), when using these images.\r\n\r\nI assume it's something to do with the automatic generation of these responsive images."}}
{"actor":{"display_login":"nineteeneightyeight"}}