kentico12 in widget need to add image upload control

innovix solutions asked on February 4, 2019 07:36

Hi All,

we would like to have an image upload control in kentico 12 MVC widiget for user to upload image and preview similar like we can do in portal engine.?

Recent Answers


Ilesh Mistry answered on February 4, 2019 08:21 (last edited on February 4, 2019 08:29)

I would look at the Kentico’s Dancing Goat image upload widget they have provided as a first pass to see if it delivers what you need.

You can get this via the Kentico site - trial Kentico 12

They have an inline widget that does this.

If this is not what you require then there are other custom options available online.

A simple version is shown here - upload image and preview

Then it’s important to write the functionality to save this uploaded image.

0 votesVote for this answer Mark as a Correct answer

innovix solutions answered on February 4, 2019 08:31

Hi Mistry, Thanks for the reply. This is portal engine development or MVC approach development?

We saw only a few controls are available or MVC developement as per below.

https://docs.kentico.com/k12/developing-websites/form-builder-development/reference-system-form-components

Please let me know your opinion.

0 votesVote for this answer Mark as a Correct answer

Ilesh Mistry answered on February 4, 2019 11:13

For the MVC development approach. If you go to the homepage, you will see within the Page tab (Page Builder), the top hero is a first pass as an image upload widget. Hopefully you can use this as a starter to go forwards. Can you see this within your trial version?

0 votesVote for this answer Mark as a Correct answer

innovix solutions answered on February 4, 2019 15:20 (last edited on February 4, 2019 15:20)

Hi Mistry,

Hero banner upload requirement as below. 1. Sort-able. 2. need to upload both mobile and desktop photos for responsive purpose. 3. Limit the numbers of photo upload. 4. Need to store in media library.

I didn't see sample widget can do such things yet.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.