Lukket

Need some help

Hi everyone,

I'm just hoping someone can help me with a few code lines here. Will not pay but you can get a 10 in rating for helping me out. I want to create a new image from an already uploaded one. The original image is 396*306pixels and the new one I want to create is 186*306. The new image should start 210 pixels from the left border of the original image (the new image is only a part of the original image).

This should be possible to do in just 3 or 4 lines of codes right?

Something like this (but this is not working):

//original image

$im = imagecreatefromjpeg("../object_images/".$myUploadobj->file_name);

$im2= imagecreatetruecolor(100,100);

//The new image

$im3 = imagejpeg($im2,"../object_images/thumbs/".$myUploadobj->file_name);

imagecopy($im3,$im,200,150,45,0,396,100);

Færdigheder: PHP

Se mere: someone or some one, some one or someone, some help, need codes, border, 100 lines code, image thumbs, thumbs image, need code help, need uploaded, need someone help me, can help, im2, need someone help, php thumbs thumbs php, 186, lines code, php thumbs thumbs, need 150, create image border, php imagecreatefromjpeg, thumbs thumbs php, code help, create border image, thumbs thumbs rating php

Om arbejdsgiveren:
( 34 bedømmelser ) Stockholm, Sweden

Projekt-ID: #293786

3 freelancere byder i gennemsnit $95 for dette job

momleetech

we can do it

$30 USD in 0 dage
(104 bedømmelser)
6.7
Pektsekye

$img = imagecreatetruecolor(186,306); $org_img = imagecreatefromjpeg("[url removed, login to view]"); imagecopy($img,$org_img, 0, 0, 210, 0, 396, 306); imagejpeg($img,"[url removed, login to view]"); imagedestroy( Mere

$30 USD på 1 dag
(107 bedømmelser)
5.6
semosoft123

We have gone through the information that you have provided and understand your requirements very well. We have excellent expertise in PHP5, MYSQL, DRUPAL, JOOMLA, HTML, CSS, AJAX, JAVA, J2ME, JSP, SEO, SEM, ASP.NET, V Mere

$225 USD in 10 dage
(0 bedømmelser)
0.0