{"action":"opened","issue":{"url":"https://api.github.com/repos/tkuther/piwigo-bootstrap-darkroom/issues/1","repository_url":"https://api.github.com/repos/tkuther/piwigo-bootstrap-darkroom","labels_url":"https://api.github.com/repos/tkuther/piwigo-bootstrap-darkroom/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tkuther/piwigo-bootstrap-darkroom/issues/1/comments","events_url":"https://api.github.com/repos/tkuther/piwigo-bootstrap-darkroom/issues/1/events","html_url":"https://github.com/tkuther/piwigo-bootstrap-darkroom/issues/1","id":151732483,"number":1,"title":"Setting slider to current image","user":{"login":"ThomasDaheim","id":14020617,"avatar_url":"https://avatars.githubusercontent.com/u/14020617?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasDaheim","html_url":"https://github.com/ThomasDaheim","followers_url":"https://api.github.com/users/ThomasDaheim/followers","following_url":"https://api.github.com/users/ThomasDaheim/following{/other_user}","gists_url":"https://api.github.com/users/ThomasDaheim/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasDaheim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasDaheim/subscriptions","organizations_url":"https://api.github.com/users/ThomasDaheim/orgs","repos_url":"https://api.github.com/users/ThomasDaheim/repos","events_url":"https://api.github.com/users/ThomasDaheim/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasDaheim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-28T20:13:08Z","updated_at":"2016-04-28T20:13:08Z","closed_at":null,"body":"Hi Thomas,\r\n\r\nthanks a lot four your code! I have managed to incorporate your slider back into my theme :-)\r\n\r\nNow I have run into the following: Seems like you try to set the slider to the image with this\r\n\r\n```\r\n$(\".slick-slider\").slick('goTo', currentThumbnailIndex, true);\r\n```\r\n\r\nOn my site that makes the thumb to be the first in the slider, see http://www.feuster.com/piwigo/picture?/8970/category/714-lissabon_2016. But I would like to have it centered. How could I do that?\r\n\r\nI have tried the centerMode option but that doesn't seem to work with slidesToScroll. Any other ideas?\r\n\r\nThanks in advance,\r\nThomas"}}