dev.obliquid.com: posts
[ class tree: posts ] [ index: posts ] [ all elements ]

Procedural File: admobjadc.php

Source Location: Program_Root/pages/posts/admobjadc.php



Classes:



Page Details:

Handles add, delete, change for an individual posts object attached to an item



Tags:

version:  $Id: admobjadc.php,v 1.22 2004/12/23 00:12:46 slocati Exp $


Includes:

require_once("common/classes/obliquid/posts.php") [line 27]






posts_admobjadc_ [line 30]

void posts_admobjadc_( )

Handles add, delete, change for an individual posts object attached to an item.





[ Top ]



_createthumb [line 317]

info _createthumb( text $dirname, text $filename)

* Private function to create the thumbnail image from the posted file

Modified version of code found at www.php.net from spamhole at gmx dot at NOTE: this routine assumes that the GD libraries are included in PHP. There are a couple of alternatives... but they require calling an external routine which not all ISPs like. Some also do not work on Windows. Look up Image Magick and gif2png for versions which might work If you can find a copy of Image Magick and "convert".. most of this code can be replaced by: exec ("/usr/bin/X11/convert"." -size 80"."x80 -geometry 80"."x80> -quality 80 ".$outputfile);




Tags:

return:  array from GETIMAGESIZE. Or false if GD not installed or conversion was not successful.


Parameters

text   $dirname   directory of the source file, and also directory to put the thumbnail
text   $filename   of the input file
[ Top ]



_posts_admobjpost [line 138]

void _posts_admobjpost( )





[ Top ]



Documentation generated on Tue, 29 Mar 2005 09:03:35 -0800 by phpDocumentor 1.2.0rc2