Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Read attachments from an external directory

 
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]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!