 [BUGFIX] Fixed problem that albums and items are not deleted recursively if a gallery is deleted.

      [BUGFIX] Refactored building of the frontend environment to make use of getImgResource method. This fix needs the latest pt_extbase version to work.