Skip to content
WJunction - Webmaster Forum

Please help with this little code

Status
Not open for further replies.

Divvy

Experienced Member
806
2009
18
Hello friends,

Maybe someone can help me...

I need a little help with a phpLD theme code.

I want to display an image that is already displaying in the file detail.tpl
Code:
http://paste2.org/NO8wmJPx

The working code is this:
PHP:
{elseif $item.FIELD_NAME eq 'AFFURL'}
        {elseif $item.TYPE eq 'IMAGE'}
        <tr>
          <td class="label">{l}Screenshot{/l}:</td>
          <td class="smallDesc" align="left">
              <a href="{$smarty.const.SITE_URL}uploads/{$link_data[$item.FIELD_NAME]}?detail=1&TB_iframe=true&height=400&width=400" onclick="return showThickbox(this);" class="thickbox">
                <img src="{$smarty.const.SITE_URL}uploads/thumb/{$link_data[$item.FIELD_NAME]}"/>
              </a>
            </td>
        </tr>

But I dont know how to integrate here on link.tpl:
Code:
http://paste2.org/by8b70AF

Just need to replace this code:
PHP:
<img src="http://images.thumbshots.com/image.aspx?cid=0HWfj%2fGGyjE%3d&v=1&w=120&url={$link.URL|escape|trim}" border="1" alt="Preview by Thumbshots.com" />

Can someone help me? :)

Thanks!

__________________
Added after 19 Hours 11 minutes:

Please, anyone? :)

__________________
Added after 1 Day 3 Hours:

Bump for me
 
Last edited:

3 comments

Thank you for your reply mate, but I dont understand nothing about program...

Can someone please help me with the codes above?

Thanks :)
 
You'll have to pass the image variable to your template. I don't exactly know which template engine you are using, hence I'm unable to give you a code.
If you want we will fix this code for you without any charge, but we will need the FTP access to your server to do so.
 
Status
Not open for further replies.

About the author

D
Experienced Member · Joined
806
Messages
18
Reactions
18
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom