[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
Djembefola - Djembe Forum •Broken image link
Page 1 of 1

Broken image link

Posted: Tue Mar 30, 2010 4:50 am
by michi
Having just posted my first blog entry, I noticed that all the posts have a broken image link in the sub-heading. James, would you take a look? You can find one example of this here.

Cheers,

Michi.

Re: Broken image link

Posted: Tue Mar 30, 2010 8:14 am
by bubudi
i don't see a broken image link.

Re: Broken image link

Posted: Tue Mar 30, 2010 12:32 pm
by michi
Here is a screen shot of the broken image:
brokenimagelink.jpg
Broken image link
brokenimagelink.jpg (78.75KiB)Viewed 2976 times
I'm seeing this with Safari 4.0.5 on OS X, with Safari on my iPhone, and with IE 8.0.6001 on Windows XP.

Cheers,

Michi.

Re: Broken image link

Posted: Tue Mar 30, 2010 10:28 pm
by bubudi
ah yes,

i get the alt text 'permanent link' come up there and if i click it, i get a different version of the page: blog.php?b=3 where the image shows up as normal. perhaps alt text is not fully supported by safari for mac?

Re: Broken image link

Posted: Tue Mar 30, 2010 10:47 pm
by michi
bubudi wrote:perhaps alt text is not fully supported by safari for mac?
No, that's not the problem. The same thing happens with IE.

Here is the link target when viewing the version that works (with the URL blog.php?b=3):
Code: Select all
src="styles/prosilver/imageset/icon_post_target.gif"
The link target is relative to /board.

When viewing the version that's broken (with the URL blog/James/sibo_bangoura_gig_b-3.html), the link target is the same, but the page is two levels down in the directory tree. So, instead, it should be
Code: Select all
src="../../styles/prosilver/imageset/icon_post_target.gif"
Either that, or add a symbolic link to each user's blog directory:
Code: Select all
styles -> ../../styles
Cheers,

Michi.

Re: Broken image link

Posted: Wed Mar 31, 2010 4:22 pm
by James
I'm going to upgrade the forum soon so I can get a fresh version of this mod-blog. There seems to be a couple of bugs in the version we're running...