You are here

function emthumb_thumbnail_url in Embedded Media Field 6.2

Same name and namespace in other branches
  1. 5 contrib/emthumb/emthumb.module \emthumb_thumbnail_url()
  2. 6.3 contrib/emthumb/emthumb.module \emthumb_thumbnail_url()
  3. 6 contrib/emthumb/emthumb.module \emthumb_thumbnail_url()

@legacy

File

contrib/emthumb/emthumb.module, line 698
Allows for custom thumbnail overrides to Embedded Media Field.

Code

function emthumb_thumbnail_url($item) {
  if ($item['data']['emthumb']['filepath']) {
    return file_create_url($item['data']['emthumb']['filepath']);
  }
}