Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.0.0-b1
-
Component/s: None
-
Labels:None
Description
Right now themes define a logo using an absolute URL in a text field. I think we should keep this option but also allow users to upload a logo for the theme.
Logo mimetypes should be limited based on a config value and the file should be renamed (something along the lines of theme_logo_[Theme ID]).
We should add a method to the Uploads controller called theme() that will be very similar to the invoices method. It should expect $this->get[0] to be 'logo' and should stream the image for the current theme.
We currently have an invoice logo upload under Billing/Payment > Invoice Customization