getting ready for portal gallery template