Project Gallery
Project Photos
php
$block_id = 'block_kr2013whb';
$gallery_images = [
[
'src' = 'https://orlpower.com/wp-content/uploads/2026/01/imgi_17_1650434433.jpg',
'alt' => 'Metallurgical waste heat boiler dual-unit 80 t/h WHB + 90 t/h DOB – Korea (2013)',
'title' => 'Metallurgical WHB & DOB Overview'
],
[
'src' => 'https://orlpower.com/wp-content/uploads/2026/01/imgi_18_1650435102.jpg',
'alt' => 'Factory production of EN-compliant waste heat boiler components – Korea (2013)',
'title' => 'Manufacturing Process'
],
[
'src' => 'https://orlpower.com/wp-content/uploads/2026/01/imgi_19_1650435109.jpg',
'alt' => 'Heat exchanger assemblies for metallurgical waste heat recovery – Korea (2013)',
'title' => 'Heat Exchanger Assembly'
],
[
'src' => 'https://orlpower.com/wp-content/uploads/2026/01/imgi_20_1650435116.jpg',
'alt' => 'System integration of WHB and DOB – metallurgical waste heat boiler – Korea (2013)',
'title' => 'WHB & DOB System Integration'
],
[
'src' => 'https://orlpower.com/wp-content/uploads/2026/01/imgi_21_1650435122.jpg',
'alt' => 'Inspection and testing for EN standard compliance – Korea (2013)',
'title' => 'EN Compliance Inspection'
],
[
'src' => 'https://orlpower.com/wp-content/uploads/2026/01/imgi_22_1650435130.jpg',
'alt' => 'Export packaging for Korea shipment – metallurgical waste heat boiler (2013)',
'title' => 'Export Packaging'
],
[
'src' => 'https://orlpower.com/wp-content/uploads/2026/01/imgi_23_1650435156.jpg',
'alt' => 'On-site installation – metallurgical waste heat boiler dual-system – Korea (2013)',
'title' => 'On-Site Installation'
],
[
'src' => 'https://orlpower.com/wp-content/uploads/2026/01/imgi_24_1650435166.jpg',
'alt' => 'Commissioning and performance validation – metallurgical waste heat recovery – Korea (2013)',
'title' => 'Commissioning & Validation'
],
];
if (isset($HTMX_BLOCK_ID) && $HTMX_BLOCK_ID === $block_id) {
$action = $_GET['action'] ?? '';
if ($action === 'modal') {
$image_index = intval($_GET['index'] ?? 0);
$current_image = $gallery_images[$image_index] ?? $gallery_images[0];
$total_images = count($gallery_images);
$modal_html = <<
HTML;
hx_response($modal_html);
}
if ($action === 'navigate') {
$direction = $_GET['direction'] ?? 'next';
$current_index = intval($_GET['current'] ?? 0);
$total_images = count($gallery_images);
$new_index = $direction === 'next'
? ($current_index + 1) % $total_images
: ($current_index - 1 + $total_images) % $total_images;
$current_image = $gallery_images[$new_index];
$modal_html = <<
Нажмите на любое изображение, чтобы посмотреть в полном размере · = count($gallery_images) ? изображений в галерее
php endif; ?