The banner module should be updated to use Drupal's built-in file API instead of the fs module.

Comments

jeremy’s picture

Assigned: Unassigned » jeremy

The CVS version of banner.module has been updated to use the built-in file API.

killes@www.drop.org’s picture

It does not work for private images.

I looked a bit around:

We need to have a banner_file_download() function.
This should return a header like this: return array("Content-Type: image/jpeg");
We need to store the mime type for this to work proberly.

However, this is not all we need to do. I still cannot get a private banner to show up properly.

jeremy’s picture

I do not believe that this is an issue with the banner.module, but with file.inc.