# meow-gallery/4.2.0/classes/builders/raw.php

Meow Gallery, version 4.2.0. 30 lines.

- Page: https://pluginprobe.com/plugins/meow-gallery/4.2.0/code/classes/builders/raw.php
- Raw: https://pluginprobe.com/plugins/meow-gallery/4.2.0/raw/classes/builders/raw.php
- Modified: 2021-02-06T03:55:04+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/meow-gallery/4.2.0/code/classes/builders/raw.php#L10-L20`.

```php
<?php

class Meow_MGL_Builders_Raw extends Meow_MGL_Builders_Core {

	public function __construct( $atts, $infinite, $isPreview = false ) {
		parent::__construct( $atts, $infinite, $isPreview );
		$this->layout = 'raw';
	}

	function inline_css() {
		return null;
	}

	function build_inline_attributes( $id, $data ) {
		if ( isset( $data['meta'] ) && isset( $data['meta']['width'] ) && isset( $data['meta']['height'] ) ) {
			return ' data-mgl-id="' . $id . '" data-mgl-width="' . $data['meta']['width'] . '" data-mgl-height="' . 
				$data['meta']['height'] . '"';
		}
		return null;
	}

	function build_next_cell( $id, $data ) {
		$html = parent::build_next_cell( $id, $data );
		return $html;
	}

}

?>

```
