# themify-builder/7.7.3/modules/module-image.php

Themify Builder, version 7.7.3. 55 lines.

- Page: https://pluginprobe.com/plugins/themify-builder/7.7.3/code/modules/module-image.php
- Raw: https://pluginprobe.com/plugins/themify-builder/7.7.3/raw/modules/module-image.php
- Modified: 2026-05-23T07:50:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/themify-builder/7.7.3/code/modules/module-image.php#L10-L20`.

```php
<?php
defined('ABSPATH') || exit;

/**
 * Module Name: Image
 * Description: Display Image content
 */
class TB_Image_Module extends Themify_Builder_Component_Module {

    public static function get_module_name():string {
        return __('Image', 'themify');
    }

    public static function get_js_css():array {
        return array(
            'css' => 1
        );
    }

    /**
     * Backward Compatibility methods
     */
    public function __construct() {
        parent::__construct('image');
    }

    public function get_name() {
        return self::get_module_name();
    }

    function get_assets() {
        return self::get_js_css();
    }

    public static function get_styling_image_fields() : array {
        return [
            'background_image' => ''
        ];
    }

	public static function get_translatable_text_fields( $module ) : array {
		return [ 'mod_title_image', 'title_image', 'alt_image' ];
	}

	public static function get_translatable_textarea_fields( $module ) : array {
		return [ 'caption_image' ];
	}

	public static function get_translatable_link_fields( $module ) : array {
		return [ 'url_image', 'link_image' ];
	}
}

new TB_Image_Module();//backward for builder-pro

```
