Streaming live at 10am (PST)

Ghost / Blank Slides When Using CMS Dynamic Images and Inputs


#1

I know a lot of you have had the problem of ghost slides appearing when creating product pages with Image Slideshows based on image input fields in the CMS. This problem occurs when you have more slides in the slide show than set image fields. Here's your solution:

  1. Create a slider with as you have image fields as you have created in the CMS.
  2. Set each slide with the image you want to display from your dynamic field.
  3. Set a conditions to show those slides if that image is set.
  4. Duplicate that slider as many times as you have Image fields.
  5. Set each slide show to be conditionally visible if images are set and not set.
    *Example:
    Total Image fields in collection: 4
    Slider 1: Has 1 Image & 1 Slide - Conditions: Image 1 is set, Image 2 is not set, Image 3 is not set, Image 4 is not set.
    Slider 2: Has 2 Images & 2 Slides - Conditions: Image 1 is set, Image 2 is set, Image 3 is not set, Image 4 is not set.
    Slider 3: Has 3 Images & 3 Slides - Conditions: Image 1 is set, Image 2 is set, Image 3 is set, Image 4 is not set.
    Slider 4: Has 4 Images & 4 Slides - Conditions: Image 1 is set, Image 2 is set, Image 3 is set, Image 4 is set.

This will allow you to display the slider with the correct number of slides for the images you have set, without ghost/blank slides.

Cheers!
:wink:

Aaron Pratt


Here is my public share link: LINK
(how to access public share link)


Conditional visibility not working on slide
#2

Hi Pratt,

I cannot find an option to set the condition for a slide. It is possible to set a condition for elements in a slide, but not for the slide itself.

Did I miss something?

Harald


#3

This solved the problem!
Thanks :slight_smile:


#4

Thanks for the tip… pretty clever! Just a note for others that if you have more than 20 collection list items this trick won’t work.