|
-
Sep 10th, 2005, 10:31 AM
#1
[RESOLVED] Picture size
Look here. This is the page I am making right now.
http://www.noteme.com/doomsharp/screeny.htm
I want to have a picture to show up on the next page (the next page looks the same) on the left side there inside where it says: "To make this engine....". But the picture might be wider then that box. The box is 454pixels wide. If it is, then I want to shrink it in width, and height. So the ratio is still the same. But how do I first find out how width the picture is? Do I have to open the image file and read the header, or is there any PHP function for this?
Thanks
- ØØ -
-
Sep 10th, 2005, 11:48 AM
#2
Fanatic Member
Re: Picture size
getimagesize
You should download the chm manual, its been my bible .
P.S. Where you talking about http://www.noteme.com/doomsharp/screeny.php ?
Because http://www.noteme.com/doomsharp/screeny.htm is a 404.
-
Sep 10th, 2005, 12:41 PM
#3
Re: Picture size
ohhh yeah...I changed that after I posted...dumb me.. ...Thanks I will try it out and tell you how it works out.
- ØØ -
-
Sep 11th, 2005, 10:37 AM
#4
Re: Picture size
It worked like a charm, thanks a lot:
http://www.noteme.com/doomsharp/divpic7.php
I am not using PHP often enought these days to be bothered to download that book. But thanks for the tip. Wish there was one like that for Python though.
Thanks
- ØØ -
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|