I am new to PHP.
I am working on online HTML to PDF conversion work. An end user can upload the image to the form and the form can be save as a PDF version.
The problem is, I have used the css (max-width:500px) for images which in browser it looks good but while I am converting to PDF, it is not working.
So I would like to size the images, If the image size is less than 250, it will be 250 else it will be 500.
Anyone can you please help me on this.
Thanks in advance