[turba] Uploading Photos

Jan Schneider jan at horde.org
Tue Nov 25 08:38:58 UTC 2008


Zitat von "John H. Bennett III" <bennettj at thebennetthome.com>:

> I'm running horde 3.3 and turba 2.3 and need some help understanding  
> what it takes to get a photo uploaded.
>
> In my turba/config/sources.php, I have these lines:
> 'photo' => 'object_photo',
> 'phototype' => 'object_phototype',
>
> I have $cfgSources['localsql'] - I'm trying to save the photo in mysql
>
> I have verified in mysql in the turba_objects table that
> object_photo          | blob
> object_phototype      | varchar(10)  | YES
>
> Now when I try to upload a photo, I choose my file, click upload,  
> things appear to work, I click save, but I don't see the photo.
>
> The file is a JPG file, is there a size limit on the file?

Only the limits due to php configuration. Though the object_phototype  
columns seems a bit small.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the turba mailing list