FlatTurtle / InfoScreen

FlatTurtle InfoScreen repository v1 (deprecated)
http://flatturtle.com
4 stars 3 forks source link

Use preset sizes instead of passing dimensions to resize.php #62

Open jenssegers opened 12 years ago

jenssegers commented 12 years ago

Just a suggestion here, but I would prevent passing dimensions to resize.php. Use predefined dimensions from a config file.

$max = 1000;
while(true) {
    for($i=0; $i <= max ; $i++) {
        file_get_contents($url . '&height=' . $i);
    }
}

If you know what I mean ;)

jenssegers commented 12 years ago

Maybe even add a caching system to it :)

Do you want me to expand the system with multiple controller support? Or just keep it light and easy as it is?

pietercolpaert commented 12 years ago

light and easy as it is would be fine. We need this to work this week, nog next month ;)