# wp-optimize/3.2.22/templates/images/smush-details.php

WP-Optimize – Cache, Compress images, Minify &amp; Clean database to boost page speed &amp; performance, version 3.2.22. 27 lines.

- Page: https://pluginprobe.com/plugins/wp-optimize/3.2.22/code/templates/images/smush-details.php
- Raw: https://pluginprobe.com/plugins/wp-optimize/3.2.22/raw/templates/images/smush-details.php
- Modified: 2023-09-18T13:50:58+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/wp-optimize/3.2.22/code/templates/images/smush-details.php#L10-L20`.

```php
<?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?>
<a class="wpo-collapsible"><?php esc_html_e('More', 'wp-optimize'); ?></a>
<div class="wpo-collapsible-content">
	<table class="smush-details">
		<thead>
			<tr>
				<th><?php esc_html_e('Size name', 'wp-optimize'); ?></th>
				<th><?php esc_html_e('Original', 'wp-optimize'); ?></th>
				<th><?php esc_html_e('Compressed', 'wp-optimize'); ?></th>
				<th></th>
			</tr>
		</thead>
		<tbody>
			<?php foreach ($sizes_info as $size => $info) {
				$saved = round((($info['original'] - $info['compressed']) / $info['original'] * 100), 2);
			?>
				<tr>
					<td><?php echo esc_html($size); ?></td>
					<td><?php echo esc_html(WP_Optimize()->format_size($info['original'], 1)); ?></td>
					<td><?php echo esc_html(WP_Optimize()->format_size($info['compressed'], 1)); ?></td>
					<td><?php echo esc_html($saved); ?>%</td>
				</tr>    
			<?php } ?>
		</tbody>
	</table>
</div>

```
