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.
does anyone know if flexslider works with the picture module?
does anyone know if flexslider works with the picture module?
Comments
Comment #1
minorOffense CreditAttribution: minorOffense commentedI've never tried it. But since the 2.x version can use anything in the slides, I don't see why not.
The fields integration may not work, but you can probably get it to work with Views. Certainly you could do it using just the library and custom code in your theme.
If you want to report back on your efforts getting this to work I'd be glad to include some docs explaining how to use it.
Comment #2
impleri CreditAttribution: impleri commentedPicture module comes bundled with flexslider_picture that does what one may expect. It uses flexslider_fields. I have it working out of the box with flexslider 7.x-2.x-dev.
Comment #3
minorOffense CreditAttribution: minorOffense commentedOh perfect!
I'll be sure to add a link to that on the main page.
Comment #3.0
minorOffense CreditAttribution: minorOffense commentedadded link to picture module
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedHopfully this helps someone else. Yes flexslider works with picture. 2 Issues I had. First, I got it all set but images weren't working right. When I went into the Flexslider profile there it was. The image type had to be set to 'picture'. Not a big deal but I figured, incorrectly, that loading the picture module would automatically activate it.
Second, if you add breakpoints in the incorrect order (small to large) and then add in a new group for breakpoints and then add in picture mappings... then houston you have a problem. In my case localhost was fine (usually use chrome). I then added the breakpoints to production and it never worked. Since I used firefox to test production the pictures in firefox weren't resizing. I fixed the breakpoint then reordered the 'new group'. Still nothing. Turns out the picture mappings were also put in the wrong order. I had to delete the picture mapping and re-add.
Voila, once I did that it all worked.