Fix image field access
This commit is contained in:
parent
2ff0db4906
commit
0cdefb0fe1
3 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
|||
// license: http://www.gnu.org/licenses/gpl-3.0.txt GPLv3 License
|
||||
// -------------------------------------------
|
||||
|
||||
$img = $page->images()->find($page->featurette_img());
|
||||
$img = $page->featurette_img()->toFile();
|
||||
|
||||
snippet('base/html-head');
|
||||
snippet('base/cont-header');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue