Download & Extend

Links Display option problem

Project:Imce CCK Image
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active

Issue Summary

When I choose a link for Display Option it makes the whole body text rendered as a link. No imceimage link of its own is available. And when when I try to click the body (whick now is all just link) I am lead to page not found. What did I do wrong? Any help?

Comments

#1

Component:Miscellaneous» Code

The Link display option is broken

the following is part of what IMCEImage creates for a single image when trying to display it as a LINK

<?php
....
<
div class="field field-type-imceimage field-field-image">
<
div class="field-label">IMCE image: </div>
<
div class="field-items">
<
div class="field-item odd">
<
a class="imceimage-link" href="/domain//domain/sites/default/files/images/image5.png">        </a>
</
div>
<
a class="imceimage-link" href="/domain//domain/sites/default/files/images/image5.png">        </a>
</
div>
</
div>
<
a class="imceimage-link" href="/domain//domain/sites/default/files/images/image5.png">  </a>
</
div>
<
a class="imceimage-link" href="/domain//domain/sites/default/files/images/image5.png">  </a>
</
div>
<
a class="imceimage-link" href="/domain//domain/sites/default/files/images/image5.png">            </a>
</
div>
<
a class="imceimage-link" href="/domain//domain/sites/default/files/images/image5.png">                    </a>
</
div>
<
a class="imceimage-link" href="/domain//domain/sites/default/files/images/image5.png">                    </a>
....
?>

The href links themselves are not correct an extra "base_path" gets added to them
base_path = domain