Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Script] TrackerJacker - Changing The Tracker Graphic

So, for anyone that isn't aware, its come to my understanding that TrackerJacker was essentially discontinued in support quite some time ago. I've seen in the orginal author's notes on it (Ken L) that he says that he DOES have a different Tracker graphic for each of his games, however, each of my attempts to change this have been thwarted. "You can also change the tracker graphic to suit your campaign at&nbsp; @LN69 . I personally have different tracker symbols for each of my campaigns. My mummy's mask campaign has a spinning eye of Horus, my reign of winter a frozen arcane symbol, etc..." - Ken L. LN69 in question -&nbsp; var fields = { feedbackName : ' TrackerJacker ' , feedbackImg : ' <a href="https://s3.amazonaws.com/files.d20.io/images/11514664/jfQMTRqrT75QfmaD98BQMQ/thumb.png?1439491849" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/11514664/jfQMTRqrT75QfmaD98BQMQ/thumb.png?1439491849</a> ' , trackerId : ' ' , trackerName : ' trackerjacker_tracker ' , trackerImg : ' <a href="https://s3.amazonaws.com/files.d20.io/images/11920268/i0nMbVlxQLNMiO12gW9h3g/thumb.png?1440939062" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/11920268/i0nMbVlxQLNMiO12gW9h3g/thumb.png?1440939062</a> ' , // This is 69 // trackerImg: '<a href="https://s3.amazonaws.com/files.d20.io/images/6623517/8xw1KOSSOO1WocN3KQYmzw/thumb.png?1417994946" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/6623517/8xw1KOSSOO1WocN3KQYmzw/thumb.png?1417994946</a>', trackerImgRatio : 2.25 , rotation_degree : 10 , }; I assumed it would be as simple as changing out the URL with another direct link to something like Imgur, but that doesn't appear to be the case. Can anyone help me out on this? Probably an easy fix, but I'm looking past it with a thousand yard stare.
1539152839
GiGs
Pro
Sheet Author
API Scripter
It might have something to do with the url you're using for your image. Can you share it?
G G said: It might have something to do with the url you're using for your image. Can you share it? <a href="https://i.imgur.com/Xn5cosy.png" rel="nofollow">https://i.imgur.com/Xn5cosy.png</a>
1539154593

Edited 1539154723
GiGs
Pro
Sheet Author
API Scripter
That is a valid url, so I wonder if roll20's security does something to block scripts accessing external urls. Have you tried uploading the image to your roll20 library, and use the url that roll20 assigns it?&nbsp; To get the image address: Import the image, Open your image library Create a new handout, edit it, and drag the image to the handout. Don't close the handout. Rightclick the image, and select "copy image address" (if using chrome, firefox will have an equivalent command) Paste this into notepad, it will be something like&nbsp; <a href="https://s3.amazonaws.com/files.d20.io/images/64545972/Wbmhch7ctYDjP3Ew68xmbg/max.png?1539154286" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/64545972/Wbmhch7ctYDjP3Ew68xmbg/max.png?1539154286</a> Change the max in the url to thumb, resulting in something like&nbsp; <a href="https://s3.amazonaws.com/files.d20.io/images/64545972/Wbmhch7ctYDjP3Ew68xmbg/thumb.png?1539154286" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/64545972/Wbmhch7ctYDjP3Ew68xmbg/thumb.png?1539154286</a> Use this url in your script. Hopefully that will work. It's possible that the url I've listed above will work without you having to do any work. I copied your image. Try it and see.
It worked! Thanks a ton. Hope this gets more visibility. You literally had the exact work around that was needed.
1539157914
GiGs
Pro
Sheet Author
API Scripter
Great! I think there's an easier way to get the url, but I cant remember what it is. Maybe Keith or one of the other gurus can post it for reference. There's also a script to grab it, but this was just as quick as installing a script for a single use.
1539178297
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
That's pretty close to what I do. I just drag the image to the VTT and press Z. Then I right click on the preview and choose open in new tab. I do any editing in the URL field of that tab. Saves you from creating a temporary handout or opening another program. It also verifies that you've created a valid URL, if you press Enter after editing.
PS - This was my result. Thanks again. <a href="https://i.imgur.com/Ln9aWh5.gifv" rel="nofollow">https://i.imgur.com/Ln9aWh5.gifv</a>
1539197892
GiGs
Pro
Sheet Author
API Scripter
Thats very nice!