Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost International > Deutsch

Post Reply
 
Thread Tools
  #1  
Old 08-17-2007, 10:36 AM
locopoco Offline
forum loafer
 
Join Date: Feb 2007
Posts: 6
latest thumb addon funktioniert nicht

hallo,

das latest thumbs addon funktioniert bei mir nicht.

ich habe

Pixelpost 1.6 vom März 07

Page-By-Page-Archive

ein Beispiel:

http://www.mittelwelle.com/about.php

PHP-version 4.3.10-16 (Pixelpost ist lauffähig ab PHP-Version: 4.3.0 )

Session save path /var/lib/php4

MySQL version 4.1.11-Debian_4sarge2-log (Pixelpost benötigt mindestens die MySQL-Version: 3.23.58 )

GD-lib 2.0 or higher mit Unterstützung des JPEG-Formates

Das Hochladen von Dateien zur Ihrer Pixelpost Installation ist possible.

Server Software: Apache/2.0.54 (Debian GNU/Linux) mod_jk2/2.0.4 PHP/4.3.10-16 mod_perl/1.999.21 Perl/v5.8.4

EXIF Pixelpost verwendet exifer v1.5 für die EXIF-information.

ich habe keine idee...
Reply With Quote
  #2  
Old 08-17-2007, 01:14 PM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
Was bedeutest du mit "funktioniert nicht"?

Hast du die installation vorschriften befolgt?
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
Reply With Quote
  #3  
Old 08-18-2007, 07:05 AM
locopoco Offline
forum loafer
 
Join Date: Feb 2007
Posts: 6
Quote:
Originally Posted by Dennis View Post
Was bedeutest du mit "funktioniert nicht"?

Hast du die installation vorschriften befolgt?

diese version von latest_thumb.php habe ich installiert.

so möchte ich das Thumb aufrufen.

Quote:
<img src='http://www.mittelwelle.com/werke/index.php?showthumb=latest&thumbtag=image' width="100" height="75" />
PHP Code:
<?php

/*

Pixelpost version 1.4.1
Datetime addon version 1.1
Addon developer: Ramin Mehran (Raminia)

Pixelpost www: http://www.pixelpost.org/

// usage
1) copy the addon to addons folder of Pixelpost

2) Use this tag to show the latest thumbnail of Pixelpost photblog on other pages on the web!
   <img src='http://www.your_photoblog.com/index.php?showthumb=latest&thumbtag=image' />

   you can make a link to it as
   <a href='http://www.your_photoblog.com/' ><img src='http://www.your_photoblog.com/index.php?showthumb=latest&thumbtag=image' /> </a>

   don't forget to replace the http://www.your_photoblog.com/ with you photblog address!


// TODO for future versions:
   Showing title of the latest post as a tool tip on the image


*/

$addon_name "Image link to latest thumb";
$addon_description "Makes a link to Pixelpost's latest thumbnail. ";
$addon_version "1.0";

// latest thumb
if ($_GET['showthumb']=='latest')
{
   
// get current time
   
$datetime date("Y-m-d H:i:s");
   
$cdate $datetime// for future posting


   // Get Current Image.
  
$query mysql_query("select image,headline,datetime,id from ".$pixelpost_db_prefix."pixelpost where datetime<='$cdate' order by datetime DESC limit 0,1");


   
$row mysql_fetch_array($query);
   if(!
$row['image']) {
       echo 
"Coming Soon (query fail)!";
       
//exit;
       
}
   
$image_name         $row['image'];
   
$image_title        pullout($row['headline']);
   
$image_id           $row['id'];
   
$image_datetime     $row['datetime'];

   
// filename
   
$filename 'thumbnails/thumb_'.$image_name;

   
// if user wants the thumb image
   
if ($_GET['thumbtag'] =='image')
   {
       
// put it on the web!
    
header('Content-Type: image/jpeg');
    
header('Content-transfer-encoding: binary');
    
$img imagecreatefromjpeg($filename);
    
imagejpeg($img);
   exit;
  }

  if (
$_GET['thumbtag'] == 'getlink')
  {
   
$img_link "<img src='" .$filename ."' title= '".$image_title."' /> " ;
    echo 
$img_link ;
    exit;
  }

   
// if user wants the image title
  
if ($_GET['thumbtag'] =='title')
  {

     
// echo    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />

      //echo "<body><html>";

      
echo $image_title;
      
//echo "</body></html>";
       
exit;
      }


}

?>
Reply With Quote
  #4  
Old 08-18-2007, 07:17 AM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
Die PHP code schaut gut. Wenn du die Verbindung in deinem brower öffnest, zeigt es alle diese lustigen Buchstaben an.

Ich vermute, daß es etwas falsch mit deiner GD Bibliothek gibt.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
Reply With Quote
  #5  
Old 08-21-2007, 08:28 PM
locopoco Offline
forum loafer
 
Join Date: Feb 2007
Posts: 6
hat niemand eine idee, an was das liegt?
Reply With Quote
  #6  
Old 08-24-2007, 03:10 AM
Flea's Avatar
Flea Offline
forum loafer
 
Join Date: Aug 2007
Location: Munich | Germany
Posts: 10
Poste dein Problem doch mal auf englisch im Help- oder Development-Forum; ich denke da wirst du deutlich mehr Antworten bekommen als in der dt. Sektion.
__________________
Abyssus abyssum invocat!
Reply With Quote
  #7  
Old 08-24-2007, 06:02 AM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
http://www.pixelpost.org/forum/showthread.php?t=7077
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 11:34 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs