note 101251 added to function.imagerotate
| From: | superzouz at hotmail dot com | Date: | Sun, 05 Dec 2010 19:30:54 +0000 |
| Subject: | note 101251 added to function.imagerotate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-174631@lists.php.net to get a copy of this message | ||
If you're having trouble rotating images through this function, please note that you can rotate
images through CSS. As imagerotate() seems to remove image transparency, I resorted to CSS rotate.
Here is an example of CSS code that should work across most browsers:
img.rotated90 {
/* CSS3 then proprietary code */
rotation: 90deg;
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
}
----
Server IP: 69.147.83.197
Probable Submitter: 94.187.25.248
----
Manual Page -- http://www.php.net/manual/en/function.imagerotate.php
Edit -- https://master.php.net/note/edit/101251
Del: integrated -- https://master.php.net/note/delete/101251/integrated
Del: useless -- https://master.php.net/note/delete/101251/useless
Del: bad code -- https://master.php.net/note/delete/101251/bad+code
Del: spam -- https://master.php.net/note/delete/101251/spam
Del: non-english -- https://master.php.net/note/delete/101251/non-english
Del: in docs -- https://master.php.net/note/delete/101251/in+docs
Del: other reasons-- https://master.php.net/note/delete/101251
Reject -- https://master.php.net/note/reject/101251
Search -- https://master.php.net/manage/user-notes.php