Forums | Mahara Community

Support /
Hyperlink from image in view


anonymous profile picture
Account deleted
Posts: 7

30 July 2009, 10:36

Hi,

I seem to have this strange problem that I am unable to link from an image in a textbox on one view to another view. Although I can create the hyperlink, mahara seems to always display the image rather than follow the link. Is this standard behaviour & how can I get around it? 

Thanks, Michael

anonymous profile picture
Account deleted
Posts: 1643

30 July 2009, 18:14

Hi - could you please provide a screenshot of what's in the WYSIWYG editor, and also the HTML content of the block that you get when editing it and clicking on the 'HTML' button?
anonymous profile picture
Account deleted
Posts: 7

31 July 2009, 3:52

Dear Nigel,

thanks for the reply. This is the page:

http://folio.rca.ac.uk/view/view.php?id=1826

Here's the html of the textbox:

---------------------

<p style="font-weight: bold; text-align: center; font-family: impact,chicago"><font size="7">&nbsp;Ceramics Today </font></p><div style="text-align: center"> </div><p style="text-align: center"><font size="1">&nbsp;</font></p><p style="text-align: center"><font size="2">&nbsp;An online exhibition of works by designers from the Royal College of Art.</font></p><p style="text-align: center">&nbsp;</p><p style="text-align: center">Click on the image to see the artist's folio.... </p><div style="text-align: center"> </div><table border="0" cellspacing="20" cellpadding="0" style="width: 448px; height: 590px; text-align: left; margin-left: auto; margin-right: auto">     <tbody><tr>       <td><img src="/artefact/file/download.php?file=2536" alt="" width="120" height="120" /></td>       <td><a href="/view/view.php?id=1976" title="sss"><img src="/artefact/file/download.php?file=2537" alt="" width="120" height="120" /></a></td>       <td style="text-align: center"><a href="/view/view.php?id=1976"><img src="/artefact/file/download.php?file=2538" alt="" width="120" height="120" /></a></td>     </tr>     <tr>       <td><a href="/view/view.php?id=1976"><img src="/artefact/file/download.php?file=2539" alt="" width="120" height="120" /></a></td>       <td><img src="/artefact/file/download.php?file=2540" alt="" width="120" height="120" /></td>       <td><img src="/artefact/file/download.php?file=2541" alt="" width="120" height="120" /></td>     </tr>     <tr>       <td><img src="/artefact/file/download.php?file=2542" alt="" width="120" height="120" /></td>       <td><img src="/artefact/file/download.php?file=2543" alt="" width="120" height="120" /></td>       <td><img src="/artefact/file/download.php?file=2544" alt="" width="120" height="120" /></td>     </tr>     <tr>       <td><img src="/artefact/file/download.php?file=2545" alt="" width="120" height="120" /></td>       <td><img src="/artefact/file/download.php?file=2546" alt="" width="120" height="120" /></td>       <td><img src="/artefact/file/download.php?file=2547" alt="" width="120" height="120" /></td>     </tr>   </tbody></table> 

------------------------

I don't add a screenshot, because it looks just the same, only with the hyperlinked images having a green border.

Thanks for you help on this - 

michael

anonymous profile picture
Account deleted
Posts: 1643

02 August 2009, 18:25

Hi Michael - I managed to duplicate this issue on my test installation, and came up with a patch that doesn't attempt to link the images if they're already linked.

If you're desperate, you can get it from here, otherwise you can wait for Mahara 1.1.6, which we're intending on releasing shortly. 

Thanks for the report! 

anonymous profile picture
Account deleted
Posts: 7

04 August 2009, 11:53

Dear Nigel,

wow, how very impressive! Thank you very much. - I am on holiday right now but will pass on your link and have it tested.

All the best, Michael

anonymous profile picture
Account deleted
Posts: 1643

04 August 2009, 18:41

We just released 1.1.6 a few hours ago, so you can simply upgrade to that Smile
6 results