There are many movies that put some pictures or clips at the end at the beginning and then start from the beginning. What is this technology called?

This is called flashback, which is used when writing articles and telling stories or shooting movies and TV series.

Flashback refers to bringing the end of an event or the most important and prominent segment to the front of the article according to the needs of expression, and then narrating it from the beginning of the event according to the sequence of events.

There are two kinds of flashbacks: one is to advance the ending, such as Wuthering Heights; The second is to advance the wonderful part in the middle like "For Sixty-one Class Brothers".