THUMB ROTATION SCRIPT
This script has a mysql database filled with hundreds/thousands of thumbnail images.
This script uses a template containing identifiers as the basis to create an output page that
displays thumbs and various data associated with each thumb.
It collects click statistics for each thumb, and rebuilds the page with different/reordered
thumbs after X number of clicks.
It can display the thumbs on each rebuild in order of various ranking criteria. eg. random, or best display/clicks ratio,
or most clicks since last rebuild.
1. Groups management page. There are 10 different types of groups of thumbs,
and each group can have unlimited numbers of fields. This page is where u can give each of the 10 groups a name,
and also add/edit an unlimited number of members in each group.
2. UPLOAD PAGE - upload thumbnail image.
- collect 15 data text fields for each thumb, named data1-data15
- data1 - thumb url (generated by script after uploading thumb)
- data2 - link url
- data3 - title
- data4 - alt text
- data5 - long description
- data6 - short description
etc etc
- dropdown selections to allocate the thumb to one of each of up to 10 different groups. named group1 to group10
eg. group1 might be for thumb dimesions, so options could be: 100x100, 200x200, 300x300 etc.
group2 might be for color, so options could be: blue, red, yellow etc.
etc etc
3. Page Builder Engine - input templates and output page pathways for each page generated.
- traffic tracing script prefix to be added to front of all gallery urls.
- for each page, allocate the following settings:
- selecting a member from each of the 10 grouping classifications to be included on the page.
- rebuild frequency (regenerate page after X number of clicks)
- sorting method (order thumbs on page based upon - total ratio, last clicks, random, insert date)
- how many new thumbs to be inserted on each rebuild.
- the position of first of the new thumbs to be added. eg. insert 5 new thumbs into positions 20-25.
- ability to manually rebuild the page
4. the templates - uses identifiers representing each of the 15 datafields for each thumb.
eg. ##data2:1## would represent the data2 field for the first thumb,
and ##data2:2## would represent the data2 field of the 2nd thumb.
5. Collect and store the following stats info:
- stats 1 - insert date
- stats 2 - total clicks
- stats 3 - total displays
- stats 4 - ratio (calculated by clicks / displays)
- stats 5 - clicks during last rebuild display period.
6. Editing thumbs page - dropdown options to choose which groups/subgroups of thumbs to display
- sort display method eg. rank by total clicks, ratio, insertion date
- find/search and dropdown to choose which data type to search.
- under each thumb is: - edit link, which popups a window of all that thumbs info.
- stats: total clicks & ratio.
- tick box
- at bottom of page is - 2 tick boxes (apply to all, apply to this page).
- dropdown options to: - delete
- change group1
- change group2
- change group3
etc etc.
7. EXPORT - 10 dropdowns to choose which of the group options to include in the export list.
Then it makes a list of the thumbs and their associated data each seperated by a delimiter.
8. MASS IMPORT - input a large list of thumbs and associated data, and add to database the info in each of the datafields and group fields.
- the first field should be the thumb url, and then the software should download the thumb from that location and store it onto that domain.