Jump to content

What is the code?


Kyle

Recommended Posts

  • Moderators

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?

Link to comment
Share on other sites

  • Moderators

In the default downloads_list.tpl you would use

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

within the $download loop for each listing

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...