ImageGallery Bug Fixes

I came across some of the errors like unable to delete the album and not showing Album Images on the front end. I have test this and its working fine after making this changes