Watermark issue only online - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: Watermark issue only online (/showthread.php?tid=87578) |
Watermark issue only online - gabor0089 - 05-06-2023 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? |