Hi @Zabron Muyambo ,
As far as I think,there is impossible to call the method which in the masterpage from the other page. My idea is like this: your PopupPage is inside the modalpopup and then when you close the modalpopup,it trigger the event to change the image using javascript.
My demo is like this:
Best regards,
Yijing Sun
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.