Comments (10)
symfony 6 uses config/bundles.php to load bundles, see https://symfony.com/doc/current/bundles.html
from liipimaginebundle.
Okey,so you sée m'y code,where it's thé problèm?
from liipimaginebundle.
it is hard to read and understand what you wrote because of the formatting, but i don't see anything obviously wrong. so the bundle is loaded and you get an image path but the filter is not applied when you fetch the image? or do you get some sort of error?
from liipimaginebundle.
yes of course, nothing show but if i click on the link into my console
Unable to create image for path "uploads/images/posters/54f8760ec1d98d2bb59a2a206bba6007.jpg" and filter "article". Message was "Unable to open image /var/www/html/heypapi/public/uploads/images/posters/54f8760ec1d98d2bb59a2a206bba6007.jpg"
and i don't understand media/cache/resolve/article
because the correct path are
http://0.0.0.0:9900/uploads/images/posters/54f8760ec1d98d2bb59a2a206bba6007.jpg
from liipimaginebundle.
the media/cache/resolve/article would be the route for the controller to trigger applying the filter that generates the image you want. but the error message says that it can't load the image from a path. you should debug why it can't open that image, if the root path is correct or if there are filesystem permission issues.
from liipimaginebundle.
okey i see, i don't install php-gd, it's work but on certain images...
it's work on 1920x865 167ko
but not on 1280x1280 330ko the image not in cache, and don't show...
https://zupimages.net/up/23/04/b45g.png
from liipimaginebundle.
maybe your memory settings are too low?
another option to avoid having to set up image handling is using a service like rokka.io where you can use an api and get a cdn with the images, and all image drivers installed and maintained as a service.
from liipimaginebundle.
i don't know, i see lot of peoples have same issue, i think my file liip.yaml are not correct there
liip_imagine: # valid drivers options include "gd" or "gmagick" or "imagick" driver: "gd" resolvers: default: web_path: web_root: "%kernel.project_dir%/public" cache_prefix: "uploads/images/posters"
all my images are in public/uploads/images/posters...it's good?? i use gd
from liipimaginebundle.
okey i find issu, it's gd...not work on jpg...i use now imagick that work perflectly!!
i have other problem, i would like use gallery on it...like flexbox or photoswiper
from liipimaginebundle.
good, glad you solved it.
for gallery functions, you need to look into frontend tools. the imagine bundle is only about scaling single images and does not provide functionalities for managing the images.
from liipimaginebundle.
Related Issues (20)
- Overriding configuration for specific env is broken HOT 1
- Attempted to load class "AmazonS3" from the global namespace HOT 2
- Can't auto configure cache with s3
- Sylius Liip issue with cache generation....
- How to correct set cachePrefix for S3 resolver?
- Image not generating but the image link includes a resolve path. HOT 2
- Drop support for unsupported dependencies in v3 HOT 2
- Separate OneupFlysystem and league/flysystem-bundle in the docs HOT 4
- Provide a simple demo repo HOT 1
- Add Provider Data/Path to 404 when creating images HOT 1
- Use s3 for cached images too HOT 3
- Redirect not working when resolving the first time HOT 5
- Document integration with backblaze adapter HOT 1
- help,how to override filter use programmatically HOT 2
- installation failure HOT 4
- $imagineCacheManager->resolve($image, $filter) doesn't generate file in controller HOT 9
- Bundle impossible to install or update HOT 3
- exif data not persisted in image HOT 1
- 2.12.2 autowiring of Imagine\Image\ImagineInterface broken HOT 2
- Regex in redirect optimization doc matches more than expected HOT 5
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 liipimaginebundle.