Page 1 of 1

images not shown (J4)

Posted: 14 Aug 2022, 02:19
by ndatenda
after not being able to see neither into nor fulltext-image
I did the following change around lines 119 to 121
in plugins/phocapdf/content/content.php

if ($display_image_fulltext == 1 && isset($images['image_fulltext']) && $images['image_fulltext'] != '') {
$outputBefore .= '<div style="text-align:center;">' . '<img style="'.$widthCSS.'" src="'. Juri::root() . substr($images["image_fulltext"],0,strpos($images["image_fulltext"],"#")) . '" /></div>';
}


before it was:

if ($display_image_fulltext == 1 && isset($images['image_fulltext']) && $images['image_fulltext'] != '') {
$outputBefore .= '<div style="text-align:center"><img style="'.$widthCSS.'" src="'. Juri::root() . '' .$images['image_fulltext'].'" /></div>';
}

the string deliverd by $images['image_fulltext'] was far too long.
oh, i forgot: obviously the lines for intro-image need the same change...

if somebody has a better idea: you are welcome!

Re: images not shown (J4)

Posted: 20 Aug 2022, 23:29
by Jan
Hi, thank you for this info.

Jan