Comments (2)
Do my knowledge maxSize
is not a valid parameter.
Please refer to the Glide documentation to learn which parameters are possible: http://glide.thephpleague.com/
from laravel-glide.
I not fount any parameters.
I use this code in AppServiceProvider
$this->app->singleton( 'League\Glide\Server', function ( $app ) { $filesystem = $app->make( 'Illuminate\Contracts\Filesystem\Filesystem' ); return \League\Glide\ServerFactory::create( [ 'max_image_size' => 1000000*100000, 'source' => public_path(), 'cache' => storage_path(), 'source_path_prefix' => 'files/', 'cache_path_prefix' => 'glide/cache/' ] ); } );
and my Route is:
Route::get( '/showImage/{w}/{h}/{src}', function ( League\Glide\Server $server, $w, $h, $src ) { $server->outputImage( $src, [ 'w' => $w, 'h' => $h, 'fit' => 'crop' ] ); } )->where( 'src', '.+' );
when i this route:
(http://yalda.ali/showImage/5000/1200/IfdsfdsfdsMG_0319.jpg) Not Show any picture???
But small image correct???
from laravel-glide.
Related Issues (20)
- How to cache Image?
- How can I make a circle Image? HOT 3
- Call to undefined method Spatie\Glide\GlideImage::load() HOT 9
- ErrorException in GlideImage.php line 30 HOT 2
- file_exists(): open_basedir restriction in effect. HOT 1
- How to gave namespace on controller. HOT 2
- want to add height,watermark and make 2 copies of image HOT 1
- gif not working
- Laravel 5.8 / 6 Installation Instructions HOT 1
- Please add support for laravel 7 HOT 1
- Why you dropped on-the-fly image serving in v3? HOT 1
- Imagick falling back to GD always HOT 1
- Imagick SVG background problem HOT 1
- [FlySystem Laravel] impossible to create the root directory HOT 1
- Shared Hosting Compress Image Error | Impossible to create the root directory "/tmp/phpf7JagH".
- Doc link down HOT 1
- how can we take image from s3 bucket and cached, crop images on my webserver
- Proper laravel support
- Animated gifs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-glide.