Az ImageField 6.x-3.0-alpha2 modult próbálgatom, de sehogy se akar megjelnni a kép a alt és title tulajdonsága.
Volt valakinek hasonló hibája ?
Eredeti kiiratás:
function theme_imagefield_image($file, $alt = '', $title = '', $attributes = null, $getsize = true) { $file = (array)$file; if (!is_file($file['filepath'])) { return '<!-- file not found: '. $file['filepath'] .' -->'; } $image_attributes = array(); if (!$getsize || (list($width, $height, $type, $image_attributes) = @getimagesize($file['filepath']))) { $attributes = drupal_attributes($attributes); $alt = empty($alt) ? $file['alt'] : $alt; $title = empty($title) ? $file['title'] : $title; $url = file_create_url($file['filepath']); return '<img src="'. check_url($url) .'" alt="'. check_plain($alt) .'" title="'. check_plain($title) .'" '. $image_attributes . $attributes .' />'; } return '<!-- could not get imagesize, possibly corrupt or non image. '. $file['filepath'] .' -->'; }
Fórum: