Re: PPTs and thumbnails

From: Al (php.newsgroups_at_allysays.com)
Date: 10/31/03


To: php-general@lists.php.net
Date: Fri, 31 Oct 2003 14:04:14 +1100


"Vijaya_manda" <Vijaya_Manda@satyam.com> wrote:
> Is it possible to retrieve the first slide from a presentation and display
> it as a thumbnail on my site. Users will upload ppt's which should be
> displayed in form of thumbnails on my site. On clicking a particular
> thumbnail the presentation (.ppt or .pps) file should be displayed.

In short: not with PHP. You're going to need a program that can read and
render PHP files, and save them as a static image (i.e. gif, jpg, etc).
You can run this program (if you find one) using PHP, and then use PHP to
resize and manipulate the output image, but PHP cannot natively manipulate
PPT files, nor are there any PEAR packages for that purpose.

Good luck,

Al



Relevant Pages

  • Hanging thumbnails
    ... // how many rows of images to display per page ... // how many columns of images to display per page ... // maximum thumbnail height ...
    (alt.php)
  • Re: if else trouble
    ... >I have the below code that displays a small thumbnail if a user is saluted, ... this all works with the exception that is no profile picture exist ... >it still trys to display a broken image, Im sure it's a simple mistake any ...
    (comp.lang.php)
  • Re: Object Oriented Content System - the idea
    ... >I expected php to be smarter then that. ... >form like bytecode in memory for the next request. ... each action added some stuff to a "response" XML document. ... that map/object/data and formats it for HTML display using an includeed PHP ...
    (comp.lang.php)
  • Re: session trouble
    ... Note that you're building your display block AFTER your loop. ... <?php session_start; ... The problem here is going to be since you have multiple school clubs, it's going to be hard to relate a particular club to the entry in your database if it going to be changed. ... Another way is to add a suffix to each field, often times the primary key for the table. ...
    (comp.lang.php)
  • Re: Redirecting between PHP Pages
    ... but at the very least in a php script. ... > on the outcome of the validation, you want to do one of two things: ... with the various bits of HTML being ... Display login form ...
    (comp.lang.php)