I followed tutorial 2 and uploaded a photo of Einstein but I can't see it on the public site. The DIV is just empty <div class="staffphoto"></div>
In CMS view I can see it (in the article and in the asset folder).
The only change I made is to rename photo to Foto.
In StaffPage.ss
$Foto.SetWidth(150)
In StaffPage.php
static $has_one = array(
'Foto' => 'Image'
);
… and
$fields->addFieldToTab("Root.Content.Bilder", new ImageField('Foto'));
I flushed the pages more than once, but no image. Neither in the staff holder page nor in the staff page.