Vertikální "parallax" efekt.
Další moduy:
Další řešení:
<?php //dpm($variables,"description"); $tid = $variables['id']; $term = taxonomy_term_load($tid); $uri = $term->field_image[LANGUAGE_NONE][0]['uri']; //$file_uri_real = drupal_realpath($uri); $file_uri = file_uri_target($uri); $file_path = file_create_url(file_build_uri($file_uri)); //print $file_path; ?> <div class="parallax-container" data-parallax="scroll" data-image-src="<?php print $file_path; ?>" data-natural-height="400">
Background Images Formatter | Dynamic Background | Field Group Background Image