Author Topic: detail.html file help editing!  (Read 8626 times)

0 Members and 1 Guest are viewing this topic.

Offline Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
detail.html file help editing!
« on: January 01, 2006, 05:09:34 AM »
Hey.

I want to edit my detail.html file but I want it to look like this here. I also want to show the thumbnail instead of just the text link ... the way she has it. Any ideas how I can get it to look like that & to show the thumbnails?

Thanks.

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
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 Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: detail.html file help editing!
« Reply #2 on: January 01, 2006, 08:54:50 PM »
ok I figured out how to show a thumbnail link , but I can't figure out how to get my detail page to look like that. I searched the forums (faq, etc) but nothing. Any help or ideas? Thanks.

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: detail.html file help editing!
« Reply #3 on: January 01, 2006, 10:00:01 PM »
@Caramel_lady :

Hi, I might not have a straight answer to your question. However, I just wish to advise you NOT to post the sessionid along with your posted URL from the first thread on this topic (security reasons). ;)

The link should be simply posted like this :

http://gottigallery.com/details.php?image_id=5296

Offline Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: detail.html file help editing!
« Reply #4 on: January 01, 2006, 10:12:08 PM »
 :oops: sorry about that.

So can anyone help?  :(

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: detail.html file help editing!
« Reply #5 on: January 01, 2006, 11:34:20 PM »
... but I can't figure out how to get my detail page to look like that ...

1. we don't know how look like your detail page now ...
2. I think you should delete everything (tables, images, tags, ...) from your detail page (details.html) which you wouldn't like to see ...
3. simply edit the html-code of your details.html (tables, colors, desired tags, ... ) according to your conceptions ...
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 Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: detail.html file help editing!
« Reply #6 on: January 02, 2006, 03:32:14 AM »
Ok I think I'm getting it :)

Now to add a background color to where the image apppears the way she has it I''' have to add bgcolor="whatever color" right? And why does it say {endif allow_comments}  And where the thumbnail shows to show "next" "prev" image how can I seperate it like that?

Here's my link so you can see:
http://coponfan.com/visuals/details.php?image_id=5&sessionid=d62c6904a91aae01a0762ac2fb7f2133

Also ... just incase here's my code:

Code: [Select]
{header}
<table width="640" border="0" cellspacing="0" cellpadding="0" align="center">
                   <table width="100%" border="0" cellspacing="0" cellpadding="3">
  <tr valign="top">
    <td class="row2">
      {if prev_image_name}{lang_prev_image}<br />
      <b><a href="{prev_image_url}">{prev_image_name}</a></b>

      <br /><br /><a href="{prev_image_url}"><img src="{prev_thumb_file}" border="1"></a>

      {endif prev_image_name}&nbsp;</td>
    <td align="right" class="row2">
      &nbsp;{if next_image_name}{lang_next_image}<br />
      <b><a href="{next_image_url}">{next_image_name}</a></b>

      <br /><br /><a href="{next_image_url}"><img src="{next_thumb_file}" border="1"></a>

      {endif next_image_name}</td>
  </tr>
</table>

                <td width="1" class="bordercolor" valign="top">
                <td width="18" valign="top"></td>
                <td width="450" valign="top"><br />
                  <b class="title">{image_name}</b>{if image_is_new} <sup class="new">{lang_new}</sup>{endif image_is_new}
                  {if msg}<b>{msg}<br /><br /></b>{endif msg}
                  <div align="center">
    {image}
    {if admin_links}<br />{admin_links}<br />{endif admin_links}
    <br />{download_button}
  </div>
  <br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td class="bordercolor">
                        <table width="100%" border="0" cellpadding="3" cellspacing="0">
  <tr>
                            <td class="head1" valign="top" colspan="2">{image_name}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_description}</b></td>
                            <td valign="top" class="row1">{image_description}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_keywords}</b></td>
                            <td valign="top" class="row2">{image_keywords}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_date}</b></td>
                            <td valign="top" class="row1">{image_date}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_hits}</b></td>
                            <td valign="top" class="row2">{image_hits}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_downloads}</b></td>
                            <td valign="top" class="row1">{image_downloads}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_rating}</b></td>
                            <td valign="top" class="row2">{image_rating} ({image_votes} {lang_votes})</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_file_size}</b></td>
                            <td valign="top" class="row1">{image_file_size}</td>
                          </tr>
  <tr>
                            <td valign="top" class="row2"><b>{lang_added_by}</b></td>
                            <td valign="top" class="row2">{user_name_link}</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
  {if iptc_info}
  <br />
  <table width="100%" border="0" cellspacing="0" cellpadding="1">
                  <tr>
                    <td class="bordercolor">
                      <table width="100%" border="0" cellpadding="3" cellspacing="0">
                        <tr>
                          <td class="head1" valign="top" colspan="2">IPTC Info</td>
                        </tr>
                {iptc_info}
                        </table>
                      </td>
                    </tr>
                  </table>
                  {endif iptc_info}

                  <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr>
                      <td class="head1" valign="top">
                        <table width="100%" border="0" cellpadding="3" cellspacing="1">
                          <tr>
                            <td valign="top" class="head1">{lang_author}</td>
<td valign="top" class="head1">{lang_comment}</td>
                          </tr>
                          {comments}
                        </table>
                      </td>
                    </tr>
                  </table>
  <br />
  {comment_form}
                  {endif allow_comments}
  <br />
  <br />
             
                  <p>&nbsp;</p>
                </td>
                <td width="20" valign="top">
</tr>
</table>

Hope you can help ... thanks :)


Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: detail.html file help editing!
« Reply #7 on: January 02, 2006, 04:31:24 AM »
Quote

Here's my link so you can see:
http://coponfan.com/visuals/details.php?image_id=5&sessionid=d62c6904a91aae01a0762ac2fb7f2133


Again, without the SESSIONID.  :roll:

Offline Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: detail.html file help editing!
« Reply #8 on: January 02, 2006, 06:38:09 AM »
damn it ... so so sorry I totally forgot!  :x

So ... can anyone else help?!  :wink: