473,467 Members | 1,549 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem with image in $pdf->Cell() function of FPDF

28 New Member
how do i add jpg images into a Cell in pdf . The cells are created by $pdf->Cell function.I never getting the images inside the cell . I am using $pdf->Image() function to display the image.
Jan 20 '07 #1
3 14428
ronverdonk
4,258 Recognized Expert Specialist
Since I have no idea what class you are talking about, you ought to give some more information on the background. What class or package are you using?

Ronald :cool:
Jan 20 '07 #2
syam
28 New Member
I am using FPDF calss for the creation of the pdf file .
In my pdf page i am using $pdf = new FPDF();
and $pdf->Cell(); And i am getting the cells weel. But i can't add jpeg/jpg images to those cells. Pls..help me..
Jan 22 '07 #3
ronverdonk
4,258 Recognized Expert Specialist
You have to use $pdf->Image to put an image in the document.
Expand|Select|Wrap|Line Numbers
  1. Image(string file, float x, float y [, float w [, float h [, string type [, mixed link]]]]) 
See the FPDF documentation at http://www.fpdf.org/?lang=en

Ronald :cool:
Jan 22 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Ruby Tuesday | last post by:
How do I find the information about an image, e.g. its dimension, whether it's jpg, tiff, bmp, gif, etc using the native PHP function? I know that we can do it by using the imagemagick, but...
4
by: Phillip T. Murphy | last post by:
Not sure if this is the correct forum, but since FPDF is a PHP script, I thought I would give it a try... I am having a problem getting ANYTHING to print in a header using the FPDF functions. I...
0
by: papigreg | last post by:
Hi, I have made a Windows Forms .Net Project in C++. I use the Philips Speech SDK to make voice recognition on WAV files. In the recognition function, I must pass a pointer of a function which I...
2
by: yanlu06 | last post by:
I tried to use HTML2FPDF to generate dynamic local files and save the generated files on the server. I don't know why it gives me the following error message: " Warning:...
4
by: wjz | last post by:
Hi all, Im using PHP 4.4.2 on Windows with apache. Can anyone tell how to use funtions to create and manipulate GIF and JPEG images? Is this functionallity available in PHP and do i need to...
1
by: Amorgos | last post by:
Any advice how to start this project I will appreciate! We have a PDF form posted on our web site and we like when a user submit the complete form, data to be back to us as FDF or PDF using...
1
by: john.swilting | last post by:
I am not good in Javascript I begin I do not understand why my function does not go I post my code <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">...
4
by: chandoo | last post by:
Hi, I m newbie to the php, I copied a code and pasted it in dreamweaver and opened it in my local host. still i got these problems! Can u please rectify my probs? The Program is <?php...
0
by: kang jia | last post by:
hi currently i am using Django to create websites, i need to create one function for admin to upload images or photos of the car, since it is a car rental website. in my carForms.py, the code...
3
by: ziycon | last post by:
The below function works properly when the its called by: storeExtraImages("n","news",1); But when called by these next two line's it gets to if(move_uploaded_file($_FILES,...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.