jolicode / jolicode/MediaBundle

Require imagine/imagine by default or explain why in the doc

Open Beginner friendly
#171 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
118
Forks
13
Avg merge
22h 54m
Merged PRs (30d)
3

Description

I just installed the bundle on a new project could not get the imagine processing to work.

All I got as an error was:

> The media "pdfs/33b29eb1-6d55-4a0e-ba96-b1793a096879.jpg" from the library "default" cannot be processed for the variation "joli-media-easy-admin-large" (mime type "image/jpeg", format "jpeg", 103429 bytes): no processor worked for this variation

We have no idea what processor have been tried, and the error is difficult to trace back. Would be nice to have some kind of list?

It's all about a missing dependency. The **default processors requires Imagine** (I made no changes to the default config).

Solution is:

```
composer req imagine/imagine
```

So in my opinion this dependency should be:

- installed by default
- or more clearly suggested in the documentation (only the APT INSTALL for binaries is suggested, maybe add the COMPOSER as well?)

Contributor guide

Open the contributing guide

Research direction

Start by checking the bundle's default processor configuration and Composer dependency declarations, then compare them with the documented installation steps. Confirm how the default configuration behaves without imagine/imagine and decide whether the dependency or its Composer installation instructions need to be added. Done means a fresh project can process the default variation or the required dependency is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.