1            Adding a new app/screenshot to the wxWidgets.org front page
 
   2                     =====================================
 
   4 To add a new app/screenshot to the front page, you first will need to have the 
 
   7 1. The application Name
 
   8 2. A URL for the application
 
   9 3. A series of screenshots for the app
 
  11 Each screenshot should have a 300 pixel width. A height around 225 pixels is 
 
  12 preferred, but it's more important to keep the aspect ratio of the screenshot.
 
  13 Screenshot format is not important, but the important thing is to use the format
 
  14 that gives you the best ratio of picture compression and size. Also, please 
 
  15 make sure the screenshots all have the app name in them.
 
  17 Once you have the screenshots and info ready, take the following steps to 
 
  20 1) Put the screenshots in <wxWebSite root>/site-v2/images/front_screens
 
  22 2) Open <wxWebSite root>/site-v2/index.php
 
  24 3) Look for the "$apps = array();" line. Below it will be a series of items,
 
  25 which are the data used for each app shown in the front page screenshots.
 
  27 Add a new line at the bottom, with the following format:
 
  29 $apps[] = array(appname, appurl, array(screenshot1, screenshot2, ...));
 
  31 The screenshot1, etc. filenames should not have any path to them. They should
 
  32 just be the filename. The actual shown screenshot is chosen at random from
 
  33 the list of screenshots, so order, etc. doesn't matter.
 
  35 Once you've done this, the new app w/screenshots should appear on the front page!