I use leaflet to zoom into images in webapps that I’ve made (see http://rihannadecoded.com for an example site). In order to make the images work, I need to make sure that they are a square that can break down into 256×256 pixel chunks.
Now I’d like to create a similar site for an image that is 5000×2000 pixels (or whatever other non-square resolution). Is there any way that I can use leaflet to do this?
It shouldn’t matter if the image is square and could be splitted ub to 256×256 chunks.
For a 5000×2000 image you e.g. may use 250×250 – tiles(use the tileSize-option to define the size of the tiles).
When the image can’t be splitted into square chunks, you still have the option to complete the partially tiles on right/bottom with a background-color of your choice.