ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Logo uploader (Feature #685)

Added by Eric Davis at 2011-11-07 03:29 am. Updated at 2011-11-07 03:34 am.

Status:Open Start date:2011-11-07
Priority:Normal Due date:
Assignee:- % Done:


Category:User interface
Target version:-
Remote issue URL: Affected version:


Ability for admins to upload an image file that is used for the main logo.

Related issues

related to Feature #263: New layout Closed 2011-03-06


Updated by Eric Davis at 2011-11-07 03:34 am

In my opinion the best way to do this is to have a file attachment section in the Admin panel (under Settings > Design or similar). This would be saved (Attachment object without a Project perhaps?) which would then become public at a specific constant url (/images/logo). A Rails route/controller could then be used to load the Attachment object for the user.

An easier option would be to save the uploaded file into public but I don't think that would work because:

  1. /public is read-only in some environments
  2. we'd need to make the url constant for the CSS (#top-menu, #account) or generate the CSS dynamically. (think if the CSS points to a PNG image but a user uploads a JPEG).

Also available in: Atom PDF