Massive work done on the frontend of the picture gallery