changed flex mixins to partial and updated image tpl file to remove contextual links