Skip to content

Commit 98fdbb4

Browse files
authored
fix (applyEffects): use public path on frames
1 parent d3e07df commit 98fdbb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/applyEffects.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@
116116
if (!$vars['isChroma']) {
117117
if ($vars['isCollage'] && $vars['fileName'] != $vars['singleImageFile']) {
118118
$vars['editSingleCollage'] = true;
119-
$imageHandler->framePath = $config['collage']['take_frame'] === 'always' ? $config['collage']['frame'] : $config['picture']['frame'];
119+
$imageHandler->framePath = $config['collage']['take_frame'] === 'always' ? PathUtility::getPublicPath($config['collage']['frame'], true) : PathUtility::getPublicPath($config['picture']['frame'], true);
120120
} else {
121121
$vars['editSingleCollage'] = false;
122-
$imageHandler->framePath = $config['picture']['frame'];
122+
$imageHandler->framePath = PathUtility::getPublicPath($config['picture']['frame'], true);
123123
}
124124

125125
if (!$vars['isCollage'] || $vars['editSingleCollage']) {

0 commit comments

Comments
 (0)