Skip to content
New issue

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

Fix for including theme image format config #34

Open
wants to merge 1 commit into
base: 3.1
Choose a base branch
from

Conversation

websmurf
Copy link

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #16
License MIT

What's in this PR?

In the documentation here is described here:

Or when you use the SuluThemeBundle you can define the formats in your theme folder:

path/to//config/image-formats.xml

This doesn't appear to work as described

Why?

This pull requests will add the described option and will allow an image-format.xml file per theme.

@SebTM
Copy link

SebTM commented Nov 3, 2022

Maybe we should extend the existing tests to ensure it doesn't break in the future?

@websmurf
Copy link
Author

websmurf commented Jun 19, 2023

What would be needed in order to get this code review moving?

Mocking a file_exists check will be a bit difficult in tests right? Plus I have zero experience with Prophecy (only phpunit and mockery), so will have to have some pointers how to get started :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image formats defined inside of theme directory are ignored
3 participants