• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Read attachments from an external directory

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all from Spain!

This is my first post, I've been 'playing' with JForum and I would like to know if its posible to read/display attachment files (specifically pictures) from an external folder.

SITUATION
aplication directory: /opt/websphere/forum
attachment directory: /data/upload

After puting this in SystemGlobals.properties,

I managed to store the files in the desired directory but pictures are not displayed when read

Seeing the source code of the webpage:


I don't think this problem is related with privilegues because if I click on the download link I get any file succesfully, even pictures.

Anyone knows how can I fix this?

Thanks in advance


[originally posted on jforum.net by karlox]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic