Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Picture and link tie together (in PHP)

Discussion of Ken True's web site templates

Moderator: saratogaWX

Post Reply
Lefuet
Posts: 6
Joined: Tue 17 Jul 2012 2:04 pm
Weather Station: WH 3080
Operating System: Windows 7 Ultimate
Location: Hiltenfingen
Contact:

Picture and link tie together (in PHP)

Post by Lefuet »

Hello, weather municipality! I would need your help, I have a picture and would like to add a link to this picture that if I on the picture I click to this address is passed on! in PHP! If this has not tried here, however, functioned:

?>

<div id="main-copy">
<center><h1><?php langtrans('Mitglied bei ...'); ?></h1>

<p>a href=http://www.awekas.at/de/instrument.php?id=9126"><img src="http://www.awekas.at/images/awekas-b1.gif" /></p></center>

</div><!-- end main-copy -->

<?php
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Picture and link tie together (in PHP)

Post by steve »

I don't know how to make this work specifically in the situation that you have, but your 'anchor' tag (the link) is not formed correctly.

This line:

<p>a href=http://www.awekas.at/de/instrument.php?id=9126"><img src="http://www.awekas.at/images/awekas-b1.gif" /></p></center>

needs to be

<p><a href=http://www.awekas.at/de/instrument.php?id=9126"><img src="http://www.awekas.at/images/awekas-b1.gif" /></a></p></center>
Steve
Post Reply