Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- allow_url_fopen = On;
- allow_url_include = On;
- curl -v http://www.example.com/image.jpg
- Allow from 123.45.6.7.8
- $pdf->Image($base_url.'/'.$node->field_loc_images[0]['filepath'] ,30, 40, 75, 113, 'JPG', '', '', true, 300, '');
- // set font
- $fontname = $pdf->addTTFfont('../your path here/sampletruetype.ttf', 'TrueTypeUnicode', '', 32);
- $pdf->SetFont($fontname, '', <font size value here>);
- foreach($node->field_loc_images as $key=> $s)
- {
- $pdf->Image($base_url.'/'.$s['filepath'], $x, $y, $w, $h, 'JPG', '', '', false, 300, '', false, false, 0, $fitbox, false, false);
- }
- $img = getcwd().'/web/bundles/_bundlename_/img/logo.png';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement