decodeArtURL( input_item_t *p_item ) should be self-explanatory. And use it.
Attach a file by drag & drop or click to upload