Questions tagged [gaufrette]

PHP5 library that provides a filesystem abstraction layer

Mark Question with this tag if you have trouble employing the filesystem abstraction layer.

It permits development of an application without the need to know were all those medias will be stored and how.

Another advantage of this is the possibility to update the files location without any impact on the code apart from the definition of your filesystem.

Taken from the projec page

52 questions
0
votes
1 answer

symfony 2.3 + liip + gaufrette = create thumb of a remote image (by url)

I get an old Symfony 2.3 project. I never use Symfony before ( i'm in Angularjs ) so it is a little hard. What i want to do : i need to tweak the project so i can display thumb of local image or remote image ( i will get the full url of already…
AlainIb
  • 4,544
  • 4
  • 38
  • 64
0
votes
1 answer

LiipImagineBundle imagine_filter not working

I have a problem with the imagine_filter that works in one page and not in the others even if I use it exactly the same way with the same photo. In the first page, where my filter works, I have this src: …
0
votes
1 answer

listKeys and keys does not show empty directories

This seems like such a straightforward thing, but I'm struggling to find any information about this in the documentation or anywhere else. I'm using KnpGaufretteBundle with the following settings in my config.yml knp_gaufrette: adapters: …
Philip Bennison
  • 519
  • 2
  • 10
0
votes
1 answer

Error to generate AmazonS3 file url with Symfony2, LiipImagineBundle and Gaufrette on Twig

I'm using the LiipImagineBundle on Symfony2 and trying to integrate with the gaufrette to catch images on amazonS3, but my "src" on images are wrong. I don't know if the error is my configs so... This twig code: {{ '123.jpg' |…
NovoK
  • 146
  • 5
0
votes
1 answer

How can I prevent the creation of subfolders on S3 with KnpGaufretteBundle

I have configured KnpGaufretteBundle to write file uploads to Amazon S3. Files are uploaded but additional subfolders named based on the current date are added. Howe can I prevent this? knp_gaufrette: adapters: image_storage: …
codecowboy
  • 9,835
  • 18
  • 79
  • 134
0
votes
1 answer

Symfony2 KnpLabsGaufrette - Get local filesystem per twig (downloadable files)

i'm using this config.yml. knp_gaufrette: adapters: uploaded_files: local: directory: "%kernel.root_dir%/../web/uploads" create: true filesystems: uploaded_files: …
PatrickB
  • 3,225
  • 5
  • 31
  • 55
0
votes
1 answer

Get mime type with Gaufrette and Vich uploader on Symfony2

I have a problem. I use gaufrette with Vich uploader and add a $file attribute to my entity that is VichUploadable. I did the configuration and the upload of files works well. But when I want to get the mime type of the file (via the entity after…
user3060886
  • 777
  • 1
  • 6
  • 10
1 2 3
4