{"action":"created","issue":{"url":"https://api.github.com/repos/fancyapps/fancybox/issues/2074","repository_url":"https://api.github.com/repos/fancyapps/fancybox","labels_url":"https://api.github.com/repos/fancyapps/fancybox/issues/2074/labels{/name}","comments_url":"https://api.github.com/repos/fancyapps/fancybox/issues/2074/comments","events_url":"https://api.github.com/repos/fancyapps/fancybox/issues/2074/events","html_url":"https://github.com/fancyapps/fancybox/issues/2074","id":362522094,"node_id":"MDU6SXNzdWUzNjI1MjIwOTQ=","number":2074,"title":"on $.fancybox.open, how can I resize the image to fullscreen","user":{"login":"muhammadizzat","id":24770005,"node_id":"MDQ6VXNlcjI0NzcwMDA1","avatar_url":"https://avatars1.githubusercontent.com/u/24770005?v=4","gravatar_id":"","url":"https://api.github.com/users/muhammadizzat","html_url":"https://github.com/muhammadizzat","followers_url":"https://api.github.com/users/muhammadizzat/followers","following_url":"https://api.github.com/users/muhammadizzat/following{/other_user}","gists_url":"https://api.github.com/users/muhammadizzat/gists{/gist_id}","starred_url":"https://api.github.com/users/muhammadizzat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muhammadizzat/subscriptions","organizations_url":"https://api.github.com/users/muhammadizzat/orgs","repos_url":"https://api.github.com/users/muhammadizzat/repos","events_url":"https://api.github.com/users/muhammadizzat/events{/privacy}","received_events_url":"https://api.github.com/users/muhammadizzat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-21T09:06:21Z","updated_at":"2018-09-21T10:41:53Z","closed_at":null,"author_association":"NONE","body":"How can I on open my image list, resize it to full screen or just bigger than the \".fancybox-image-wrap\" div allow me to, this is the setting I have right now\r\n\r\n```\r\n$.fancybox.open(image_list,{\r\n                loop: false,\r\n                toolbar: false,\r\n                protect: false,\r\n                infobar: false,\r\n                arrows: true,\r\n                fullScreen: {\r\n                    autoStart: true\r\n                },\r\n                clickContent: false,\r\n });\r\n```\r\n\r\nI've tried messing with the class \r\n```\r\ndiv.fancybox-inner {\r\n            width: auto !important;\r\n            height: auto !important;\r\n            /* Center */\r\n            margin-left: auto !important;\r\n            margin-top: auto !important;\r\n            margin-right: auto;\r\n            margin-bottom: auto;\r\n}\r\n```\r\n\r\nThis somewhat solve my problem, but now it mess up with the position of my caption, Any help is much appreaciated thanks"},"comment":{"url":"https://api.github.com/repos/fancyapps/fancybox/issues/comments/423490913","html_url":"https://github.com/fancyapps/fancybox/issues/2074#issuecomment-423490913","issue_url":"https://api.github.com/repos/fancyapps/fancybox/issues/2074","id":423490913,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzQ5MDkxMw==","user":{"login":"acwolff","id":8150784,"node_id":"MDQ6VXNlcjgxNTA3ODQ=","avatar_url":"https://avatars0.githubusercontent.com/u/8150784?v=4","gravatar_id":"","url":"https://api.github.com/users/acwolff","html_url":"https://github.com/acwolff","followers_url":"https://api.github.com/users/acwolff/followers","following_url":"https://api.github.com/users/acwolff/following{/other_user}","gists_url":"https://api.github.com/users/acwolff/gists{/gist_id}","starred_url":"https://api.github.com/users/acwolff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acwolff/subscriptions","organizations_url":"https://api.github.com/users/acwolff/orgs","repos_url":"https://api.github.com/users/acwolff/repos","events_url":"https://api.github.com/users/acwolff/events{/privacy}","received_events_url":"https://api.github.com/users/acwolff/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T10:41:53Z","updated_at":"2018-09-21T10:41:53Z","author_association":"NONE","body":"This is possible with [my jAlbum FancyBox skin](https://jalbum.net/en/skins/skin/FancyBox) if you click, after opening the webpage the 3th Full screen button from the left, see [this example album](https://andrewolff.jalbum.net/FB_JustifiedGallery/)."}}
{"actor":{"display_login":"acwolff"}}