Skip to content

Suggested Settings #200

@aleshh

Description

@aleshh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions