<img> tags not rendered in Drupal block Flexslider

Created on 12 December 2023, 12 months ago
Updated 5 June 2024, 6 months ago

I am running Drupal 10.1.7 with FlexSlider, FlexSlider Example, FlexSlider Fields, and FlexSlider Views Style (all version 3.0.0-alpha1). If I create a slider in a View, it displays correctly in the View Preview and on the page the view creates. However, if I embed the view as a block in the home page, the image tags do not appear in the slider code, which obviously makes the slider invisible. There are no errors, javascript or otherwise. Any help will be appreciated.

๐Ÿ’ฌ Support request
Status

Active

Version

3.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States wlc13

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @wlc13
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States wlc13
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States wlc13
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States caspervoogt

    I ran into this and in my case simply deleting the flexslider module folder and running "composer install" at my project root solved it. Happens to me sometimes on some servers.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States rosendo.fig Phoenix, Arizona

    I am having the same issue with Drupal 10.2.5. with FlexSlider, FlexSlider Fields, and Flexslider Views Style (all v3.0.0-alpha1). The issue is not that the images are not present on the server, but that the HTML code for the pages donโ€™t show the HTML code that references the images. And there are no errors of any kind; Drupal and Google Chrome are behaving as if everything is working as expected. I have spent a lot of time troubleshooting with our hosting provider; since there's nothing specific coming up that suggests there's a bug or an issue.

    Here's our conclusion: what's likely happening is that someone visits a different page on our live site, and that page causes something bad to be written to Drupal's internal caches, and that corrupts the slideshow somehow for subsequent page loads.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States rosendo.fig Phoenix, Arizona

    I am having the same issue with Drupal 10.2.5. with FlexSlider, FlexSlider Fields, and Flexslider Views Style (all v3.0.0-alpha1). The issue is not that the images are not present on the server, but that the HTML code for the pages donโ€™t show the HTML code that references the images. And there are no errors of any kind; Drupal and Google Chrome are behaving as if everything is working as expected. I have spent a lot of time troubleshooting with our hosting provider; since there's nothing specific coming up that suggests there's a bug or an issue.

    Here's our conclusion: what's likely happening is that someone visits a different page on our live site, and that page causes something bad to be written to Drupal's internal caches, and that corrupts the slideshow somehow for subsequent page loads.

    The temporary fix: Flush All Caches and the slideshow works again. Until something bad is written to Drupal's internal caches, and it corrupts the slideshow again.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia ravi kant Jaipur

    @rosendo.fig
    The issue is not replicating for me. Attaching a short clip.

    As your comment, i am assuming that JS is not refreshing

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States SocialNicheGuru

    I am getting this too in a block.
    the preview is fine.
    when I place a block on a page and allow authenticated users access, it is fine.
    but when it is anonymous, nothing shows up:
    <div class="hero-slide-show view view-cci-slideshow view-id-cci_slideshow view-display-id-block_1 js-view-dom-id-92b236c0a42202ec684c918f60a908e87d2493f63cf0166c52e096023daa21b2"> </div>

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States SocialNicheGuru

    So if I enable the flexslider_example module and create a block there.
    If I have a paragraph and reference media from within the paragraph. I can make a block that appears.
    Now if I have a content type that then has a paragraph that then has media, the media does not render in the block.

Production build 0.71.5 2024