Howdy. I need a little help. I have an index.php page with a .jpg. When you click the image, you go to a new page with the same image. It works fine. index.php Code <a href="http://www.domain.com/view.php?n=an_image.jpg</a Code (markup): view.php Code <?php include("header.php"); $pic = ($_GET['n']); echo '<img src="' . $pic. '" />'; include("footer.php"); ?> Code (markup): The problem is I want to include an image resizer (http://shiftingpixel.com/2008/03/03/smart-image-resizer/) and resize the image on the new page automatically. I have no idea how to do this. The code for the resizer is:- <img src="/image.php/coffee-bean.jpg?width=150&height=150&cropratio=1:1&image=/wp-content/uploads/2008/03/coffee-bean.jpg" alt="Coffee Bean" /> Code (markup): I tried this: <a href="http://www.domain.co/view.php?n=/image.php/new_image.jpg?width=150&height=150&cropratio=1:1&image=an_image.jpg</a Code (markup): I also tried putting it in the view.php. echo '<img src="image.php' . $pic. '?width=659&height=1200&image=/" />'; Code (markup): Any ideas?
Nevermind. I solved it. <img src="http://www.domain.com/image.php<?php echo $_GET['n']; ?>?width=300&height=300&image=<?php echo $_GET['n']; ?>"/> Code (markup):