Active
Project:
Audio
Version:
6.x-1.0-unstable5
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2006 at 06:59 UTC
Updated:
28 Oct 2009 at 00:05 UTC
Would it be possible to get the album art to show up in the teaser, like the video module? Right now I'm using image_attach to upload a duplicate image of the album art, and deleting the original. It would be great if I could just use the integrated album art!
Comments
Comment #1
drewish commentedi'd like to add support for that but in the mean time you could probably do it with your own theme function. i haven't tested this but it's basically a mash up of the theme_audio_teaser() and theme_audio_display() functions.
Comment #2
CosmicVoyager commentedThanks, that worked, except
audio_images_get($audio_images)should beaudio_images_get($node->audio_images).Comment #3
drewish commentedi've added this to a handbook page
Comment #4
(not verified) commentedComment #5
kevinbroome commentedi've added the code from the handbook to /themes/mytheme/template.php
but the album art doesn't appear in the teaser.. is there anything else i need to do?
(sorry but i'm a bit of a beginner on drupal hacks/mods)
Comment #6
rajaito commentedI am looking to do this for Drupal 6.
Any advice?
Comment #7
CinemaSaville commentedSubscribing
Comment #8
riskyfuel commentedI posted this in a related thread:
http://drupal.org/node/113073
For the 6.x version, just add a line for the image token in the formatted file info section near line 1353 of audio.module.
Then add the [audio-image] token into the Teaser settings in the Audio Settings admin section.
Comment #9
CinemaSaville commentedThanks, that worked well. Now how would I style it so the image appears underneath the other 2 fields?