Collectible items displaying images when used

First of all, I know there was a similar topic on this forum long time ago (I've done my research) but it did not solve all my doubts.

So I would like to ask the more experienced game makers here what would be the best way to handle the following situation:
In my game, the player can collect posters - special items which have their own category in the item menu (done with plug-in). These items can be accessed many times (they do not vanish after using) at any point in the game and can only be accessed from the ESC Menu. Each poster item shows a specific image on screen when used. I achieved this effect with Common Event that is only triggered when a particular item is used from the menu. It works just as I wanted. Now, in order to create many posters with different images, I would have to make a lot of those common events, each showing a different picture. Is there a more efficient way of achieving this with only one Common Event e.g. "Image Viewer" which displays different images depending on the item that was used?
It's possible, but that would take a lot of conditional branches to check which poster is being used so the correct picture wouldn't be displayed. Personally, I would go the route of a single common event per poster, as it's not like you are ever going to run out of those anyway.
Yes i read those Threads also and they had a solution, sadly i could not find them again.
But i still got the Code Snippet so i was able to rebuild you something for your common Event:
Last Item.PNG

Variable 10 is named Last Item.
Code:
a = 0
if ($gameParty.lastItem() != null) { a = $gameParty.lastItem().id } else { a = 0 }
$gameVariables.setValue(10 , a);

This should do what you want, i hope it helps, let us know in any case.

Original thread: https://forums.rpgmakerweb.com/threads/collectible-items-displaying-images-when-used.105880/