# What is the code?

**URL:** <https://forum.phpvms.net/t/what-is-the-code/2540>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [April 29, 2010, 12:42am UTC](https://forum.phpvms.net/t/what-is-the-code/2540 "2010-04-29T00:42:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [April 29, 2010, 12:42am UTC](https://forum.phpvms.net/t/what-is-the-code/2540/1 "2010-04-29T00:42:13Z")

</div>

Hi,

On the download pages, but i’m not sure what’s the code/php code to dispaly imgages that are linked to a single download. IT will only show the title and the des of the download.

I want the img to display too. Does anyone know the code for it?

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [April 29, 2010, 1:32am UTC](https://forum.phpvms.net/t/what-is-the-code/2540/2 "2010-04-29T01:32:34Z")

</div>

In the default downloads\_list.tpl you would use

```
<?php echo '<img src="'.$download->image.'" />'; ?>

```

within the $download loop for each listing

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [April 29, 2010, 3:45am UTC](https://forum.phpvms.net/t/what-is-the-code/2540/3 "2010-04-29T03:45:50Z")

</div>

> In the default downloads\_list.tpl you would use
> 
> \<?php echo ' ![]()'; ?\>
> 
> within the $download loop for each listing

You are one fine greatest person here on phpVMS! ThankS!!!
