On multi-language Drupal site with language prefix in path there is problem with link to file.

It generates now:

http://example.com/en/sites/default/files/imagecache/thumbnail/image.jpg

But it should generate this:

http://example.com/sites/default/files/imagecache/thumbnail/image.jpg

Comments

anantagati’s picture

Status: Active » Needs review
StatusFileSize
new738 bytes
sun’s picture

Status: Needs review » Needs work

I think the proper fix for this issue is to use http://api.drupal.org/api/function/file_create_url/6

sun’s picture

Status: Needs work » Closed (duplicate)

Thanks for taking the time to report this issue.

However, marking as duplicate of #439928: Private Files Support.
You can follow up on that issue to track its status instead. If any information from this issue is missing in the other issue, please make sure you provide it over there.