0

i want to host all my assets (img, css, js, ...) on a CDN, no aws!

How to do that with liipimagineBundle ?

Thank you !

ibasaw
  • 493
  • 1
  • 7
  • 22

2 Answers2

1

Read the following:

https://symfony.com/blog/new-in-symfony-2-7-the-new-asset-component

https://symfony.com/doc/current/components/asset/introduction.html

https://symfony.com/doc/current/best_practices/web-assets.html

And the assetic documentation.

Looking at LiipImagineBundle, it seems they just provide filters/functions that you use in twig, so you would call both normally.

If this response is not enough, or clear, let me know and I'll edit it to fill in what I can.

Thank you.

vpassapera
  • 363
  • 2
  • 8
  • i know assetic, but the question is for liipimagineBundle, because path are relative, and i need absolute path with filters as {{ image.absolutepath|imagine_filter('sylius_medium') }} – ibasaw Jul 07 '16 at 13:18
0

this not possible without write a custom loader, manager, factory... i used a modified version of: https://github.com/flug/imagine-bundle

ibasaw
  • 493
  • 1
  • 7
  • 22