Replies: 0
In the file URLHelper.php there is a piece of code that should get the URL to an image:
public static function file_system_to_url( $fs ) {
$relative_path = self::get_rel_path($fs);
$home = site_url('/'.$relative_path);
$home = apply_filters('timber/URLHelper/file_system_to_url', $home);
return $home;
}
This function returns the site_url('/'.$relative_path);, but that is not always the same as where the content_url() is specified.
Using version: 1.8.3