Can't open files types jpg,pdf, online it downloads instead.

Please fill out the log sections, particularly the Web Browser one from the support template. It will likely give you clues about what is going on.