PDA

View Full Version : Addon: latest thumb on other pages - clean HTML no PHP


raminia
05-14-2005, 08:21 PM
MT or blogger.com (or similar) users should benefit from this. clean HTML code will show the latest thumb of your photoblog on other pages of the web!

I made this for those people who had problems with using the Wordpress plugin to show the latest addon or the modification I made before. Since some people do not have wordpress !! and some don't like php coding!! :wink:

However, this addon lacks in showing a tool-tip (a small popup text shows up when hovering over the thumbnail image) of the latest post title. (But it works perfectly!)
There are some tricky ways to do so but it needs some php coding that I wanted to put aside.
Any suggestion is appreciated.

Download link:
http://www.pixelpost.org/v1/index.php?x=downloads&details=80
OR
http://www.pixelpost.org/index.php?x=downloads&details=80

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

O
05-15-2005, 07:13 PM
Thanks Ramin - works great! Very easy! :D

Would it be easy to covert that to show the latest three thumbs? It would give a better idea of pixelated flavor to the other site.

???

...O


Tidal-Pool-Reflections (http://www.ocean-moonshine.net/pixelpost/)

raminia
05-15-2005, 07:42 PM
good idea!
but I don't know how exactly do that. I can produce the <img> links but is there something in HTML codes that could extract some string from a URL and put it inside it's HTML? some tag?

in this addon you reach the content of image with <img src=' .... ' > tag where the src atribute points to a php file but I don't know how to point browser to a php file with out using <img> tage and src attribute. ....
I'm kind of self studied person in HTML and I don't know many things:)

jeremycherfas
05-15-2005, 09:09 PM
I don't see the Addon in my list of addons in Pixelpost. I had the same problem, you may remember, with the WP plugin in my list of WP Plugins.

I've checked the file, and there does not seem to be anything wrong with it -- no blanks before or after the PHP -- so I just do not understand the problem.

I download to a Mac, and then upload via FTP, without opening the PHP file.

Any advice?

Thanks

Jeremy

steff
05-15-2005, 10:28 PM
thank you! :)
unfortunately I have no time to test it in my blog now, but I'll do it for sure in next days!

BTW, this addon makes some check for posts in the future?
:mrgreen:

she
05-16-2005, 11:51 AM
it's very useful!! thanks a lot!!!

raminia
05-16-2005, 07:29 PM
- no future post. just latest post up to now.
- you see nothing in the admin panel >> addon? I have no idea! some specialist should answer this. ask Rob and GeoS:)

jeremycherfas
05-17-2005, 08:22 AM
It seems to have been a problem with permissions. I set the permissions to 777 and now the addon shows up. My question is, what should the permissions be for security and use? I know nothing about this area.

It now works perfectly! So thanks Ramin.
:D

But I'd still like to understand the Permissions I need at various places in the file and folder structure, please. Is there a recommendation anywhere?

raminia
05-17-2005, 09:57 AM
you set the permissions on which directory or file?

jeremycherfas
05-17-2005, 10:12 AM
on latest_thumb.php

Man
05-17-2005, 11:04 AM
Hello I have a problem, the image does not see, and if charge the URL:
http://rayuelafotoblog.manrocker.com/index.php?showthumb=latest&thumbtag=image
I see a chaos of characters, for some reason does not recognize the format .jpg

raminia
05-17-2005, 08:44 PM
what do you want to see?
use it inside the html tag <img src='http://rayuelafotoblog.manrocker.com/index.php?showthumb=latest&thumbtag=image' >
as I mentioned above. if you want to see it as a link here it is: http://rayuelafotoblog.manrocker.com/index.php?showthumb=latest&thumbtag=getlink

but you cannot use this inside an html

raminia
05-17-2005, 09:08 PM
on latest_thumb.php
there is some issue about permission on your server that I don't know... Some security stuff. I don't have enough knowledge about it:)

Joe[y]
05-17-2005, 10:03 PM
i have the same problem with permissions. I don't know what it is.

jeremycherfas
05-18-2005, 04:27 AM
I guess my real question is: how worried should I bee about setting files and folders to 777?

Joe[y]
05-18-2005, 08:57 AM
I guess my real question is: how worried should I bee about setting files and folders to 777?

i can't think of any worries as you only need to do this on your image folders.

Man
05-18-2005, 09:12 AM
what do you want to see?
use it inside the html tag <img src='http://rayuelafotoblog.manrocker.com/index.php?showthumb=latest&thumbtag=image' >
as I mentioned above. if you want to see it as a link here it is: http://rayuelafotoblog.manrocker.com/index.php?showthumb=latest&thumbtag=getlink

but you cannot use this inside an html

Well, if you see:
http://www.jeremycherfas.net/photos/index.php?showthumb=latest&thumbtag=image see a thumb.
But in my site:
http://rayuelafotoblog.manrocker.com/index.php?showthumb=latest&thumbtag=image see this...
ÿØÿàJFIFÿþ;CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 75 ÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!222222222222222222222222222222222222222222222 22222ÿÀdx"ÿÄ ÿĵ}!1AQa"q2?‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖ× ØÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2?B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvw xyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓ ÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?«,ßeÔo ¹ŠQ;ùŠMÙ\wüñVúgc?EÐvƨã 6æhUÂØÇmu?õ…Xå};œVÍ–›ÕŒS]FÑÊÃ?‹?9ã“Pç8»É©?¬¬×:¯$ÒL$;b/
etc, etc.


I don´t have idea.
I use a CMS in PHP http://www.dotclear.net/, have other system for call the image in my "textblog"? with the http://rayuelafotoblog.manrocker.com/index.php?showthumb=latest&thumbtag=getlink for example ¿?.

Thanks, I love Pixelpost :-).

jeremycherfas
05-18-2005, 10:24 AM
Ah, now, that looks to me like a JPEG file in the raw. In other words, the browser is not recognizing it as an image file and is treating it as an ordinary (HTML) file.

It could be a language encoding issue, but I don't know enough about that.

Sorry I can't be more helpful.

raminia
05-18-2005, 10:24 AM
what do you want to see?
use it inside the html tag <img src='http://rayuelafotoblog.manrocker.com/index.php?showthumb=latest&thumbtag=image' >
as I mentioned above. if you want to see it as a link here it is: http://rayuelafotoblog.manrocker.com/index.php?showthumb=latest&thumbtag=getlink

but you cannot use this inside an html

Well, if you see:
http://www.jeremycherfas.net/photos/index.php?showthumb=latest&thumbtag=image see a thumb.
But in my site:
http://rayuelafotoblog.manrocker.com/index.php?showthumb=latest&thumbtag=image see this...
ÿØÿàJFIFÿþ;CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 75 ÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!222222222222222222222222222222222222222222222 22222ÿÀdx"ÿÄ ÿĵ}!1AQa"q2?‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖ× ØÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2?B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvw xyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓ ÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?«,ßeÔo ¹ŠQ;ùŠMÙ\wüñVúgc?EÐvƨã 6æhUÂØÇmu?õ…Xå};œVÍ–›ÕŒS]FÑÊÃ?‹?9ã“Pç8»É©?¬¬×:¯$ÒL$;b/
etc, etc.


I don´t have idea.
I use a CMS in PHP http://www.dotclear.net/, have other system for call the image in my "textblog"? with the http://rayuelafotoblog.manrocker.com/index.php?showthumb=latest&thumbtag=getlink for example ¿?.

Thanks, I love Pixelpost :-).

try this and tell me if it works for you
<?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');
$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;
}


}

?>

Man
05-18-2005, 10:44 AM
No Raminia :?:

raminia
05-18-2005, 08:54 PM
use this and if it does not work I have no more idea
<?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;
}


}

?>

rockyrapier
06-13-2005, 12:29 AM
Is there a way to use this script to display the latest image in pixelpost as a full size image in my header?

raminia
06-13-2005, 08:56 AM
yes but what is the purpose of doing so? you photoblog is doing that very well.

to do this change the line reads
$filename = 'thumbnails/thumb_'.$image_name;

to
$filename = 'images/thumb_'.$image_name;

lemox
06-22-2005, 05:58 AM
is it possible to show more than the latest photo,maybe the last 3 photos posted?

Samantha_Dennett
08-07-2005, 11:34 PM
Hiya! I've been using this addon for a bit on my site SSDWorks (http://www.ssdworks.com). It's a Mambo site, so I had to use a Module that directed to the thumbnail url to integrate it properly. This addon was a miracle for me. Made it all much easier. However, I've noticed that in the past two days, the thumbnails haven't been showing up. And I'm at a loss as to why, since it was working perfectly previously. I know the thumbnails show up on my main Pixelpost site, though. You can see them in the archive here (http://photos.ssdworks.com/?x=browse&pagenum=1). The url I've been using to direct to the thumbnail is "http://photos.ssdworks.com/index.php?showthumb=latest&thumbtag=image" cause that's basically what the instructions for the addon said. Do you have any idea why the images suddenly aren't showing up? I know it's not a permission problem, since everything that could possibly affect it is at 777.

Kind of at a loss,
Samantha.

riken
08-11-2005, 04:36 AM
Upload this version of the addon:

<?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!
if ($_GET['debug'] != 'true')
{
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;
}


}

?>

Now go to http://photos.ssdworks.com/index.php?showthumb=latest&thumbtag=image&debug=true and post the results here.

raminia
08-11-2005, 08:32 AM
what was the problem ? what did you change?

Samantha_Dennett
08-11-2005, 05:39 PM
K, I gave it a try Riken. I went to the link you posted after uploading the version you supplied @ http://photos.ssdworks.com/index.php?showthumb=latest&thumbtag=image&debug=true and I came up with a blank page. Was it supposed to have a thumbnail on it?

riken
08-11-2005, 11:21 PM
Damn

Raminia: I added some code so the headers would not be sent. I was hoping that by seeing the raw output it was possible to see the error. But I think the error is being suppressed.

Samantha: Ok, time to try something else. In index.php of your pixelpost site, change the line (it's near the top)
error_reporting(0);
to
error_reporting(E_ALL);
then try the link again.

Samantha_Dennett
08-12-2005, 05:11 PM
Okay, I got the following errors:
------------------------------------------------------------------
------------------------------------------------------------------
Notice: Undefined variable: cfgrow in /home/ssd01001/public_html/photos/includes/functions.php on line 130

Notice: Undefined index: HTTP_REFERER in /home/ssd01001/public_html/photos/includes/functions.php on line 132

Notice: Undefined index: host in /home/ssd01001/public_html/photos/includes/functions.php on line 136

Notice: Undefined variable: mod_rewrite in /home/ssd01001/public_html/photos/index.php on line 70

Warning: file_get_contents(): Unable to access templates/visualex/header.html in /home/ssd01001/public_html/photos/index.php on line 93

Warning: file_get_contents(templates/visualex/header.html): failed to open stream: No such file or directory in /home/ssd01001/public_html/photos/index.php on line 93

Warning: file_get_contents(): Unable to access templates/visualex/footer.html in /home/ssd01001/public_html/photos/index.php on line 94

Warning: file_get_contents(templates/visualex/footer.html): failed to open stream: No such file or directory in /home/ssd01001/public_html/photos/index.php on line 94

Notice: Undefined index: x in /home/ssd01001/public_html/photos/index.php on line 97

Notice: Undefined index: x in /home/ssd01001/public_html/photos/index.php on line 102

Notice: Undefined index: popup in /home/ssd01001/public_html/photos/index.php on line 114

Notice: Undefined index: x in /home/ssd01001/public_html/photos/index.php on line 130

Notice: Undefined index: showimage in /home/ssd01001/public_html/photos/index.php on line 132

Notice: Undefined variable: lang_permalink in /home/ssd01001/public_html/photos/index.php on line 171

Notice: Use of undefined constant gd_info - assumed 'gd_info' in /home/ssd01001/public_html/photos/index.php on line 203

Notice: Undefined variable: image_category_all in /home/ssd01001/public_html/photos/index.php on line 259

Notice: Undefined variable: image_category_all_paged in /home/ssd01001/public_html/photos/index.php on line 260

Notice: Undefined variable: image_category in /home/ssd01001/public_html/photos/index.php on line 266

Notice: Undefined index: SubIFD in /home/ssd01001/public_html/photos/index.php on line 311

Notice: Undefined index: SubIFD in /home/ssd01001/public_html/photos/index.php on line 319

Notice: Undefined index: SubIFD in /home/ssd01001/public_html/photos/index.php on line 320

Notice: Undefined index: SubIFD in /home/ssd01001/public_html/photos/index.php on line 322

Notice: Undefined index: SubIFD in /home/ssd01001/public_html/photos/index.php on line 323

Notice: Undefined index: IFD0 in /home/ssd01001/public_html/photos/index.php on line 324

Notice: Undefined index: IFD0 in /home/ssd01001/public_html/photos/index.php on line 325

Notice: Undefined index: SubIFD in /home/ssd01001/public_html/photos/index.php on line 326

Notice: Undefined index: x in /home/ssd01001/public_html/photos/index.php on line 387

Notice: Undefined index: comment in /home/ssd01001/public_html/photos/index.php on line 388

Notice: Undefined index: showimage in /home/ssd01001/public_html/photos/index.php on line 421

Notice: Undefined index: popup in /home/ssd01001/public_html/photos/index.php on line 424

Notice: Undefined index: x in /home/ssd01001/public_html/photos/index.php on line 429

Notice: Undefined index: x in /home/ssd01001/public_html/photos/index.php on line 469

Notice: Undefined variable: category in /home/ssd01001/public_html/photos/index.php on line 536

Warning: in_array(): Wrong datatype for second argument in /home/ssd01001/public_html/photos/index.php on line 536

Notice: Undefined variable: category in /home/ssd01001/public_html/photos/index.php on line 536

Warning: in_array(): Wrong datatype for second argument in /home/ssd01001/public_html/photos/index.php on line 536

Notice: Undefined variable: category in /home/ssd01001/public_html/photos/index.php on line 536

Warning: in_array(): Wrong datatype for second argument in /home/ssd01001/public_html/photos/index.php on line 536

Notice: Undefined variable: category in /home/ssd01001/public_html/photos/index.php on line 536

Warning: in_array(): Wrong datatype for second argument in /home/ssd01001/public_html/photos/index.php on line 536

Notice: Undefined variable: category in /home/ssd01001/public_html/photos/index.php on line 536

Warning: in_array(): Wrong datatype for second argument in /home/ssd01001/public_html/photos/index.php on line 536

Notice: Undefined index: x in /home/ssd01001/public_html/photos/index.php on line 547

Notice: Undefined index: x in /home/ssd01001/public_html/photos/index.php on line 604

Notice: Undefined index: x in /home/ssd01001/public_html/photos/index.php on line 678

Notice: Undefined index: x in /home/ssd01001/public_html/photos/index.php on line 745

Notice: Undefined index: x in /home/ssd01001/public_html/photos/addons/calendar.php on line 42

Notice: Undefined variable: message in /home/ssd01001/public_html/photos/addons/copy_folder.php on line 98

Notice: Undefined index: updatedflagp in /home/ssd01001/public_html/photos/addons/paged_archive.php on line 50

Notice: Undefined variable: table_name in /home/ssd01001/public_html/photos/addons/paged_archive.php on line 63

Notice: Undefined index: x in /home/ssd01001/public_html/photos/addons/paged_archive.php on line 81

Notice: Undefined index: pagenum in /home/ssd01001/public_html/photos/addons/paged_archive.php on line 153

Notice: Undefined variable: thedate in /home/ssd01001/public_html/photos/addons/paged_archive.php on line 186

Notice: Undefined variable: thedate in /home/ssd01001/public_html/photos/addons/paged_archive.php on line 187

Notice: Undefined index: x in /home/ssd01001/public_html/photos/addons/paged_archive.php on line 209

Notice: Undefined variable: pagenum in /home/ssd01001/public_html/photos/addons/paged_archive.php on line 363

Notice: Undefined variable: pagenum in /home/ssd01001/public_html/photos/addons/paged_archive.php on line 397

Notice: Undefined variable: thumb_output in /home/ssd01001/public_html/photos/addons/paged_archive.php on line 408

Notice: Undefined variable: images_category_or_date in /home/ssd01001/public_html/photos/addons/paged_archive.php on line 409

Notice: Undefined index: showthumb in /home/ssd01001/public_html/photos/addons/latest_thumb.php on line 34

Notice: Undefined index: x in /home/ssd01001/public_html/photos/index.php on line 807
------------------------------------------------------------------
------------------------------------------------------------------

Now, how do I go about fixing them? I've also returned the error_reporting back to (0) cause it was really ugly. And while the Latest Thumb might not show up on my main page, at least the photo site looks somewhat okay.... :(

Again, though, the Latest thumb did used to work and I haven't made any changes to the photo site, so I'm not sure what stopped it. Do you think any of these errors could be the problem? It looks kind of intimidating to me to try to fix anything.... PLEASE tell me that some of this can be ignored!

Samantha_Dennett
08-30-2005, 02:26 AM
You know, I just checked my page and the latest thumb is working again.... So I figure I'll ignore error and just hope it doesn't happen again. Knowing my luck, I'll make things worse trying to fix the errors....

Thanks for the help anyway.

Samantha

-okapi-
09-01-2005, 10:58 AM
Damn

Raminia: I added some code so the headers would not be sent. I was hoping that by seeing the raw output it was possible to see the error. But I think the error is being suppressed.

Samantha: Ok, time to try something else. In index.php of your pixelpost site, change the line (it's near the top)
error_reporting(0);
to
error_reporting(E_ALL);
then try the link again.

just curious, i tried that myself now, i changed the error reporting line in the index.php
- i got uncountable errors!

what about all these messages?
Undefined variable
Undefined index

can this be fixed?

Samantha_Dennett
09-09-2005, 12:36 AM
I still have no idea what all those errors were. And I now can't upload any pics. I assume it was probably one of my attempts to fix the problems. Otherwise, the latest thumb started working again, with no input by me, and the site itself still works. The not being able to upload is a real problem though, so I think I'll try a clean install with a different template. Maybe that's where my issues cam in.... don't really know though.

GeoS
09-09-2005, 08:19 AM
Dont change error_reporting to E_ALL coz you will see notices which really arent errors!!
Leave it as was at oryginal code ( error_reporting(0); )!!

Lachezar
02-25-2007, 03:49 AM
Hi I tried the clean HTML link and do get the thumbnail displayed but very small, about 75px. Is there a way t make it bigger?

Please help

zac
12-31-2008, 01:13 AM
Hi... dont know if anyone is using this anymore but I tried to install it on WP 2.8. Anyone have this working? I read this over but am still not clear if this plugin can be used if my wordpress install is at a totally different url than my pixelpost blog. There is the section for a relative address and I tried both public_html/pixelpostblog/ and also a full url but nothing appears. Thanks for any insight into this.