Helper::image_preloader( string $size = 'small', string $class = "cvm-preload", bool $echo = true )

Output an image preloader




Default value: 'small'



Default value: "cvm-preload"



Default value: true




File: includes/libs/themes/helper.class.php

	public static function image_preloader( $size = 'small', $class="cvm-preload", $echo = true ){

		$img_url = self::get_thumbnail_url( $size );

		$blank = VIMEOTHEQUE_URL . '/assets/front-end/images/blank.png';

		if( $img_url ){
			$output = sprintf(
				'<img data-src="%s" alt="" src="%s" class="%s" />',
			$output = '';

		if( $echo ){
			echo $output;

		return $output;

Start your video site now!

Manage and coordinate your Vimeo channels, albums or videos with your WordPress website. Perfect fit for membership, portfolio, online courses or any type of video collection.

Get Vimeotheque PRO!