How to create custom file upload


#1

i want to upload and show images in home page like the one in add new product page, any idea and suggestions


#2

Hi,
I guess the easiest thing would be to copy over the code from the product page and start from there modding it to your needs:

Client

Server

CollectionFS configuration


#3

@prinzdezibel
but as per reaction call on 21.feb.2018, reaction planned to remove collectionFS and changing to reacion-file-collection. so can i use the above give collectionFS


#4

Couldn’t you directly fetch the Products collection as per your need and the media collection alongside in the home page template helper?


#5

@mavais
actually i created brand new collection named banners
i want admin to upload banners which will be displayed as carousals at landing page.
now i am in confusion implementing upload procedure. as collectionFS going to be replaced with reaction-file-collection


#6

I guess Brent wrote some plugin to upload. He mentioned about it in the last community call. You should check with him once on gitter


#7

@mavais
i will check with him, thanks for the info


#8

Nice guidance buddy @prinzdezibel. Thank you!