Filter images uploaded through page builder

Srikrishna Podduturi asked on July 17, 2019 14:09

Hi,

Our website has products listing for different states. We are creating a single website for all states. The home page consist of same page design but the content would be different for each state and this should be done through Kentico page builder so that Marketing team can edit the content. For example, we have banner image in the same position but image would be different for each state.

Could you please advise if there is any possibility to upload all banner images of each state via page builder and then filter them in the html page and then display the banner image only particular to the state selected by user.

Thanks, Krishna.

Recent Answers


Roman Hutnyk answered on July 17, 2019 16:08

So you need to store images per each state and associate them with states somehow and I think multiple options to implement it.

For example create page type (State-Banner) that will hold an image and state name and/or abbreviation and create appropriate page for each state and place them all into some folder in content tree, so editors could navigate it in content tree and update through Form tab.

Or you could name images with state name or abbreviation and upload them to media library again into some folder dedicated to banners.

I believe there are other options as well.

Also in both suggested approaches I'd recommend to keep default banner in case some state get 'lost' or someone unintentionally removes an image.

0 votesVote for this answer Mark as a Correct answer

Srikrishna Podduturi answered on July 18, 2019 03:58

Thanks Roman Hutnyk :)

We don't have a single banner image. We have other elements also (Image, Text, Video) which would differ by state. These elements will be added by non technical team through page builder. So, is there any option to have state name while uploading images, text, sections through page builder? If not i will have to create separate pages for each state.

Thanks, Krishna,

0 votesVote for this answer Mark as a Correct answer

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