note 60631 added to function.getimagesize
| From: | brett at silcon dot com | Date: | Thu, 12 Jan 2006 18:58:49 +0000 |
| Subject: | note 60631 added to function.getimagesize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-101647@lists.php.net to get a copy of this message | ||
Just posted an algorithm to do assured image fitting, but made a couple of cut and paste mistakes on
the description.
The KEEP_ON_PAGE_WIDTH & KEEP_ON_PAGE_HEIGHT should be:
KEEP_ON_PAGE_WIDTH - returns dimensions less than or equal to the page dimensions, not to exceed the
page width, but maintains aspect ratio for the height. It is possible the height could exceed the
page dimensions, depending on the image.
KEEP_ON_PAGE_HEIGHT - returns dimensions less than or equal to the page dimensions, not to exceed
the page height, but maintains aspect ratio for the width. It is possible the width could exceed the
page dimensions, depending on the image.
----
Manual Page -- http://www.php.net/manual/en/function.getimagesize.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60631
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60631&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60631&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60631&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60631&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60631&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60631&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60631&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60631&report=yes
Search -- http://master.php.net/manage/user-notes.php