Is it OK to Hard Coding it?
Oke what I do is :
Open:
lib/post-thumb-classes.php
Find:
// Starts output using no javascript library
else {
if ($this->showpost || !$this->has_image)
$this->html = $this->n.'<a href="'.$this->post_url.'"';
elseif ($this->showlink)
$this->html = $this->n.'<a href="'.$this->default_link.'"';
else
$this->html = $this->n.'<a href="'.$this->the_image.'"';
$this->html .= ' title="'.htmlspecialchars($this->title).'"';
if ($this->myclasshref !='') $this->html .= ' class="'.$this->myclasshref.'"';
$this->html .= '>';
$this->html .= $this->nt.'<img src="'.$this->thumb_url.'" alt="'.htmlspecialchars($this->alt_text).'"';
$this->html .= $this->myclassimg;
$this->html .= $this->align;
$this->html .= ' />'.$this->n.'</a>';
Replace with:
// Starts output using no javascript library
else {
if ($this->showpost || !$this->has_image)
$this->html = $this->n.'';
elseif ($this->showlink)
$this->html = $this->n.'<a href="'.$this->default_link.'"';
else
$this->html = $this->n.'<a href="'.$this->the_image.'"';
$this->html .= '';
if ($this->myclasshref !='') $this->html .= '';
$this->html .= '';
$this->html .= $this->nt.'<img src="'.$this->thumb_url.'" alt="'.htmlspecialchars($this->alt_text).'"';
$this->html .= $this->myclassimg;
$this->html .= $this->align;
$this->html .= ' />'.$this->n.'';
The thing I do is removing “<a href=” at the first statement, where it was using the “link=p” in my the_thumb() code.