Hi & Welcome to Linux Questions.
I have an idea but it doesn't require a cable plugged into your computer.
You'll probably need MTP, Media Transfer Protocol.
Look in your Ubuntu Software Center and see if MTP is available and install install it and than reboot.
You can try running:
and see if your distro see's your phone. That's a start.
You can also create an e-mail on your phone and attach the pictures that you want in the e-mail and send it to your e-mail inbox. Open your e-mail on your desktop and download to your PC from your e-mail account.