Hello,
there is many galleries, that is supported by lightrom. Zenphoto, Gallery1 and 2, MobileMe,... But these Plugins are all made by external people, not adobe. You need LUA and the Lightroom-Framework to programm a solution. I think the problem is to add a gallery, because in 4images you have to register the ID somewhere. It is not a simple FTP-Upload.