Hi All,
I'd like to use this module with the Custom Formatters module, however I'm not having any success with getting the imagecache token to show (at all) within a customer formatter.
For instance, I have the following formatter that builds a video player:
<div class="flowplayer" data-native_fullscreen="true">
<video poster="[node:field_video_thumbnail:video]">
<source type="video/mp4" src="[node:field_video_file]">
<track src="[node:field_video_subtitles]">
</video>
</div>
[node:field_video_thumbnail] works, however any combination of the imagefield token with the imagecache token produces nothing... no errors to speak of either, it just doesn't render.
Any help would be greatly appreciated.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fix-custom-formatters-2490098-3.patch | 587 bytes | _KurT_ |
Comments
Comment #1
damienmckennaIn the example above, what is the "video" in "[node:field_video_thumbnail:video]" supposed to represent?
Comment #2
ydahi"video" in that specific example is an image style name (i.e like "medium"). The style itself is a basic scale and crop to 1280x720.
I've tried other image styles as well to no effect.
Any help would be greatly appreciated.
Comment #3
_KurT_ commentedFound the same problem, don't know where problem starts but i was able to fix it with this patch.
Comment #4
_KurT_ commentedComment #5
_KurT_ commentedComment #6
monstrfolk commented@_KurT_ it looks like the problem starts in the custom formatters module by looking at the fix you created. Can you confirm that the custom formatters module stores the uri as
$field['file']->uri?Comment #7
chris matthews commented@_KurT_, can you confirm that the Custom Formatters module stores the uri as $field['file']->uri?