Smart Image Processor PHP 2 Support Product Page
This topic is locked
Under investigation
Smart image processor PHP 2 not working
Reported 02 Dec 2014 00:31:19
2
have this problem
02 Dec 2014 00:31:19 Juan Olarte posted:
HI, the Smart image processor PHP 2 is not working. I am trading to resize, create a smaller version. nothing works. I've tried the forum and the recommendations on it but can't get anywhere. Can anyone help.The code I am using is:
<?php
//*** Pure PHP File Upload 3.1.0
// Process form fm_Cover
$ppu = new pureFileUpload();
$ppu->nameConflict = "uniq";
$ppu->storeType = "file";
$ppu->progressBar = "html5.htm";
$ppu->progressWidth = 350;
$ppu->progressHeight = 150;
$uploadCom_Cover = $ppu->files("Com_Cover"
$uploadCom_Cover->path = "Profile_Images/Company/Marketing";
$uploadCom_Cover->required = true;
$uploadCom_Cover->allowedExtensions = "GIF,JPG,JPEG,BMP,PNG,JPE"; // "custom"
$ppu->redirectUrl = "";
$ppu->checkVersion("3.1.0"
$ppu->doUpload();
if ($ppu->done) {
$_POST["undefined"] = undefined;
$_POST["undefined"] = undefined;
}
?>
<?php
// Smart Image Processor PHP 2.1.1
if (isset($_GET['GP_upload'])) {
$sipp2 = new cGraphicMediator("upload", $ppu, "Com_Cover"
$sipp2->setComponent("GD2"
$sipp2->setMatteColor("#FFFFFF"
$sipp2->resizeEx(55, 55, true, true);
$sipp2->sharpen();
$sipp2->grayscale();
$sipp2->overwrite = false;
$sipp2->setMask("##path##thumb_##name##.jpg"
$sipp2->saveJPEG(100);
$sipp2->process();
}
?>
Replies
Replied 02 Dec 2014 10:11:02
02 Dec 2014 10:11:02 Teodor Kuduschiev replied:
Hello Juan,
Please send us you page, as an attachment to:
Please send us you page, as an attachment to:
Replied 03 Dec 2014 03:02:43
03 Dec 2014 03:02:43 Juan Olarte replied:
Thanks Teodor I will!
Replied 04 Dec 2014 08:45:32
04 Dec 2014 08:45:32 Teodor Kuduschiev replied:
I just ran several tests on our server and your page is uploading and resizing just fine.
Please place the following line in your upload page right before the pure PHP upload code:
<?php $DMX_debug = true; ?>
This will output some debug info before and after upload process. You will need to remove any redirection set up in order to get the debug info. Provide the info here.
Please place the following line in your upload page right before the pure PHP upload code:
<?php $DMX_debug = true; ?>
This will output some debug info before and after upload process. You will need to remove any redirection set up in order to get the debug info. Provide the info here.
Replied 26 Dec 2014 19:58:23
26 Dec 2014 19:58:23 Michael Bosquez replied:
I have tried absolutely everything based upon years old support threads here. I have changed the order of behaviors. I have moves the redirect around. Nothing works. If I remove the Insert bevavior, the resize works just fine. If I put the Insert behavior anywhere on the page, the resizing won't work. I have tried the following orders:
1. PPU3
2. Insert Record
3. Image Processor PHP ($sipp2)
4, Image Processor PHP ($sipp1)
1. Insert Record
2. PPU3
3. Image Processor PHP ($sipp2)
4, Image Processor PHP ($sipp1)
1. PPU3
2. Image Processor PHP ($sipp2)
3, Image Processor PHP ($sipp1)
4. Insert Record
Nothing works. My conclusion is that if there's an Insert Record behavior on the page, then the resizing will not work. If no Insert Record, then resizing works just fine. Seriously!?!?! There are support threads all over this site about this issue. But there's no consistent answer. How do you make this extension work??????? I've spent the last 8 hours trying everything I can think of. Nothing makes this thing work if there's an Insert Record behavior on the page.
Also, this extension causes issues with File Manager and Image Manager in the HTML Editor 3 also. I have to leave resizing off or I get errors all over.
Has anyone found a way to actually make this extension work?
Mike
1. PPU3
2. Insert Record
3. Image Processor PHP ($sipp2)
4, Image Processor PHP ($sipp1)
1. Insert Record
2. PPU3
3. Image Processor PHP ($sipp2)
4, Image Processor PHP ($sipp1)
1. PPU3
2. Image Processor PHP ($sipp2)
3, Image Processor PHP ($sipp1)
4. Insert Record
Nothing works. My conclusion is that if there's an Insert Record behavior on the page, then the resizing will not work. If no Insert Record, then resizing works just fine. Seriously!?!?! There are support threads all over this site about this issue. But there's no consistent answer. How do you make this extension work??????? I've spent the last 8 hours trying everything I can think of. Nothing makes this thing work if there's an Insert Record behavior on the page.
Also, this extension causes issues with File Manager and Image Manager in the HTML Editor 3 also. I have to leave resizing off or I get errors all over.
Has anyone found a way to actually make this extension work?
Mike
Replied 27 Dec 2014 18:41:42
27 Dec 2014 18:41:42 Michael Bosquez replied:
Well, the extension doesn't work on a recordset. I can only get it to work when used with Pure PHP Upload 3 and no Insert Record behavior, or when resizing a folder. Further, and consistent with other posts in this forum, it will not resize anything right out of a digital camera. I can resize a folder as long as the original images are small. I uploaded one from my digital camera that is over 5M and I get a fatal memory error.
Not a very useful extension. Debating whether I'll demand a refund. And if I do, and they won't grant it, then I'll dispute it with PayPal. I just bought this extension a few days ago and it does not work as advertised. The posts in this forum say a lot about the issues with the extension and over the past 3 to 4 years DMXZone has done nothing to fix it.
Has anyone out there found a resizing extension from someone else that actually works?
Thanks,
Mike
Not a very useful extension. Debating whether I'll demand a refund. And if I do, and they won't grant it, then I'll dispute it with PayPal. I just bought this extension a few days ago and it does not work as advertised. The posts in this forum say a lot about the issues with the extension and over the past 3 to 4 years DMXZone has done nothing to fix it.
Has anyone out there found a resizing extension from someone else that actually works?
Thanks,
Mike
Replied 29 Dec 2014 15:44:25
29 Dec 2014 15:44:25 Michael Bosquez replied:
All,
I purchased and tested the upload, insert, and resize extension from DWZone-it.com and it works great! It does not have any of the issues reported all over the DMXZone site for their resize extension. The DWZone-it.com extension is available here:
www.dwzone-it.com/Extension/PhpUploadResize/default.asp
Mike
I purchased and tested the upload, insert, and resize extension from DWZone-it.com and it works great! It does not have any of the issues reported all over the DMXZone site for their resize extension. The DWZone-it.com extension is available here:
www.dwzone-it.com/Extension/PhpUploadResize/default.asp
Mike
Replied 05 Jan 2015 11:00:21
05 Jan 2015 11:00:21 Teodor Kuduschiev replied:
Hi all,
Please check my reply in the following topic: www.dmxzone.com/support/13327/topic/57383/
I am locking this one, as it is duplicate.
Please check my reply in the following topic: www.dmxzone.com/support/13327/topic/57383/
I am locking this one, as it is duplicate.