HighLife icon indicating copy to clipboard operation
HighLife copied to clipboard

Request to slightly adjust how the CAD saves evidence photos

Open ertug2 opened this issue 4 months ago • 6 comments

Steam Username

ertug2

Discord Username

ertug2

What happened?

Due to how Discords CDN shows image links, if you use "Or paste a URL into the input below" for the evidence photos, it expires in 3-4 days and requires a new link. The link logic for upload evidence section just shows the link you enter instead of saving it as a copy locally and using that just like if you were to upload it. This causes the image to show up as blank in 3-4 days because of how discord works.

Would it be possible to change this functionality so that using the link does the same behavior as upload image and instead saves a copy locally on your side. We're currently having conflicts where we're mixing external image services and discord in-order to get around this issue. I don't like using this and think It's a liability and also breaks the flow for processing. I want to keep it all in-house in the CAD instead of teaching cadets to use random image upload programs, which I believe is easier for them and faster.

Example: https://cad.highliferoleplay.net/processing/6a54bc981eff4ea9891e09af

Most images are from a week ago and don't work. Last image is one I uploaded manually to the CAD which still shows up.

Expected result

Save the image locally even if we give you a link and use that copy for the arrest report.

Reproduction steps

1.) Upload image using "image link" to CAD evidence section 2.) Come back in 4-5 days 3.) Notice it's blank

Additional information

N/A

ertug2 avatar Jul 16 '26 16:07 ertug2

But why not use the native image uploader in the CAD? It was fixed and works perfectly fine now.

IGUANAMIKE avatar Jul 16 '26 18:07 IGUANAMIKE

My guy, you're literally uploading discord links which have expired. See one here: https://cdn.discordapp.com/attachments/1295917773087572039/1526170206060412958/image.png?ex=6a560c43&is=6a54bac3&hm=a5a7b173c7af6bca4d8e493fc2235188638e05cde78f46377f8f7bddaf7450ee&

This isn't a CAD bug.

kissanealex avatar Jul 16 '26 19:07 kissanealex

But why not use the native image uploader in the CAD? It was fixed and works perfectly fine now.

We're instructed as an FTO to teach cadets to use external image software instead of the built in system that everybody can see/use because of this image link expiring issue. Technically yes, we can just use the native image uploader which I agree works fine and never expires.

My guy, you're literally uploading discord links which have expired. See one here: https://cdn.discordapp.com/attachments/1295917773087572039/1526170206060412958/image.png?ex=6a560c43&is=6a54bac3&hm=a5a7b173c7af6bca4d8e493fc2235188638e05cde78f46377f8f7bddaf7450ee&

This isn't a CAD bug.

No they expire in four days based on how discord works. Please note https://cad.highliferoleplay.net/processing/6a5b4c4d985082df3c4cd222

The discord img links work fine as of writing this but they will expire in a matter of days. It's a CDN so the image links change dynamically. So when we're using the evidence channel and using the image links from it, it is guaranteed to stop working. The workaround I asked for would fix that without having us manually save every single image into a folder to upload to the CAD.

It's not a bug per say but a huge quality of life feature that would help me avoid having to argue with others on if we should be using external image software for the evidence image links or the system that you made from scratch that all departments/organizations can already see. My goal is to keep it all in-house since it's all clean and properly locked down behind credentials.

Hope that all made sense lol, I can clarify more if needed.

ertug2 avatar Jul 19 '26 08:07 ertug2

You dont have to manually save each photo, as when you take a screenshot the automatically should go to your gallery.

Therefore, when you take evidence by SS, all you have to do is press the big box when uploading evidence, then your files should pop up to select and image. Then literally just scroll till you find "Gallery" (or photos, depending on how your SS are configured. Then simply select the image, done easy.

So, overall there isnt a point for Kissane to go out of his way and fix it, as the other works fine. Basically, to sum up, you dont have to manually save as you stated. And also, if your being instructed to teach cadets this, you should reach out to your FTO lead imo and get it change.

xxtwinnes avatar Jul 19 '26 10:07 xxtwinnes

We're instructed as an FTO to teach cadets to use external image software instead of the built in system that everybody can see/use because of this image link expiring issue. Technically yes, we can just use the native image uploader which I agree works fine and never expires.

Shouldn't be happening. The CAD upload feature works fine. You can save/find your screenshots pretty easily. And if you need to upload something from someone else, you just right click in discord and save the image, then upload. This is how you save screenshots in both Windows 11 and 10:

Windows 11

Windows 11 with Windows Key + Shift + S or Prtsc uses the program Snipping Tool. You can search that up and open the settings (if you don't have Snipping Tool, then download it from the Microsoft Store). Then you need to make sure you have the option 'Automatically save screenshots' enabled and have a location chosen where you want to save it. Then just upload evidence in your report and go to that folder, click the lastest images and upload it that way.

Image

WIndows 10

Windows 10 is more tricky as Snipping Tool does not automatically save screenshots. But it does temporarily store it in some weird folder:

C:\Users\[user]\AppData\Local\Packages\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\TempState\ScreenClip

You can find this yourself in this way. Type %appdata% in your windows search bar and open the folder. Then navigate to the folder above. It may take some time to find the MicrosoftWindows.Client.CBS_cw5n1h2txyewy folder so take your time. But you'll see your recent screenshots saved here. Once in the ScreenClip folder, sort by Date:

Image

You'll see 3 files per screenshot. One is a preview, one is a JSON with some data, and one is the actual screenshot

Image

You want to try and find the file that is the largest in size and select that image when uploading to the CAD. In order to find this folder against easily do this. Go to the TempState folder and richt click the ScreenClip folder, then click 'Pin to Quick access'.

Image

You'll then always have that under quick access and can get there quickily.

IGUANAMIKE avatar Jul 19 '26 10:07 IGUANAMIKE

You dont have to manually save each photo, as when you take a screenshot the automatically should go to your gallery.

Therefore, when you take evidence by SS, all you have to do is press the big box when uploading evidence, then your files should pop up to select and image. Then literally just scroll till you find "Gallery" (or photos, depending on how your SS are configured. Then simply select the image, done easy.

So, overall there isnt a point for Kissane to go out of his way and fix it, as the other works fine. Basically, to sum up, you dont have to manually save as you stated. And also, if your being instructed to teach cadets this, you should reach out to your FTO lead imo and get it change.

I’m in agreeance with you. Was more trying to bring it up based on their complaints with expiring photos. I want to use the integrated CAD only. It was a FTO lead that told me along with other FTOs so it’s fairly high COC.

We're instructed as an FTO to teach cadets to use external image software instead of the built in system that everybody can see/use because of this image link expiring issue. Technically yes, we can just use the native image uploader which I agree works fine and never expires.

Shouldn't be happening. The CAD upload feature works fine. You can save/find your screenshots pretty easily. And if you need to upload something from someone else, you just right click in discord and save the image, then upload. This is how you save screenshots in both Windows 11 and 10:

Windows 11

Windows 11 with Windows Key + Shift + S or Prtsc uses the program Snipping Tool. You can search that up and open the settings (if you don't have Snipping Tool, then download it from the Microsoft Store). Then you need to make sure you have the option 'Automatically save screenshots' enabled and have a location chosen where you want to save it. Then just upload evidence in your report and go to that folder, click the lastest images and upload it that way.

Image ### WIndows 10

Windows 10 is more tricky as Snipping Tool does not automatically save screenshots. But it does temporarily store it in some weird folder:

C:\Users[user]\AppData\Local\Packages\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\TempState\ScreenClip

You can find this yourself in this way. Type %appdata% in your windows search bar and open the folder. Then navigate to the folder above. It may take some time to find the MicrosoftWindows.Client.CBS_cw5n1h2txyewy folder so take your time. But you'll see your recent screenshots saved here. Once in the ScreenClip folder, sort by Date:

Image You'll see 3 files per screenshot. One is a preview, one is a JSON with some data, and one is the actual screenshot Image You want to try and find the file that is the largest in size and select that image when uploading to the CAD. In order to find this folder against easily do this. Go to the TempState folder and richt click the ScreenClip folder, then click 'Pin to Quick access'. Image You'll then always have that under quick access and can get there quickily.

Yeah that’s fair. The flow is a bit different but it’s not all that different. Not sure if that will make the people instructing us to use external image software happy. I see no issue with it and it seems straight forward and doesn’t require additional programs and works with all departments and organizations as intended but it’s not my call. I’m just trying to optimize my cadets processing

Perhaps Kissane can clarify to the LSPD FTO team ab this upload feature being fixed so they remove that requirement of having to teach cadets to use image software like imgbb to process suspects.

ertug2 avatar Jul 19 '26 16:07 ertug2