Author Topic: show thumb name at the bottom of the tumb cell??  (Read 7177 times)

0 Members and 1 Guest are viewing this topic.

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
show thumb name at the bottom of the tumb cell??
« on: October 10, 2002, 04:01:34 AM »
I set my thumbnails to 100px, but some thumbnails proportionaly was created with height less then 100px. so, in a category thumbnail's filename prints right after thumb and leave some space at the bottom of that cell. I could figure how to put all together (image and name) to the bottom, right, left, but cant seporate them to show thumb on top and filename with buttons at the bottom of the cell.
is there a way to do so?
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 Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
show thumb name at the bottom of the tumb cell??
« Reply #1 on: October 10, 2002, 08:25:27 AM »
Try this code in template thumbnail_bit.html

Code: [Select]
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">{thumbnail}</td>
  </tr>
  <tr>
    <td valign="bottom">
 <b>{image_name}</b> {if image_is_new}<sup class="new">{lang_new}</sup>{endif image_is_new} ({user_name_link})<br />
      <a href="{cat_url}">{cat_name}</a><br />
      {if allow_comments}{lang_comments} {image_comments}{endif allow_comments}<br />
      {lightbox_button}</td>
  </tr>
</table>


Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

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
show thumb name at the bottom of the tumb cell??
« Reply #2 on: October 10, 2002, 11:52:46 AM »
hmmm..for some reason it just doesnt work, nothing changed.
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 Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
show thumb name at the bottom of the tumb cell??
« Reply #3 on: October 10, 2002, 05:37:38 PM »
Can you post the link to your gallery...

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

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
show thumb name at the bottom of the tumb cell??
« Reply #4 on: October 10, 2002, 07:08:56 PM »
Quote from: Jan
Try this code in template thumbnail_bit.html

Code: [Select]
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">{thumbnail}</td>
  </tr>
  <tr>
    <td valign="bottom">
 <b>{image_name}</b> {if image_is_new}<sup class="new">{lang_new}</sup>{endif image_is_new} ({user_name_link})<br />
      <a href="{cat_url}">{cat_name}</a><br />
      {if allow_comments}{lang_comments} {image_comments}{endif allow_comments}<br />
      {lightbox_button}</td>
  </tr>
</table>


Jan


woohoo! with yoiur code I changed this line:
Code: [Select]

    <td valign="top">{thumbnail}</td>

to this:
Code: [Select]
   <td valign="top" height="100">{thumbnail}</td>
and it's perfect! thx alot![/code][/quote]

thx alot!
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)