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:
Includes:
require_once("common/classes/obliquid/posts.php") [line 27]
posts_admobjadc_ [line 30]
Handles add, delete, change for an individual posts object attached to an item.
_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:
Parameters
| text |
$dirname |
directory of the source file, and also directory to put the thumbnail |
| text |
$filename |
of the input file |
_posts_admobjpost [line 138]
void _posts_admobjpost(
)
|
|
|