Skip to content

matthiasphilipp/CORSimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Image CORS Class

  • to deliver Images with CORS-Header for Server without mod_header.c It will allow any GET, POST, or OPTIONS requests from any origin.

In a production environment, you probably want to be more restrictive, but this gives you the general idea of what is involved. For the nitty-gritty low-down, read:

Usage

/* general */
require("class.CORSimage.php");
$image = new CORSimg('filename'); // can be jpg, gif, png, svg

Acknowledgements

Copyright © 2013 Matthias Philipp. Licensed under MIT license.

About

Image Class to deliver Images with CORS-Header

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages