4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 26, 2016, 01:05:03 AM

Login with username, password and session length
Search:     Advanced search
You're looking for some 4images templates and styles? Then visit this thread to show websites with 4images templates to download.
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Help / Hilfe
| |-+  FAQ, Tips
| | |-+  How can I display Next/Previous thumbnails in details.html?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: How can I display Next/Previous thumbnails in details.html?  (Read 59834 times)
Chris
4images Moderator
4images Guru
*****
Offline Offline

Posts: 4487

Thank You
-Given: 0
-Receive: 29

Did u ever stop to think and then forget to start?


View Profile
« on: April 11, 2005, 04:58:09 AM »

details.html is the template that displays image details along with the image itself (via one of the media templates)

By default, the details.html template uses text links for navigating to the next and previous images. Some people would prefer to also show the thumbnails of those images.

In the details.html template that ships with the downloaded distribution of 4images, there is the following code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<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>
As you can see above, there is already HTML code that can display the thumbnails. It is simply commented out. To activate the thumbnails, uncomment the thumbnail HTML links:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<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>
Logged

wallpapers
Full Member
***
Offline Offline

Posts: 107

Thank You
-Given: 2
-Receive: 0


View Profile WWW
« Reply #1 on: April 02, 2006, 09:30:17 PM »

Thanks this is what i need  Very Happy
Logged



mapo
Pre-Newbie

Offline Offline

Posts: 3

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #2 on: April 13, 2006, 06:53:30 PM »

Thanks man!
Logged
staygold
Pre-Newbie

Offline Offline

Posts: 5

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #3 on: April 15, 2006, 11:57:00 AM »

Hi , i've tried to make it work , but it doesn't seem to work.
Let's see, the topic is about the small textbuttons (previous or next image) But instead of the text functioning as button a thumbnail is displayed and works as a button.
I'm not sure if i did the above displayed info the right way.
I only have to remove the "<---!" thingies in front of the code? Or is that to easy thinking of me Rolling Eyes
It doesn't seem to work with me...
Logged
staygold
Pre-Newbie

Offline Offline

Posts: 5

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #4 on: April 15, 2006, 12:00:51 PM »

teehee Very Happy silly me....I was working in the wrong template Cool Everything's working out just great!
Thankz mate!
Logged
staygold
Pre-Newbie

Offline Offline

Posts: 5

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #5 on: April 15, 2006, 12:17:44 PM »

I do have another question about the prev-next button option.
Is it possible to have the thumb or prev-next buttons on a different place in the page, instead of all the way down there.
Let's say for example, next to the "main"image or is it possible to let the image itself function as a button Question
Logged
ManniC
Full Member
***
Offline Offline

Posts: 182

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #6 on: April 15, 2006, 12:56:46 PM »

Just change the position in details.html
Logged

Viele Grüße / Best Regards
Manfred
------------------------------------------------------
photographic impressions powered by mc-com.de[/color][/url][/size]
live@ct
Sr. Member
****
Offline Offline

Posts: 348

Thank You
-Given: 2
-Receive: 0


View Profile
« Reply #7 on: November 03, 2006, 04:43:27 AM »

I activate the thumbs for next and prev image but this show by the order of name (I think so)
but I like to the next and prev images show by the order of the categorie

how can I do that?!?!?!?!
Logged

Existen 10 tipos de personas, los que entienden el codigo binario y los que no.
angellove
Pre-Newbie

Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #8 on: November 21, 2006, 11:41:27 AM »

sorry but i'didn't get the point what the meanining of uncomment thumbnails html links
Logged
mawenzi
4images Moderator
4images Guru
*****
Offline Offline

Posts: 4500

Thank You
-Given: 36
-Receive: 121


View Profile
« Reply #9 on: November 21, 2006, 12:38:19 PM »

... uncomment html-code, that means ... you have only to remove ...
and
Logged

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) ...
skidpics
Jr. Member
**
Offline Offline

Posts: 61

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #10 on: September 26, 2007, 06:12:30 AM »

Is there  a way to make it into a more filmstrip style, with the middle picture being the picture you are viewing and perhaps 2 on each side for next, next and prev, prev..  totalling maybe 5 images? So that would be the 2 next images, and 2 previous images based on the position you are now..??
Logged
mawenzi
4images Moderator
4images Guru
*****
Offline Offline

Posts: 4500

Thank You
-Given: 36
-Receive: 121


View Profile
« Reply #11 on: September 26, 2007, 06:22:34 AM »

@skidpics
... then use this ...
http://www.4homepages.de/forum/index.php?topic=7294.0

Logged

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) ...
skidpics
Jr. Member
**
Offline Offline

Posts: 61

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #12 on: September 26, 2007, 01:04:32 PM »


thanks, but none of the links work that gets me to the actual 4images install.  I got the patch software, but after reading carefully on the chinese page, the link for detailed 4images install does not work..

Logged
thunderstrike
4images Guru
*******
Offline Offline

Posts: 2327

Thank You
-Given: 0
-Receive: 10


View Profile
« Reply #13 on: September 26, 2007, 08:29:41 PM »

Please read step 6 on my signature for does not work.
Logged

8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?
webmaster73
Jr. Member
**
Offline Offline

Posts: 75

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #14 on: March 02, 2008, 04:18:39 PM »


again. thank you
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.155 seconds with 19 queries.
Post your comments here