changes path for thumbnail