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.
I think it would be nice to have formatter for image field types in this module. It can live as a part of main module or as a submodule.
There is a sandbox project that implements image formatter for jCarousel and , that adds support for media's "Multimedia asset" fields. It would be nice to merge this into jCarousel.
Comment | File | Size | Author |
---|---|---|---|
#13 | add_jcarousel_field_formatter-1151604-13.patch | 12.47 KB | broon |
#12 | add_jcarousel_field_formatter-1151604-12.patch | 11.93 KB | Hydra |
#8 | add_jcarousel_field_formatter-1151604-8.patch | 11.94 KB | Hydra |
Comments
Comment #1
slashrsm CreditAttribution: slashrsm commentedTypo. Link to mentioned patch:
#1151592: Support for media's "Multimedia asset" fields
Comment #2
Primsi CreditAttribution: Primsi commentedWas going to propose the same thing. So +1 to this.
Comment #3
quicksketchI agree this would be a great thing to include as part of the module for "easy-as-pie" carousels of images within a single node. I'm not so certain about including Colorbox and Lightbox integrations (which is built-into the referenced sandbox project)... but the module overall looks like a great starting point.
Comment #4
pitxels CreditAttribution: pitxels commented+1 :)
Comment #5
andypost+1 yes, really useful sandbox, also it lacks some options #1295232: Options
Comment #6
rogical CreditAttribution: rogical commentedVery much need, like as views slideshow provides both for views and field formater.
Comment #7
andypostThere's a project http://drupal.org/project/field_slideshow could be used as alternative
Comment #8
Hydra CreditAttribution: Hydra commentedJust recognized, that I did a patch on this a while ago. It's a simple fieldformatter, wich should offer all settings available. Additional it integrates colorbox as image link setting.
Comment #9
Hydra CreditAttribution: Hydra commentedStatus update, sry
Comment #10
jonhattanNice work Hydra! The patch provide all options one could want.
I've found a warning while using it:
Deprecated function: Call-time pass-by-reference has been deprecated in drupal_load() (line 1128 of includes/bootstrap.inc).
Comment #11
jonhattanThe reported warning is gone fixing this two things:
& here is wrong.
& again.
Comment #12
Hydra CreditAttribution: Hydra commentedYeah, right... I had no warnings, so I didn't realized the little paste issue, thanks!
Patch should fix it
Comment #13
broonThanks a lot, Hydra!
Patch applied to 7.x-2.6 works like a charm.
The only thing I am missing is the option to link the image not only to "Content" or "File" but also to use e.g. "Lighbox2".
Peeking into the patch, I see you already supported colorbox, so I added a way to include lightbox2 as well. However, I didn't create a settings section for lightbox2 since I am not really experienced with that module.
Comment #14
andypostNot sure that it's related to JS.
Also doc-block needs formatting according http://drupal.org/coding-standards details http://drupal.org/node/1354#functions
Please do not use markup in summary