{"action":"created","issue":{"url":"https://api.github.com/repos/openseadragon/openseadragon/issues/547","labels_url":"https://api.github.com/repos/openseadragon/openseadragon/issues/547/labels{/name}","comments_url":"https://api.github.com/repos/openseadragon/openseadragon/issues/547/comments","events_url":"https://api.github.com/repos/openseadragon/openseadragon/issues/547/events","html_url":"https://github.com/openseadragon/openseadragon/issues/547","id":53029456,"number":547,"title":"Custom TileSource is not working properly to load initial level image.","user":{"login":"dotnetexpert86","id":3430772,"avatar_url":"https://avatars.githubusercontent.com/u/3430772?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnetexpert86","html_url":"https://github.com/dotnetexpert86","followers_url":"https://api.github.com/users/dotnetexpert86/followers","following_url":"https://api.github.com/users/dotnetexpert86/following{/other_user}","gists_url":"https://api.github.com/users/dotnetexpert86/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnetexpert86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnetexpert86/subscriptions","organizations_url":"https://api.github.com/users/dotnetexpert86/orgs","repos_url":"https://api.github.com/users/dotnetexpert86/repos","events_url":"https://api.github.com/users/dotnetexpert86/events{/privacy}","received_events_url":"https://api.github.com/users/dotnetexpert86/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openseadragon/openseadragon/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":95,"created_at":"2014-12-29T09:35:04Z","updated_at":"2015-01-01T21:19:46Z","closed_at":null,"body":"Hello,\r\n\r\nI am trying to make custom tile source, I have simple copy paste the code from here : https://openseadragon.github.io/examples/tilesource-custom/ \r\nBut i can see the Output as per here : http://screencast.com/t/j7Qvh4URsX\r\n\r\nand for the Images related output here.. http://screencast.com/t/nPSGdRRbkn\r\n\r\nHere questions are :\r\n----------------------------------------- \r\n1) what is the correct way to load images properly..i cant see there are much documentation for it. if any specific info please provide me..\r\n\r\n2) why there is (level-8)... ?\r\n\r\n3) How can i make it dynamic.. for example if i  want to make load images from my PC related folders dynamically with ajax call using asp.net mvc.. is there any examples...\r\n\r\n4) I have much read about but not exact info for custom tile source to load the images to show the output as on Demo page...\r\n\r\nI am using below code currently, it will go later based on ajax call to load local folders - level0,1,2,3,4,5,6 etc\r\n\r\n        var viewer = OpenSeadragon({\r\n            id: \"example-custom-tilesource\", showNavigator: true,\r\n            wrapHorizontal: true,\r\n            tileSources:   {\r\n                height: 512*256,\r\n                width:  512*256,\r\n                tileSize: 256,\r\n                minLevel: 8,\r\n                getTileUrl: function (level, x, y)\r\n                {\r\n                    console.log(\"URL::->\"+ \"http://s3.amazonaws.com/com.modestmaps.bluemarble/\" +(level-8) + \"-r\" + x + \"-c\" + y + \".jpg\")\r\n                    return \"http://s3.amazonaws.com/com.modestmaps.bluemarble/\" +\r\n                            (level-8) + \"-r\" + x + \"-c\" + y + \".jpg\";\r\n\r\n                }\r\n            }\r\n        });\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openseadragon/openseadragon/issues/comments/68498613","html_url":"https://github.com/openseadragon/openseadragon/issues/547#issuecomment-68498613","issue_url":"https://api.github.com/repos/openseadragon/openseadragon/issues/547","id":68498613,"user":{"login":"dotnetexpert86","id":3430772,"avatar_url":"https://avatars.githubusercontent.com/u/3430772?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnetexpert86","html_url":"https://github.com/dotnetexpert86","followers_url":"https://api.github.com/users/dotnetexpert86/followers","following_url":"https://api.github.com/users/dotnetexpert86/following{/other_user}","gists_url":"https://api.github.com/users/dotnetexpert86/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnetexpert86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnetexpert86/subscriptions","organizations_url":"https://api.github.com/users/dotnetexpert86/orgs","repos_url":"https://api.github.com/users/dotnetexpert86/repos","events_url":"https://api.github.com/users/dotnetexpert86/events{/privacy}","received_events_url":"https://api.github.com/users/dotnetexpert86/received_events","type":"User","site_admin":false},"created_at":"2015-01-01T21:19:46Z","updated_at":"2015-01-01T21:19:46Z","body":"Ok, I have just made the script to read the files from the server and added all the images in to my directory, now i have returned the image path not the URL... :) it is working fine...:)\r\n\r\nActually the in the documentation the server call is different ... i was returning the image url instead of path... what was happened with me...!!!\r\n\r\nThanks for your time and explanation.... "}}