Welcome Guest, Not a member yet? Register   Sign In
Watermark issue only online
#1

Hi!
I have a program in Codegniter 3, which is put a text on to an image. Making watermark. It works on my computer with localhost, but when I upload it to the server, the watermark text does not appear. There are no error messages.
I figured out, if I comment this line:

$config['wm_font_path'] = './system/fonts/montserrat.ttf';

The program works well,  but it loads the default font-type.
With uncomment that line, the text does not appear, and as I said there is no error message. On localhost I use this font path: $config['wm_font_path'] = 'C:\wamp64\www\myproject\system\fonts\montserrat.ttf';
A couple weeks ago it worked perfectly. Maybe the host has some issues with reach the correct font type?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB