resize an image whilst keeping proprotions correct...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

sheila
Forum Commoner
Posts: 98
Joined: Mon Sep 05, 2005 9:52 pm
Location: Texas

Post by sheila »

This is the header.php file but i cant see anything that would affect it as its more or less all html :S
Well you're going about this all wrong. You need to display an HTML page and in that page have an image link to your image script.

Code: Select all

<img src="http://www.madashatters.com/?image">
The browser will make a separate request to the server for that script. When it runs it should only send headers for the image. So in your image script take out the

Code: Select all

include ('http://www.madashatters.com/header.php');
Hope that makes sense.
Post Reply