I have implemented this functionality (i.e. display and change of the img part number) in [Only registered and activated users can see links. ].

It is in french...( open your img and click on "Changer le numéro de produit du fichier img")

Please, if you want to try it, back up your img before...

For me it works fine with topo Germany, Austria and France...