https://www.icyphoenix.com/viewtopic.php?f=4&t=1525
-----------------------------------
Zuker
Thu 05 Apr, 2007 16:22

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 [b]includes/bbcode.php[/b]

FIND

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

REPLACE WITH

[codeblock]$html = $html;[/codeblock]


-----------------------------------
JHOSMAN
Mon 19 Nov, 2007 00:41

Re: How To Remove The Image Linking
-----------------------------------
This is in the IcyPhoenix 1.1.7.22 RC 1

Open includes/bbcode.php 

FIND:

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

REPLACE WITH
[codeblock]
$html = $html;[/codeblock]  :mrblue:


-----------------------------------
arinkverma
Tue 26 Feb, 2008 11:42

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

Re: How To Remove The Image Linking
-----------------------------------
Try change target="_blank" by target="_self"


