kitkit201
06-14-2006, 05:05 PM
Hi there everyone
I just upgraded to PixelPost 1.5RC1 and am loving the features.. however, after upgrading I noticed that my overlib mouseover over my main blog pictures are not coming up.
Normally, it should come up witha mousever like thise: http://www.pnjwood.com/fotoblog/?showimage=390 but mine doesn't
I noticed that in my source code, there is magically a "\n" put in after the <IMAGE_NOTES> or the <IMAGE_NOTES_CLEAN> in image_template.html ..
Below is a snipet of the code in my image_template.html
<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>"><img src="images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" class="image" onmouseover="return overlib('<b><IMAGE_TITLE></b> <br><i>Click for previous pix</i> <br><b>Notes</b> / <IMAGE_NOTES>' , BGCOLOR, '#333366', FGCOLOR, '#FFFFFF', OPACITY, '50', FADEIN);" onmouseout="return nd();"></a>
As you can see, there is no newline carriage return after <IMAGE_NOTES>
I am using the default index.php that is from the PixelPost1.5 RC1 folder
A snippet of the index.php is here
$tpl = ereg_replace("<IMAGE_NOTES>",$image_notes,$tpl);
// image notes without HTML tags and double quotes
$image_notes_clean = strip_tags($image_notes);
$image_notes_clean = htmlspecialchars($image_notes_clean,ENT_QUOTES);
$tpl = ereg_replace("<IMAGE_NOTES_CLEAN>",$image_notes_clean,$tpl);
Unfortunately, I am no Perl expert, so any help would be appreciated. Thanks!
I just upgraded to PixelPost 1.5RC1 and am loving the features.. however, after upgrading I noticed that my overlib mouseover over my main blog pictures are not coming up.
Normally, it should come up witha mousever like thise: http://www.pnjwood.com/fotoblog/?showimage=390 but mine doesn't
I noticed that in my source code, there is magically a "\n" put in after the <IMAGE_NOTES> or the <IMAGE_NOTES_CLEAN> in image_template.html ..
Below is a snipet of the code in my image_template.html
<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>"><img src="images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" class="image" onmouseover="return overlib('<b><IMAGE_TITLE></b> <br><i>Click for previous pix</i> <br><b>Notes</b> / <IMAGE_NOTES>' , BGCOLOR, '#333366', FGCOLOR, '#FFFFFF', OPACITY, '50', FADEIN);" onmouseout="return nd();"></a>
As you can see, there is no newline carriage return after <IMAGE_NOTES>
I am using the default index.php that is from the PixelPost1.5 RC1 folder
A snippet of the index.php is here
$tpl = ereg_replace("<IMAGE_NOTES>",$image_notes,$tpl);
// image notes without HTML tags and double quotes
$image_notes_clean = strip_tags($image_notes);
$image_notes_clean = htmlspecialchars($image_notes_clean,ENT_QUOTES);
$tpl = ereg_replace("<IMAGE_NOTES_CLEAN>",$image_notes_clean,$tpl);
Unfortunately, I am no Perl expert, so any help would be appreciated. Thanks!