Pass cached path at isCached instead of img_src

This way the method is more useful. Sometimes all you need is the cache
path.