Author Topic: Thumbnails at next picture  (Read 4809 times)

0 Members and 2 Guests are viewing this topic.

Offline rustynet

  • Addicted member
  • ******
  • Posts: 1.031
  • {if msg}{msg}{endif msg}
    • View Profile
    • rustynet.de
Thumbnails at next picture
« on: March 15, 2003, 04:46:07 PM »
V@no can you tell us please, how to do this?





Thanks  :D

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: Thumbnails at next picture
« Reply #1 on: March 15, 2003, 05:11:01 PM »
Quote from: boti
V@no can you tell us please, how to do this?





Thanks  :D

Open /templates/<youtemplate>/details.html
find:
Code: [Select]
 {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}

uncoment two lines (delete <!-- and at the end of the line --> )
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 jengwen

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • http://www.jenrichardsphotography.com
Thumbnails at next picture
« Reply #2 on: March 15, 2003, 06:08:28 PM »
Well, I for one, feel a little silly that I couldn't figure that one out myself. :D   Once V@no got me on the right track, I tweaked it a bit, because my thumbnails were too big.  Here is the code I have now:

Code: [Select]
<table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td class="bordercolor">
                        <table width="100%" border="0" cellspacing="0" cellpadding="3">
                          <tr valign="bottom">
                             {if prev_image_name}
                            <td class="row2" width="45"><a href="{prev_image_url}"><img src="{prev_thumb_file}" border="1" width="40" height="40"></a></td>
                            <td class="row2"> {lang_prev_image}<br>
                              <b><a href="{prev_image_url}">{prev_image_name}</a></b>
                            </td>
                            {endif prev_image_name}
                             {if next_image_name}
                            <td align="right" class="row2">{lang_next_image}<br>
                              <b><a href="{next_image_url}">{next_image_name}</a></b>
                              </td>
                            <td align="right" class="row2" width="45"><a href="{next_image_url}"><img src="{next_thumb_file}" border="1" width="40" height="40"></a></td>
                            {endif next_image_name}
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>


To see it in action, visit http://www.jenrichardsphotography.com

Offline Shap

  • Full Member
  • ***
  • Posts: 114
    • View Profile
Thumbnails at next picture
« Reply #3 on: March 15, 2003, 06:33:00 PM »
was wondering how to do that! Looks great!

Offline rustynet

  • Addicted member
  • ******
  • Posts: 1.031
  • {if msg}{msg}{endif msg}
    • View Profile
    • rustynet.de
Thumbnails at next picture
« Reply #4 on: March 15, 2003, 07:07:43 PM »
To V@no and jengwen
Thank you very much  :D





boti