jQuery UI Tabs - Default functionality

Which criteria must my photos meet?