code for photo graphic link widget