Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Latest commit

 

History

History
executable file
·
47 lines (27 loc) · 1.36 KB

File metadata and controls

executable file
·
47 lines (27 loc) · 1.36 KB

PyroCMS-Multiple-Images-FieldType

Add multiple images to your streams using a very nice html5 file uploader plupload

Team

Jose Luis Fonseca

Rigo B Castro

Installation

  1. Download the zip package
  2. Create a folder under addons/shared_addons/field_types/ and name it multiple_images
  3. Copy and paste the zip content.

That's it!

Usage

Drop or select images from your PC, they will be uploaded and related to the entry, once you are ready to use them in your front end do

{{field_slug}}
	{{img}}
{{/field_slug}}

Important Note

Do not use a folder to upload the images that already has files, the field type WILL DELETE any file in the folder that does not belong to the fieldtype itselt. This was done this way to keep the folder clean when images are uploaded but not saved. This method is in review for the next release.

Properties

The field type has the following properties when you set it up:

Images Folder: Since it uses the files module, you must select a folder to upload the images

Max Images: By default it will be 5, you can change this to the number of images you want to limit.