CUSTOMIZATION - How To Remove Image Linking In BBCode »  Show posts from    to     

Icy Phoenix


Documentation And How To - CUSTOMIZATION - How To Remove Image Linking In BBCode



Zuker [ Thu 05 Apr, 2007 16:22 ]
Post subject: CUSTOMIZATION - How To Remove Image Linking In BBCode
If you the images in posts and signatures but no with the "link" part (open image in new window).

Open includes/bbcode.php

FIND

Code: [Hide] [Select]
$html = '<a href="' . $params['src'] . '" target="_blank" title="' . $lang['OpenNewWindow'] . '">' . $html . '</a>';


REPLACE WITH

Code: [Hide] [Select]
$html = $html;


JHOSMAN [ Mon 19 Nov, 2007 00:41 ]
Post subject: Re: How To Remove The Image Linking
This is in the IcyPhoenix 1.1.7.22 RC 1

Open includes/bbcode.php

FIND:

Code: [Hide] [Select]
{
$extra_html = ' target="_blank" title="' . $lang['OpenNewWindow'] . '"';
}
$html = '<a href="' . $this->process_text($img_url) . '"' . $extra_html . '>' . $html . '</a>';


REPLACE WITH
Code: [Hide] [Select]
$html = $html;


arinkverma [ Tue 26 Feb, 2008 11:42 ]
Post subject: Re: How To Remove The Image Linking
plz help me how to open image as preview in same page only


Damian [ Tue 26 Feb, 2008 13:12 ]
Post subject: Re: How To Remove The Image Linking
Try change target="_blank" by target="_self"




Powered by Icy Phoenix