I load my gallery using Choronoforms5 with display Message, that include an array of all my images from dataBase. I use the next constraction:
The problem is that some images provide 503 error. DOM is perfect, so I think the problem is in big message text, that cause multiple server requests. Is it possible to load on page separated massages with some cycle? Maybe there is some other way to prevent the errors?
<?php
$results = array();
foreach ($form->data['images'] as $v ) {
$results[] = $v['imgData'];
}
krsort($results);
$form->data['result'] = implode($results);
?>
and {result} in massage text.
The problem is that some images provide 503 error. DOM is perfect, so I think the problem is in big message text, that cause multiple server requests. Is it possible to load on page separated massages with some cycle? Maybe there is some other way to prevent the errors?