Author Topic: random image / remove infos  (Read 5443 times)

0 Members and 1 Guest are viewing this topic.

Offline insomnoid

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • http://www.insomnoid.de
random image / remove infos
« on: June 10, 2005, 09:52:27 PM »
hi,

can anyone tell me where / how the information of random image can be removed?!

i don't want the information

  image name
  number of comments
  user name

to be displayed, but can't find where to remove it?!

many thx (!),

o.

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: random image / remove infos
« Reply #1 on: June 10, 2005, 11:09:22 PM »
hi insomnoid,

in /templates/<your_template>/random_image.html remove : {image_name} {image_comments} {user_name_link}

mawenzi
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: random image / remove infos
« Reply #2 on: March 16, 2010, 05:19:35 PM »
Hi -

This is an old post but I have a question about code for random images:

How do I cut and paste the random image code for the home.html, for example, so that it appears at the top of the left column? I tried to cut and paste everything from {if random image} to {end random image} and put it above the user box but it totally messes with the sub header if I do that:

here is the code and the arrow where I tried to insert the random image code:

<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="150" class="row2" valign="top">
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
               ----->>> insert code here? didn't work... :(
                   <tr>
                      <td align="center" class="row1">{user_box}</td>
                    </tr>

Thanks for your thoughts,

Brian

Rembrandt

  • Guest
Re: random image / remove infos
« Reply #3 on: March 16, 2010, 05:52:41 PM »
Hi!

...

Code: [Select]
<table width="150" border="0" cellspacing="0" cellpadding="0">
                    {if random_image}
                    <tr>
                      <td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_random_image}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">
                    <br>
                        {random_image}
                    <br>
                    <br>
                      </td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    {endif random_image}
                    <tr>
                      <td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">{user_box}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>


mfg Andi

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: random image / remove infos
« Reply #4 on: March 16, 2010, 07:18:28 PM »
hi surferboy ...

... your special code " ----->>> insert code here? didn't work " need to be between the <td> and </td> html table tags ...
Code: [Select]
...<tr><td> "--->>> insert code here! and it will work !" </td></tr> ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: random image / remove infos
« Reply #5 on: March 16, 2010, 09:23:09 PM »
Hey Guys -

Thanks so much for the code and the lesson on tags!

Really appreciate. Works perfect and looks so sweet.

- Brian