Created
January 21, 2019 17:04
-
-
Save PeterBerthelsen/af96a07b37183be8f2759d2f86b16fa0 to your computer and use it in GitHub Desktop.
OrthoThread Images
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////Split Images///////////////////////////////////////////////////// | |
if (img){ //if image string has been passed... | |
var imgs = img.split(","); //split CSV into individual URLs | |
console.log(img + " contains " + imgs.length + " values!"); //log number of images found | |
} else { //if no image string has been passed... | |
console.log("No images passed through threading function"); //log no images | |
} //end image processing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment