Fixed bug in picture and attachment. Changed layout the main gallery