You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While images look reasonable for me, I'm against web fonts. Really, there's nothing related to Symfony except using asset() Twig function to build proper paths. What about asset() function itself - we already have examples of it for JS/CSS files
As always, it depends on your use cases. If there's a bundle that fits your needs - use it as it's a ready-to-use solution, make even more sense if it's a popular, well-tested, and maintained bundle.
Actually I meant using assets in templates and stylesheets while using webpack encore. Not uploading files...
And as far as custom fonts go: there are many usecases, one of which is corporate design which might have been historically supplied as a webfont. Switching to svg might be a bit off. Being against including handling of fonts in a demo is a bit awkward...
Activity
[-]images[/-][+]Image upload and web fonts[/+]Nenglish7 commentedon Jan 19, 2018
Would be to cool to add.
liudianpeng commentedon Jan 19, 2018
youle
bocharsky-bw commentedon Jan 19, 2018
While images look reasonable for me, I'm against web fonts. Really, there's nothing related to Symfony except using
asset()
Twig function to build proper paths. What aboutasset()
function itself - we already have examples of it for JS/CSS filesphpeek commentedon Jan 20, 2018
Handling uploads sounds very useful to include in
symfony/demo
. What would You recommend ?or
VichUploaderBundle
since it's suggested by Symfony docs.bocharsky-bw commentedon Jan 21, 2018
As always, it depends on your use cases. If there's a bundle that fits your needs - use it as it's a ready-to-use solution, make even more sense if it's a popular, well-tested, and maintained bundle.
pculka commentedon Jan 21, 2018
Actually I meant using assets in templates and stylesheets while using webpack encore. Not uploading files...
And as far as custom fonts go: there are many usecases, one of which is corporate design which might have been historically supplied as a webfont. Switching to svg might be a bit off. Being against including handling of fonts in a demo is a bit awkward...
kironet commentedon Mar 21, 2018
It would be great to see the right way to handle multiple file (image) uploads. 👍
sundowndev commentedon May 10, 2018
@pculka What do you mean by custom fonts feature ?
pculka commentedon May 13, 2018
@sundowndev : like when I create my own webfont .eot, .woff, .ttf ...
manzwebdesigns commentedon Jul 27, 2019
I just use VichUploaderBundle...