Functionality is very limited for iPhone users on Ubuntu, But there are some workarounds.
For your images I would suggest syncing them with dropbox, you can set your phone up to do this automagically, (when the app is open), thus automagically syncing them to your computer.
For Music: This directions are for the iPod but I imagine the steps will be the same for iPhone.
Connect the iPod to your computer using the iPod's USB cable. It may take a few seconds for the computer to recognize the iPod. Note than Ubuntu distributions prior to 10.04 do not recognize the iPod as an MP3 player, but rather, as a storage device.
Ubuntu automatically loads the Music Player application.
Click on "Music" in the Music Player window. Select "Import File" from the drop-down menu to import music into your library.
Click the music on your computer that you want to add to your iPod and drag it to the iPod’s icon. This icon has your iPod’s name on it under the Devices heading. Each time you drag and drop music on the icon, your iPod will update.
Close out of Music Player when you are finished loading music on your iPod. Right-click the iPod icon on your desktop and click "Eject." Wait for Ubuntu to tell you that the iPod has been disconnected. Unplug the iPod from the computer and enjoy your music.
Read more: How to Put Music on Your iPod Using Ubuntu | eHow.com http://www.ehow.com/how_2113536_put-music-ipod-using-ubuntu.html#ixzz2NL0wOiAR