PDA

View Full Version : Broken tumbnail on email notification...


fotogram
08-17-2005, 10:58 PM
I brought this up here before, I think...

The email notifications i get from Pixelpost have a broken <img src>.

Does anyone know the fix for that?

Thanks,

Guilherme

Connie
08-18-2005, 05:46 AM
which PixelPost - version are you using?

I will have a look into it this evening

fotogram
08-18-2005, 03:59 PM
I have 1.4.2 installed

Connie
08-18-2005, 05:16 PM
I tested it, send me a comment by myself, received it and saw nothing.

then I checked the URL of the thumbnail and that was correct
then I checked the options of the mail programm, and what did I see???

Thunderbird was set: "show no images"

So!!!

please test one thing: take the URL of the thumbnail, open it in the browser and check if it's there

my URL was: http://http://www.photografitti.de/thumbnails/thumb_20050817234206_verrammelt.jpg

and that is correct

then, please., check your email-settings :rolleyes:

fotogram
08-18-2005, 08:07 PM
Thanks, Connie...

I don't think this is my issue... When I look at the HTML source for the message this is what I see:

<img src='http://www.fotogram.com/pixelpost/thumbnails/thumb_' ><br>

So the variable that resolves to the name of the image is resolving to nothing.

Thanks for your help,

Guilherme

Connie
08-18-2005, 08:32 PM
But I get the link:

<img src='http://www.photografitti.de/thumbnails/thumb_20050818215134_sowenigsommer.jpg' >

and that is ok

what was the exact name of the thumbnail?`


<img src='http://www.fotogram.com/pixelpost/thumbnails/thumb_' > ????????

please tell me

fotogram
08-18-2005, 11:20 PM
This happens for comments on all images....

Here is the thumbnail of the latest one:

http://www.fotogram.com/pixelpost/thumbnails/thumb_20050812171740_son.jpg

raminia
08-19-2005, 05:31 AM
maybe something is overriding the basic behavior of pp. which addons are u using?

fotogram
08-21-2005, 10:00 PM
Here is the list of addons I am using:

advanced_stat.php
anti_spam.php
calendar.php
copy_folder.php
current_datetime.php
extra_exif.php
grablink.php
most_commented.php
paged_archive.php
photoblogs_bookmarks.php
visits_today.php

raminia
08-26-2005, 09:34 PM
add
<input type='hidden' name='parent_name' value='<IMAGE_NAME>' />
to the comment form.
the image name is not passed in your template.

fotogram
08-28-2005, 04:14 AM
Thanks, raminia, that did it!

GeLaTiN PHoToBLoG
09-08-2005, 03:49 AM
I have a similar problem: the source of the thumbnail is broken: if I edit the email and add a / in the link, it displays the thumbnail in the email, but I could not find the code on my site, where I could add this character, so it arrives ok.

I have the afformentioned line in my code, so the problem is different to that.
see at http://blog.gelatinpixel.com

Also: how can I make my comments invisible (I added the comments to the image _template.html just like in pp_light) untill someone actually clicks on the comment link?

Joe[y]
09-08-2005, 05:34 PM
I have a similar problem: the source of the thumbnail is broken: if I edit the email and add a / in the link, it displays the thumbnail in the email, but I could not find the code on my site, where I could add this character, so it arrives ok.

not sure where you're adding the slash. can you show the link before and after please?


Also: how can I make my comments invisible (I added the comments to the image _template.html just like in pp_light) untill someone actually clicks on the comment link?

copy the code from pixelpost light if that is what you want. of course you can edit the css to suit your design.

GeLaTiN PHoToBLoG
09-08-2005, 09:36 PM
So here is the source of the email msg, highlighted the issue (with bold)


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR></HEAD>
<BODY>Hello,<BR>A new comment has been made on your photoblog.<BR><BR><A
href="http://blog.gelatinpixel.com?showimage=38">http://blog.gelatinpixel.com?showimage=38</A><BR><IMG
src="http://blog.gelatinpixel.comthumbnails/thumb_20050907110317_070905010.jpg"><BR><BR>The
Comment is:
<BR>----------------------------------------------------------------------<BR>test<BR>by
Peter -
blog@gelatinpixel.com<BR>----------------------------------------------------------------------<BR>Powered
by Pixelpost<BR></BODY></HTML>


see the question mark instead of the forward slash? -- why is that?

I managed to implement the code finally - however the comment form only dispalys in Firefox, IE only shows the comments, but the form, which should be bellow it (the last item on the page) does not display. Do you have any idea why?

Thannks for your help, lots of thanks,
I'll stay online now (just run out for an hour) so we can maybe communicate "live"
cheers, peter