There is a picture pinned on the wall.

There is a pack of cigarettes taped to the back of the toilet tank.

请教老师,像这两句话中的过去分词短语是作随着状语还是定语?如何区别分辨呀?

there存在句的主语后接目前分词、过去分词、不定式、形容词短语等一律剖析为定语。没有随着状语的问题,所以不需要分辨。