61,125
社区成员
发帖
与我相关
我的任务
分享
ImagePal.prototype.getCode = function (c) {
return (substring ("00000" + c, (length ("00000" + c) - 5) + 1, 5));
};
ImagePal.prototype.getImageUrl = function () {
return (((((((this.basename + this.level) + "/") + this.getCode(this.ox)) + this.getCode(this.oy)) + this.getCode(this.ow)) + this.getCode(this.oh)) + ".jpg");
};
ImagePal.prototype.getLocatorUrl = function () {
return ((this.basename + this.primary) + ".jpg");
};
ImagePal.prototype.getThumbnailUrl = function () {
return ((("_" + this.basename) + this.primary) + ".jpg");
};