I'm trying to create a .doc file using php that has image inside it. The image inside it has a quite big weight and height, but i want to include it without creating a new small version image of it.
Here is my code
<?php
set_time_limit (0);
header("Content-type: application/vnd.ms-word");
header("Content-Disposition: attachment;Filename=test.doc");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<title>Hello World</title>
</head>
<body>
<img src="http://localhost/test_zip/img/jesse_what.png" style="max-width:50; width:50;max-height:50; height:50;">
</body>
</html>
How is the correct way to resize it? because the style i place in the image tags is not working.