Author Topic: Sudden Random Image Problem  (Read 6484 times)

0 Members and 1 Guest are viewing this topic.

Offline IzyB

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • OmNamaste
Sudden Random Image Problem
« on: July 31, 2005, 11:30:04 PM »
Last night I realized something different that didn't happen before. Whenever I go into a Category that has subcategories (empty or not) the Random Image appears in the category. It doesn't happen in any other Category, only those with subcats. I included a picture of what is happening. This does not happen in the 4images default template so it must be something in the FI_Apple_Blue template I am using. Can someone tell me where this may be occuring in the files and how to fix it? I am using v1.71.

Thanks!
Tina
Namaste,
Tina

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Sudden Random Image Problem
« Reply #1 on: August 01, 2005, 12:16:06 AM »
again, u are refering to a template that u downloaded somewhere. please reply to the thread where u got the template from, or if the thread is gone, atleast mention that in your post.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline IzyB

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • OmNamaste
Re: Sudden Random Image Problem
« Reply #2 on: August 01, 2005, 04:43:39 AM »
Well, I finally found the offending file. It is categories.html in my template. I uploaded a "clean" version and it disappeared. Yesterday I installed the "SlideshowII" mod and a friend was helping me. This was one file that was changed. Can someone tell me what needs to be changed to get rid of the random image in here without killing my slideshow?

Code: [Select]
{header} {if user_loggedin}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left">
<b class="title">{cat_name}</b>
<br />
{cat_description} (Hits: {cat_hits})
</td>
<td align="right">{slideshow_button}  {upload_button}</td>
</tr>
</table>

<br />

{if categories}
<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0"><tr><td>

{thumbnail}
</td><td valign="top" width="7" class="ds_right" ></td></tr><tr height="7"><td align="left" height="7" class="ds_bottom" ></td><td width="7" height="7" class="ds_corner"></td></tr></table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat">{lang_categories}</td>
</tr>

<tr>
<td class="row1" width="100%">
{categories}
</td>
</tr>

</table>

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tb12_l.gif" width="10" height="12" alt="" /></td>
<td class="tb12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tb12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<br />
{endif categories}{paging_stats}
<br />
{if msg}<b>{msg}</b><br /><br />{endif msg}

{if thumbnails}

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat">&nbsp;</td>
</tr>

<tr>
<td class="row1" width="100%">
{thumbnails}
</td>
</tr>

</table>

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tb12_l.gif" width="10" height="12" alt="" /></td>
<td class="tb12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tb12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

{endif thumbnails}
<br />
{paging}
<br />
<br />

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left">{category_dropdown_form}</td>
<td align="right">{setperpage_dropdown_form}</td>
</tr>
</table>

{endif user_loggedin} {footer}
Namaste,
Tina

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Sudden Random Image Problem
« Reply #3 on: August 01, 2005, 04:53:15 AM »
looks like {thumbnail} is not supposed to be there.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline IzyB

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • OmNamaste
Re: Sudden Random Image Problem
« Reply #4 on: August 01, 2005, 05:30:41 AM »
That fixed it V@no! Thanks! Now I have a space I need to close. I've fiddled with a few things and they didn't work. I don't want to make another mess out of things :lol: Can you tell me where in that code I need to fix to close the space? I attached a picture. I colored the space that needs to be closed red.
Namaste,
Tina

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Sudden Random Image Problem
« Reply #5 on: August 01, 2005, 05:58:39 AM »
why dont u just reinstall the template and install the mod u've mention but more carefully ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline IzyB

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • OmNamaste
Re: Sudden Random Image Problem
« Reply #6 on: August 01, 2005, 06:21:29 AM »
Because it took me several hours because of things that went wrong. I'd rather figure it out this way.

Edit: Got it fixed:)
Namaste,
Tina