During the image sync for an item at the time of integration, the response of Image Id was getting like “”13″”. to retrieve the value we can use “replace” method in Javascript.
syntax : responce.replace(/^”(.*)”$/, ‘$1’);
By doing so we get the value 13 from “”13″”