MOG picture galley+YEP MainMenuManager

Hello. Need some help, I need to insert some code into YEP plugin to display picture gallery in the main menu. I just can't figure it out. Tried various variations for an hour, but without success.

Here's MOG code

https://www.dropbox.com/s/bskyqky2veep3fy/MOG_PictureGallery.js?dl=0

And this is YEP

73p2CHf.png

https://www.dropbox.com/s/8gfqm489f363vi0/YEP_MainMenuManager.js?dl=0


Thank you for any help!
Plugin Requests is for when you are looking for a plugin. When you need help implementing a plugin you already have it goes in JavaScript Plugin Support.

Moved to: JavaScript/Plugin Support

Original thread: https://forums.rpgmakerweb.com/threads/mog-picture-galley-yep-mainmenumanager.96183/