Absolute beginner! No visible picture!
Posted: 2006-12-28T15:18:09-07:00
I'm an absolute beginner to Imagemagick and I have tried to get basic functions to work for days. Please, someone, give me a hand with pure basic knowledge.
This is the problem:
how do I write code to get a picture visible on my browser?
For an exemple, I build a first PHP-page, named test1.php contaning the following code:
then a second page namned test2.php with this code:
then I upload these pages to my webhotel (that is configured with imageMagick version "convert" 6.0.7 08/28/06 Q16) and surf to the page test2.php and nothing happens, the webpage says "My testpicture" and a broken img-link and nothing more.
This is most probably a pure really really beginners problem, but ⦠it drives me totaly nuts. I have surf the web for several hours to find the answer to this beginner question, but can only find more complex questions and answers â so please, someone help me!!
Regards
Niklas
This is the problem:
how do I write code to get a picture visible on my browser?
For an exemple, I build a first PHP-page, named test1.php contaning the following code:
Code: Select all
<?php
system("/usr/bin/convert images/00001022.jpg -resize 50% output.jpg");
?>
Code: Select all
<?php
echo"My testpicture <img src=\"test1.php\">";
?>
This is most probably a pure really really beginners problem, but ⦠it drives me totaly nuts. I have surf the web for several hours to find the answer to this beginner question, but can only find more complex questions and answers â so please, someone help me!!
Regards
Niklas