Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Trying to render an image field using Flexslider. The image filed carries 1-10 images.
My images are located here >>
/sites/default/files/
The slider shows up with missing images. When I right click to go to the image path, I get
Error generating image
The path for the missing images is
?q=sites/default/files/styles/flexslider_full/public/
Any help would be appreciated.
Comments
Comment #1
jesser80 CreditAttribution: jesser80 commentedI would love to know about this too. I'm getting a similar error, though not in reference to this module.
Comment #2
jesser80 CreditAttribution: jesser80 commentedMy issue was fixed by changing the permissions on the files/styles directory to "others" having write permissions.
Comment #3
marcoka CreditAttribution: marcoka commentedComment #5
lzimmerman CreditAttribution: lzimmerman commentedVery large images sometimes also failed to pull into Flexslider for me, and I noted an "error generating..." error. Resizing these allowed them to display.
Comment #6
sagedread CreditAttribution: sagedread commentedBe sure to install PHP GD extension. This solved the problem for me.
Comment #7
PoidsTotal CreditAttribution: PoidsTotal commentedI had this issue too, the thumbnail couldn't display correctly in the edit page, but the image display fine on frontend. fixed by giving change permission to files/styles to 777
Comment #8
samaphpCheck Status report (/admin/reports/status) and fix any red warnings sometimes it will lead you to fix the problem.
Comment #9
EliasPapa CreditAttribution: EliasPapa as a volunteer commentedHad this issue when pulling the site locally from git on Drupal 8.7.3. All I needed to do was delete everything within the /sites/default/files/styles folder. These get automatically regenerated when you visit pages using these media styles and that should fix the problem.