Images Onrecord broken links

Hello forum,

I’ve been trying to make a grid application which changes images when a field is -1, 1 or NULL.
The field I use is an image(File Name) field.
I’m using the following code on record.


if({Status} == NULL)
    {
        {Handled} = "<img src='/scriptcase/file/img/handled.png'>";
        //{Handled} = "handled.png";
    }
else if({Status} == 1)
    {
        {Handled} = "<img src='/scriptcase/file/img/mark.png'>";
        //{Handled} = "mark.png";
    }
else if({Status} == -1)
    {
        //{Handled} = "redcross.jpg";
        {Handled} = "<img src='/scriptcase/file/img/redcross.jpg'>";
    }

I’ve put the files in my image path: /scriptcase/file/img/.

This has worked once, but after trying to change the image path to the one used in the prod environment and back all I get is broken links.
Scriptcase tries to make temp images of them, but I think it doesn’t handle it properly.

Can someone please help me, this has been bugging me for 4 hours already.