]> git.saurik.com Git - wxWidgets.git/blob - docs/tech/tn0023.txt
Virtualize showing/hiding the pages in wxBookCtrlBase.
[wxWidgets.git] / docs / tech / tn0023.txt
1 Adding a new app/screenshot to the wxWidgets.org front page
2 =====================================
3
4 To add a new app/screenshot to the front page, you first will need to have the
5 following:
6
7 1. The application Name
8 2. A URL for the application
9 3. A series of screenshots for the app
10
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.
16
17 Once you have the screenshots and info ready, take the following steps to
18 update the web site:
19
20 1) Put the screenshots in <wxWebSite root>/site-v2/images/front_screens
21
22 2) Open <wxWebSite root>/site-v2/index.php
23
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.
26
27 Add a new line at the bottom, with the following format:
28
29 $apps[] = array(appname, appurl, array(screenshot1, screenshot2, ...));
30
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.
34
35 Once you've done this, the new app w/screenshots should appear on the front page!