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.

CommentFileSizeAuthor
#3 fix-custom-formatters-2490098-3.patch587 bytes_KurT_

Comments

damienmckenna’s picture

Component: Code » Documentation
Category: Bug report » Support request

In the example above, what is the "video" in "[node:field_video_thumbnail:video]" supposed to represent?

ydahi’s picture

"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.

_KurT_’s picture

StatusFileSize
new587 bytes

Found the same problem, don't know where problem starts but i was able to fix it with this patch.

_KurT_’s picture

Status: Active » Needs review
_KurT_’s picture

Component: Documentation » Code
Category: Support request » Bug report
monstrfolk’s picture

@_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?

chris matthews’s picture

Status: Needs review » Postponed (maintainer needs more info)

@_KurT_, can you confirm that the Custom Formatters module stores the uri as $field['file']->uri?