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.
Hey there -
I'm specifically trying to set meta information to the URL of the thumbnail image.
That's pretty specific, but I feel like it might be very helpful to have token support for the thumbnails.
imagefield includes token support, and has been very helpful.
Anyone else think this would be useful?
Comment | File | Size | Author |
---|---|---|---|
#11 | emvideo.token_.inc_.txt | 2.04 KB | CoreyMoore |
Comments
Comment #1
Alex UA CreditAttribution: Alex UA commentedThis is a good idea, and something I would definitely but for now I just have two comments:
- Patches are welcome! Please patch against the 2.x-dev version, as that is the most active development branch.
- The component here is EmThumb
Comment #2
Andrew Kaufmann CreditAttribution: Andrew Kaufmann commentedWait, wait... I thought I would just ask for a feature and the community would magically implement it, using the unlimited resources of the interpipes and the faceless masses thereon.
You're suggesting I get off my duff and code myself??
Humph.
:)
I'll do a little research and see if I can figure out a good way to go about it, but as I'm sure you can relate, good intentions run high and time runs low. As such, I'll refrain from assigning to myself in case a more skilled code ninja wants to jump in, but will be looking into it timidly.
Comment #3
mardok CreditAttribution: mardok commentedsubscribe
Comment #4
marktheshark CreditAttribution: marktheshark commentedI, for one, would be interested in using a token for the node title in the default thumbnail ALT/TILE field, as a workaround for the custom ALT/TITLE fields not working at all...
The configuration page does list a number of global tokens, but no tokens having to do with the actual node.
Subscribing
Comment #5
CoreyMoore CreditAttribution: CoreyMoore commentedHas anyone taken this on yet? I believe this is a much needed feature (see: http://drupal.org/node/1146982). I have been working on this, but so far have been unsuccessful. Any help would be appreciated.
Comment #6
CoreyMoore CreditAttribution: CoreyMoore commentedI would be willing to pay if someone could do this soon.
Comment #7
CoreyMoore CreditAttribution: CoreyMoore commentedOk, I hired a developer for this. I don't know how to create a patch file, but I'll upload the inc file he sent me as well as instructions on how to add it to the module.
This doesn't produce the thumbnail outright; rather it gives you the URL of the thumbnail, which is useful if you are using this with Heartbeat and want to link the thumbnail to it's respective node. Furthermore, this adds token support for many of the other parts of the embedded video, including the title, url, provider, duration, description, etc.
Comment #8
CoreyMoore CreditAttribution: CoreyMoore commentedComment #9
vasrush CreditAttribution: vasrush commentedCan you upload the inc file too, please
This would be a great feature for me too.
Comment #10
reysharks CreditAttribution: reysharks commentedsubscribing :)
Comment #11
CoreyMoore CreditAttribution: CoreyMoore commentedWow, I feel like an ass. I thought I uploaded this a long time ago.
Just remove the .txt extension from the file.
Comment #12
dooleysarahe CreditAttribution: dooleysarahe commented@CoreyMoore - do you know where in emvideo.module that snippet should go?