Hi, > Change the first line to "10 = IMG_RESOURCE" [1]. hmmm what i need is the generated temporary name of the image for later use. In detail: -image gets uploaded -tmp image is rendered based on the uploaded one -JS is generade which needs to know the tmpname got it? Cheers, Nikolas