Use "thumbtacked" in a sentence

1. He thumbtacked the picture to the wall.

2. He thumbtacked the picture of landscape to the wall.