ElaKiri Community
Downloads
Go Back   ElaKiri Community > General > ElaKiri Talk!
Reload this Page php image crop උදව්වක් ඕනේ
Reply
 
Thread Tools
(#1)
Old
Casinoboy's Avatar
Casinoboy Casinoboy is offline
Senior Member
Casinoboy has a spectacular aura aboutCasinoboy has a spectacular aura aboutCasinoboy has a spectacular aura about
 
Posts: 3,164
Join Date: Jun 2011
smile php image crop උදව්වක් ඕනේ - 01-09-2020, 08:22 PM

මචන්ලා php Jcrop වලින් crop කරන පින්තුරයක් ඩවුන්ලොඩ් කරන්‌නේ ‌කොහොමද ? ම‌ේ ‌කා්‌ෙඩ් ඒකෙන් ‌සේව් ‌ව‌ෙනවා ක‌ොහොමද ඩවුන්ලෝඩ් කරන්නේ ඉම‌ේජ් ඒක


PHP Code:

    $file 
$_GET['file'];
    
    
$location 'upload/'.$file;
    
$newFile time().'_'.$file;
    
$newloc 'upload/'.$newFile;
    
    
$targ_w $targ_h 250;
    
    
$img_r imagecreatefromjpeg($location);
    
$dst_r ImageCreateTrueColor$targ_w$targ_h );

    
imagecopyresampled($dst_r,$img_r,0,0,$_POST['x'],$_POST['y'],
    
$targ_w,$targ_h,$_POST['w'],$_POST['h']);

    
imagejpeg($dst_r'upload/'.$newFile); 
Reply With Quote
(#2)
Old
Casinoboy's Avatar
Casinoboy Casinoboy is offline
Senior Member
Casinoboy has a spectacular aura aboutCasinoboy has a spectacular aura aboutCasinoboy has a spectacular aura about
 
Posts: 3,164
Join Date: Jun 2011
01-09-2020, 08:22 PM

බම්ප්
Reply With Quote
(#3)
Old
CloudX64's Avatar
CloudX64 CloudX64 is offline
Senior Member
CloudX64 has a brilliant futureCloudX64 has a brilliant futureCloudX64 has a brilliant futureCloudX64 has a brilliant futureCloudX64 has a brilliant futureCloudX64 has a brilliant futureCloudX64 has a brilliant futureCloudX64 has a brilliant futureCloudX64 has a brilliant futureCloudX64 has a brilliant futureCloudX64 has a brilliant future
 
Posts: 6,159
Join Date: Nov 2014
Location: ❤️ฬєรtනාහිර
01-09-2020, 08:26 PM

Bump
Reply With Quote
(#4)
Old
Casinoboy's Avatar
Casinoboy Casinoboy is offline
Senior Member
Casinoboy has a spectacular aura aboutCasinoboy has a spectacular aura aboutCasinoboy has a spectacular aura about
 
Posts: 3,164
Join Date: Jun 2011
01-09-2020, 08:30 PM

Quote:
Originally Posted by CloudX64 View Post
Bump
Thanks
Reply With Quote
(#5)
Old
ThisaraMalintha's Avatar
ThisaraMalintha ThisaraMalintha is offline
Senior Member
ThisaraMalintha is a splendid one to beholdThisaraMalintha is a splendid one to beholdThisaraMalintha is a splendid one to beholdThisaraMalintha is a splendid one to beholdThisaraMalintha is a splendid one to beholdThisaraMalintha is a splendid one to beholdThisaraMalintha is a splendid one to beholdThisaraMalintha is a splendid one to beholdThisaraMalintha is a splendid one to beholdThisaraMalintha is a splendid one to beholdThisaraMalintha is a splendid one to behold
 
Posts: 7,449
Join Date: Nov 2015
Location: ගෙදර
01-09-2020, 08:31 PM

bump
Reply With Quote
(#6)
Old
Casinoboy's Avatar
Casinoboy Casinoboy is offline
Senior Member
Casinoboy has a spectacular aura aboutCasinoboy has a spectacular aura aboutCasinoboy has a spectacular aura about
 
Posts: 3,164
Join Date: Jun 2011
01-09-2020, 08:37 PM

Quote:
Originally Posted by ThisaraMalintha View Post
bump
Thanks
Reply With Quote
(#7)
Old
Casinoboy's Avatar
Casinoboy Casinoboy is offline
Senior Member
Casinoboy has a spectacular aura aboutCasinoboy has a spectacular aura aboutCasinoboy has a spectacular aura about
 
Posts: 3,164
Join Date: Jun 2011
01-09-2020, 08:57 PM

බම්ප්
Reply With Quote
(#8)
Old
Casinoboy's Avatar
Casinoboy Casinoboy is offline
Senior Member
Casinoboy has a spectacular aura aboutCasinoboy has a spectacular aura aboutCasinoboy has a spectacular aura about
 
Posts: 3,164
Join Date: Jun 2011
01-09-2020, 09:21 PM

bump
Reply With Quote
(#9)
Old
Casinoboy's Avatar
Casinoboy Casinoboy is offline
Senior Member
Casinoboy has a spectacular aura aboutCasinoboy has a spectacular aura aboutCasinoboy has a spectacular aura about
 
Posts: 3,164
Join Date: Jun 2011
01-09-2020, 09:57 PM

bummmmm
Reply With Quote
(#10)
Old
Casinoboy's Avatar
Casinoboy Casinoboy is offline
Senior Member
Casinoboy has a spectacular aura aboutCasinoboy has a spectacular aura aboutCasinoboy has a spectacular aura about
 
Posts: 3,164
Join Date: Jun 2011
01-09-2020, 10:15 PM

dsfsdfsdf
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright © 2006 - 2011 ElaKiri™ Beta2.Evo vBulletin, vBa iBproArcade Subdreamer I-Magic MKv

Page generated in 0.05340 seconds with 11 queries