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

Combine Imagine with Assetic #141

Open
smurfy opened this issue Apr 28, 2013 · 1 comment · May be fixed by #143
Open

Combine Imagine with Assetic #141

smurfy opened this issue Apr 28, 2013 · 1 comment · May be fixed by #143

Comments

@smurfy
Copy link

smurfy commented Apr 28, 2013

Hi,

i'm quite a fan of assetic and imagine and already wrote an addon for assetic (https://github.com/smurfy/SmurfyAsseticCssBundleImagesBundle)

I'm now running into an usecase that i want to do use css sprite maps, but this spritemaps needs to be converted and resized :).

So i thought about using imagine for that (i already using it for something else) but now have to problem how to use it easily with css.

So i'm thinking about somehow combine assetic and imagine.

Main challange would be getting the imagine filtername to assetic. i thought about filename/basepath mapping but thats not really clean. (i use file extension in my bundle, but thats not enought info) another solution could be using dynamic assetic filter names based on filters created in imagine, with a prefix. (needs some research)

Just want to ask if this is in any way interesting for you (i could write the code for it, but i want to create a clean and nice solution, as pull request or a seperate bundle)

@smurfy
Copy link
Author

smurfy commented Apr 29, 2013

Ok i did a first prototype:

smurfy/AvalancheImagineBundle@07c89d9

@smurfy smurfy linked a pull request May 4, 2013 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant