This is pretty easy considered that there is no need to compile in image support by installing links2 as a deb package on Ubuntu.
sudo apt-get install links2
Now to run the browser in image mode, use the following command:
links2 -mode Xwindow
links2 -help will show you some other options that you can use to run links2 in graphics mode.