Calling Images from FTP-environment

  • Cargo Office administrators are able to call and maintain images inside their carrier FTP directory.
  • These could be helpfull when creating specific templates.
  • Note: there are different price settings for storage. The amount of storage you are using you can check yourself.

Where to find:

  • FTP carrier directory -> data -> img/
  • FTP carrier directory -> data -> img/logos/
Note: this structure is only available in newly installed Cargo Offices. If you miss this directory use your Report System to sent Cargo Office programmers a request to implement this.

How it works

1.
You have the opportunity to add new images inside the directory: data/img.

  • The path you have to use from your templates folder then has to be: img/file.ext
    E.g.: <img src="img/logo23.gif">
2.
You are able to add images with the same name as the ones you've uploaded before.
Cargo Office will show images from your ftp-folder first, if it can not find images in your ftp-folder, Cargo Office checks the folder of your former uploaded images.
  • The following images you can re-write from directory data/img/logos:
    • frontlogo.gif
    • complogo1.jpg
    • complogo2.jpg
    • complogo3.jpg
    • complogo4.jpg
    • extra1.jpg
    • extra2.jpg
    • extra3.jpg
    • extra4.jpg
  • The new image is shown when:
    • the image name equals the name of your former uploaded image
    • the image name equal the carrier name [CN] as extension.
      E.g.: for carrier 7777: frontlogo.7777.gif
    • the image name equals the carrier name [CN] and customer name [customerID] as extension.
      E.g.: for carrier 7777 and customer 8888: frontlogo.7777.8888.gif
  • CustomerID is often used when an image has to be shown for a certain customer
-- RutgerRutgers - 2013-10-01
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2013-10-07 - RutgerRutgers
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback