We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
http://localhost:8888/sportibile-uploads/uploads/1.png?w=10&h=10
Hi guys, I found the library very interesting but cannot make it working in localhost (using MAMP)
Here's my code, maybe I forgot something? I prefer to use core php and no frameworks because i will host the script in a subdomain.
<?php require 'vendor/autoload.php'; use League\Glide\Responses\PsrResponseFactory; use League\Glide\ServerFactory; // Specify the path to your image directory $imagePath = __DIR__ . '/uploads'; // Specify the URL path to your image directory $baseUrl = 'http://localhost:8888/sportibile-uploads'; // Configure Glide server $server = ServerFactory::create([ 'response' => new PsrResponseFactory(), 'source' => '/uploads', 'cache' => __DIR__ . '/cache', 'base_url' => $baseUrl, ]); // Handle image manipulation request $server->outputImage($_SERVER['REQUEST_URI'], $_GET);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
http://localhost:8888/sportibile-uploads/uploads/1.png?w=10&h=10
Hi guys, I found the library very interesting but cannot make it working in localhost (using MAMP)
Here's my code, maybe I forgot something? I prefer to use core php and no frameworks because i will host the script in a subdomain.
The text was updated successfully, but these errors were encountered: