symfony / demo

Symfony Demo Application
https://symfony.com/
MIT License
2.48k stars 1.61k forks source link

Image upload and web fonts #743

Open pculka opened 6 years ago

pculka commented 6 years ago

Can you please extend your demo to include common items, like for example:

Thank you

Nenglish7 commented 6 years ago

Would be to cool to add.

liudianpeng commented 6 years ago

youle

bocharsky-bw commented 6 years ago

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

phpeek commented 6 years ago

Handling uploads sounds very useful to include in symfony/demo. What would You recommend ?

bocharsky-bw commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

It would be great to see the right way to handle multiple file (image) uploads. 👍

sundowndev commented 6 years ago

@pculka What do you mean by custom fonts feature ?

pculka commented 6 years ago

@SundownDEV : like when I create my own webfont .eot, .woff, .ttf ...

manzwebdesigns commented 5 years ago

Handling uploads sounds very useful to include in symfony/demo. What would You recommend ?

I just use VichUploaderBundle...