|
#1
|
|||
|
|||
|
Thumbs
How can I change the number os thumbs appear on the mais page!?
|
|
#2
|
||||
|
||||
|
As of now - there is no (easy) way to change it from five.
You can get three thumbnails by using template-tags, but the automatically generated row is five only. It has crossed my mind that I should make this an option in the admin panel. If you feel like altering the script it can be done, I can have a look and tell you what to change if you feel it would be of value to you. Unfortunately I will be on the road today, and tomorrow on a big meeting and the weekend is pretty much away from the computer. I'll do what I can though. // punK
__________________
icq: 66760929 |
|
#3
|
|||
|
|||
|
Quote:
/Kenneth |
|
#4
|
||||
|
||||
|
Line 121 to 156 takes care of the thumbnailrow in the main index.php file.
Take a closer look at lines 131 132 134 138 // punK
__________________
icq: 66760929 |
|
#5
|
|||
|
|||
|
7 thumbnails a row... but
... but 8 days a week
Open your main index.php file...and replace your current lines with the following ones.. 1 - $aheadlimit=3 2 - $behinlimit=3 3 -if($aheadnumb<="1") { $behindlimit=6-$aheadnumb; .... } 4 -if($behindnumb<="1") { $aheadlimit=6-$behindnumb; .... } 5 //thumbnail row, 7 thumbs... Then you should have a 7 thumbs nav bar... But some css need to be updated. |
|
#6
|
|||
|
|||
|
Thanks Olly! It worked like a charm... but in my never ending search for the ultimate design I'm constantly redesigning and right now simplyfying so I'm no longer showing thumbs on the front page. But thx anyway
![]() /Kenneth |
|
#7
|
|||
|
|||
|
couple pixels left please !!!!
Please leave couple pixels of your thumbnails...
On my point of view ... pict is the best way to tease your visitor for a 'one more click'... Even if your title is explicit... just couple pixels of colors and that's it... "let me watch that next pix..." if you want to simplify your design you could use a css that allow to hide part of your div leaving only couple pixels of your thumbs appear... [15x15 pixels visible right in the middle of your thumbs for example could match ] I eagerly await to see your new design... Aloha
|
|
#8
|
|||
|
|||
|
I totally agree that thumbnails really teases the visitor to check out more. At first I also really wanted to keep them but they took away too much attention from the main picture IMO. Everytime I've changed something I've stripped away something to make it more simple. Here's the link http://pinx.dk/photoblog/
I have not thought about clipping (that's what you are talking about right?) the thumbnails to make them smaller but I did a quick photshop test and it can actually look quite good. A row with 9 25x25 thumbs over the picture with large padding doesn't look too bad. How do I go about doing the clipping thing? /Kenneth |
|
#9
|
|||
|
|||
|
Clipping thumbnails
Thanks for the url... great sites and great pictures.
Quote:
Code:
<div id="topimg" style="position:absolute; width:200px; height:120px; z-index:9; left: 12px; top: 0px; overflow: hidden; clip: rect(20px 199px 115px 0px); visibility: hidden;"> <img src="/action/img/03042s.jpg" width="200" height="132" border="0" alt=""> </div> |
|
#10
|
|||
|
|||
|
Thx
![]() I've now tried and I got the clipping to work nicely but I have trouble with position. The thumbs clutter together on top of each other. I know it's because of position: absolute but I still don't fully understand what's happening. How does one work around this? I've taken a couple of screen shots of it. Here the current.thumbnail is not clipped: http://pinx.dk/tmp/files/fuuked_clip.jpg Here all the thumbs are clipped http://pinx.dk/tmp/files/fuuked_clip2.jpg and as you see the it's pretty useless like this... :wink: I've changed the thumbs back to 5 in the row. /Kenneth |
| Post Reply |
| Thread Tools | |
|
|