<img src="<br /> <b>Warning</b>: file_get_contents(/home/psww137927/domains/hosteltralalasalento.com/public_html/Lighthouse.jpg) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory in <b>/home/psww137927/domains/hosteltralalasalento.com/public_html/core/model/phpthumb/phpthumb.class.php</b> on line <b>3210</b><br /> " alt="vuurtoren" /> <p class="flex-caption">vuurtoren</p>
This question has been answered by Bruno17. See the first response.
are you using getImageList or another snippet to show the images?
1
2
3
4
5
6
7
8
$input = $modx->fromJSON($input);
$output = array();
if (!$input || empty($tpl)) return 'no stuff';
foreach ($input as $row) {
if (isset($set) && !empty($set) && ($set != $row['set'])) continue;
$output[] = $modx->getChunk($tpl, $row);
}
return implode("\n", $output);I think Mark's snippet doesn't know anything about the mediasource used by your image-field and you may need to build the image-path by yourself in the tpl.
<li> <img src="[[+image:phpthumbof=`w=323&h=234&zc=1`]]" alt="[[+description:htmlentities]]" /> <p class="flex-caption">[[+description]]</p> </li>
/home/psww137927/domains/hosteltralalasalento.com/public_html/assets/images/uploads
[[+image: phpthumboff....
[[+image:add_before=`assets/images/uploads/`:phpthumbof=`w=300&h=300&zc=1`]]
<?php return $options.$input;