No, if you delete the cache won’t delete your pictures or videos, but the cache builds up due to the amount of stored data, which refers to everything. So it is important that you clear some amount of pictures or videos so that the cache build-up is also low.