https://www.icyphoenix.com/viewtopic.php?f=35&t=1422
-----------------------------------
imation
Sat 24 Mar, 2007 16:18

Remove Link From Image Posted.
-----------------------------------
How can i remove the link on a image that is posted within [img] tags. there is no  tag but still when i bring the mouse on the image and click it.it takes me to where its uploaded and theres no url tag! whats wrong?

for example.... see this post here  http://fidunderground.ig3.net/viewtopic.php?t=800

theres no url link on the image its only in img tags.  how do i remove the link from it?


thanx


-----------------------------------
Vortex
Sat 24 Mar, 2007 19:21

Re: Remove Link From Image Posted.
-----------------------------------
That is normal, imation. All images in XS and Icy Phoenix are autolinked to their own location, that's because of the "Direct Image Link" mod inserted in Icy Phoenix.


[b]I may be wrong[/b], but I don't think there is a switch from ACP to disable that mod so the only way to avoid it to affect posted images is to remove the mod manually.


-----------------------------------
Zuker
Sat 24 Mar, 2007 20:04

Re: Remove Link From Image Posted.
-----------------------------------
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]


-----------------------------------
Vortex
Sat 24 Mar, 2007 20:31

Re: Remove Link From Image Posted.
-----------------------------------
Very nice [b]Zuker[/b], I looked for that mod in order to uninstall it but I didn't find it, thanks ;)


