Github repo: https://github.com/deuxhuithuit/image_upload
A specialized version of the classic Upload field for images:
- it accepts only images: bmp, jpg, jpeg, png, gif and svg.
- optional, set a minimum width and / or height. If 0 or empty, no minimum limit will exist.
- optional, set a maximum width and / or height. If 0 or empty, no maximum resize limit will exist.
- optional, it will create unique filenames.
NB: The resize takes places upon save, if needed, no matter new or edited entry.
NB 2: SVG support requires Symphony 2.6.3 or this commit.
- Upload the
image_upload
folder found in this archive to your Symphonyextensions
folder. - Enable it by selecting
Image upload
underSystem -> Extensions
, choose Enable from the with-selected menu, then click Apply. - You can now add
Image upload
field to your sections.