Logo (spec)

From RPM Wiki

Table of contents

Summary

Suppliers and subscribers each have a logo that is saved in the database and used in various places in the application.

Details

All logos share the same specifications

  • 120x50 pixels
  • GIF (recommend 32 to 64 colors + transparency)

Storage

  • Saved in database
  • If there is no logo instead have the resulting img tag point to "images/logos/logo_default.gif"
  • See Logo (technical spec)

Upload

Logos are uploaded from the details page of what they are for

  • Upload page checks for required ".gif" or ".GIF" extension and file size under x bytes (specified in config XML)

Supplier logo display

  • Various supplier-specific pages
  • Supplier details

Subscriber logo display

  • Top frame. Shown in the top left corner of the window for all users except admin
  • Subscriber details page
  • Commission transfer setup and the transfer wizard itself

Cache

  • Subscriber logos are cached on the server for better performance. To avoid security issues (since caching skips the DB check), requests to the cached logo include a security hash parameter.

Why the change

  • Easier to add new subscribers
  • Easier server management
  • There is a security issue where a subscriber could direct enter IDs to see other subscriber logos and home page branding.

History

  • Jupiter: Total logo system rebuild including move to database storage from files and single size from 3
  • This page was last modified 17:41, 16 Feb 2007.
  • This page has been accessed 1372 times.