Old port of Dubrovnik is one of the most beautiful spots to take photos.
You can also take boat or submarine tours from here. Just outside the city, there is a high view point where you can take photos of the marine. You can get more information about the marine from this link.
For more general information about Croatia, please check here.