Image_tag for images outside of application

Hello.

I’m writing an application that uses images stored in the same server
but outside of the application directory. I have tried many things but
nothing worked and found nothing really useful anywhere.

What can I do so the image_tag helper finds the images I need?

Thanks a lot.

Pepe

By default only the public directory is exposed to the web. If you
have content living outside of this place you to somehow expose it in
the web scope. You might make a symlink, or make a other virtual host
for the images and designate this with asset_host.

Christian

Thanks for the tip. I just tried it but unfortunately I got:

the symlink() function is unimplemented on this machine

I’m working on a Windows machine.

Thanks anyway.