Skip to content

Commit

Permalink
Trimming root folder from image link in list display
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed Apr 28, 2014
1 parent 669618c commit f883db6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/fabrik_element/image/image.php
Expand Up @@ -171,6 +171,7 @@ public function renderListData($data, stdClass &$thisRow)
else
{
$data[$i] = JString::ltrim($data[$i], '/');
$data[$i] = FabrikString::ltrimword($data[$i], $selectImage_root_folder);
$src = COM_FABRIK_LIVESITE . $selectImage_root_folder . $data[$i];
}

Expand Down

0 comments on commit f883db6

Please sign in to comment.