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

Suggested Settings #200

Open
aleshh opened this issue Jan 25, 2017 · 1 comment
Open

Suggested Settings #200

aleshh opened this issue Jan 25, 2017 · 1 comment

Comments

@aleshh
Copy link

aleshh commented Jan 25, 2017

This is an amazing resource. I would love to see some alternative suggestions for "best practices" configuration settings. For example, I'd love to have people be able to upload 3000-pixel wide images to my site and let AI process all images served up, resizing and optimizing quality. How does this look:

$resolutions   = array(2560, 1920, 1382, 992, 768, 480); // people have big monitors!
$cache_path    = "images/cache"; 
$jpg_quality   = 60; // Google speed tests don't like 75
$sharpen       = TRUE;
$watch_cache   = TRUE;
$browser_cache = 60*60*24*7;

I'm also using the retina version of the script, which seems like it ought to be the default?

<script>document.cookie='resolution='+Math.max(screen.width,screen.height)+("devicePixelRatio" in window ? ","+devicePixelRatio : ",1")+'; path=/';</script>

Would love any thoughts or suggestions.

@discotizer
Copy link

I have this resolution setup:
$resolutions = array(2048, 1536, 1200, 960, 768, 480, 320);

also i'm using "sharpen=false" and a JPG quality factor of 84.

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