Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jenssegers opened this issue Feb 26, 2012 · 2 comments
Open

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

jenssegers opened this issue Feb 26, 2012 · 2 comments
Assignees

Comments

@jenssegers
Copy link

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 ;)

@ghost ghost assigned pietercolpaert Feb 26, 2012
@jenssegers
Copy link
Author

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants