Hi,
I can't seem to find where I need to go to delete border="0" from the article image - [IMAGE] - which is used in the full article display template.
I need to get this sorted for a charity website which requires WAI AAA authentication to ensure it get a grant from the govt.
Many thanks in advance.
Jon
Remove border=0 from image??
Do you mean from "conf.template_default.inc.php":
Code: Select all
$template_default["article"]["image_border"] = 0;Hi,
Thanks for getting back. I have already removed the following code but it still doesn't remove the border attribute from the img tag?
Please advise??
Many thanks
Jon
Thanks for getting back. I have already removed the following code but it still doesn't remove the border attribute from the img tag?
Code: Select all
$template_default["article"]["image_border"] = 0;Many thanks
Jon
Oh, you must mean the Replacement Tags here?
"include/inc_front/front.func.inc.php"
"include/inc_front/front.func.inc.php"
Code: Select all
// insert non db image standard
$search[7] = '/\{IMAGE:(.*?)\}/';
$replace[7] = '<img src="picture/$1" border="0" alt="" />';
// insert non db image left
$search[8] = '/\{IMAGE_LEFT:(.*?)\}/';
$replace[8] = '<img src="picture/$1" border="0" align="left" alt="" />';
// insert non db image right
$search[9] = '/\{IMAGE_RIGHT:(.*?)\}/';
$replace[9] = '<img src="picture/$1" border="0" align="right" alt="" />';
// insert non db image center
$search[10] = '/\{IMAGE_CENTER:(.*?)\}/';
$replace[10] = '<div align="center"><img src="picture/$1" border="0" alt="" /></div>';Excellent thank you very much, although what you posted wasn't what I meant, it pointed me to the right file 'content.article.inc.php' I just removed border=0 from it.
Code: Select all
$thumb_img = '<img src="'.PHPWCMS_IMAGES . $thumb_image[0] .'" '.$thumb_image[3].' alt="'.$caption[1].'" title="'.$caption[1].'">';