Code Snippet: Hiding Images on Article Page
This comes into play when you upload a video to an Article Page, and want to tease the video on your home or section pages (especially useful in the Spotlight Element).
Step 1: Create an Article with a Video Element.
Step 2: Upload a related image to the Article under the "Main Image" area.
Step 3: Insert the following code snippet into an HTML Element on the article page:
That's it! Now you can paste the Article into a Spotlight Element or Teaser and the associated image will be automatically pulled in to the element. You can check out this method live on the Daily Reveille.