Get ready for BLACK FRIDAY shopping starting in

Forums

PHP

This topic is locked

Smart Image Processor: insert record help

Posted 02 Feb 2004 17:23:49
1
has voted
02 Feb 2004 17:23:49 Steve Fleischer posted:
I am using the latest versions of Pure PHP Upload and SIP. I am uploading an image and using SIP to resize it and generate a thumbnail.

My problem is that I need to store the width and height data for both images into a database. I can get it to insert the data for the larger image but not for the thumbnail. Pure Upload has:

$ppu->saveWidth = "imageWidth";
$ppu->saveHeight = "imageHeight";

but SIP doesn't have similar variables for the thumbnail.

CAn anyone shed some light on this please?

TIA
--
Steve

Edited by - Flying Tiger on 03 Feb 2004 15:13:05

Reply to this topic