Styling and adding a view picture function