Topic: About Image
Hello MVD fans !
I have a project for managing a revue to which I subscribe.
I enter : title, author, revue number, pagination ... and a photo of the cover.
Of course, to each title of this revue, I use the same cover picture.
When saving, MVD saves also the cover but it increments the image file of the revue :
Armen_0218.jpg
Armen_0218(1).jpg
Armen_0218(2).jpg
Armen_0218(3).jpg
Armen_0218(4).jpg
Armen_0218(5).jpg ... and so on.
Armen is the name of the revue and 0218 is number of this revue.
Is there a script (behind OnAfterClick) which could resolve this problem ?
it would verify that the image file already exists and if so it would keep the first one without any incrementation.
I tried to write one but without success.
Thanks for all yours clues.
Regards
JB