Author Topic: Problem  (Read 9171 times)

0 Members and 1 Guest are viewing this topic.

Offline scrat

  • Pre-Newbie
  • Posts: 9
    • View Profile
Problem
« on: May 28, 2010, 12:59:22 PM »
Hallo!!

Hab mal ne dumme Frage: Wie bekomme ich das hin, daß die Anzeige der Thumbnails immer gleich bleibt egal, wie groß das bild ist?.....weil so wies auf dem screen ist, gefällts mir gar nicht. die felder sollen gleich groß sein

Hello
How can I do that, that the frame where the thumbnails are always the same size ... thanks

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Problem
« Reply #1 on: May 28, 2010, 02:27:18 PM »
Hallo scrat und willkommen im 4images-Forum ...

... da deine Bilder ja verschiede Formatlagen haben, macht es m.E. nach keinen Sinn das Problem über die Thumbnail-Größe zu lösen ...
... verwende in der thumbnail_bit.html für den Rahmen um das Thumbnail (div oder tab) eine fixe Höhe ... z.B. ... height="150" ...
... die Thumb-Rahmen sind dann immer gleich groß und das Thumbnail wird immer mittig angeordnet ...
... verwende ich eigentlich auch so und sieht m.E. nach top aus ...
...
... es gibt aber darüberhinaus noch die Möglichkeit quadratische Thumbs mit einheitlicher Seitenabmessung zu erzeugen ...
... doch dazu benötigts du eine Modifikation deiner 4images-Installation, die irgendwo in den Weiten dieses Forums zu finden ist ...
... diese Variante ist natürlich nur wesentlich aufwändiger umzusetzen und sieht nicht unbedingt besser aus ...
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 scrat

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Problem
« Reply #2 on: May 28, 2010, 02:59:03 PM »
danke für den tip...kannste mir auch noch verraten, wie der code dazu aussieht und wo ich den genau einfügen muß?

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Problem
« Reply #3 on: May 28, 2010, 03:14:27 PM »
... da ich deine Website und auch nicht dein Template kenne, ist es etwas schwierig den Hinweis zu konkretisieren ...
... eigentlich ist nur folgendes umzusetzten ...
... verwende in der thumbnail_bit.html für den Rahmen um das Thumbnail (div oder tab) eine fixe Höhe ... z.B. ... height="150" ...

... wenn du damit nicht weiter kommst, so poste hier kurz den Code deiner /templates/<dein_template>/thumbnail_bit.html ...
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 scrat

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Problem
« Reply #4 on: May 28, 2010, 03:24:45 PM »
so hier ist mal der code meiner thumbnail_bit.html

Code: [Select]
<!-- you wish detail page in a small javascript open window, use {thumbnail_openwindow} -->
<div  class="thumb" onmouseover="this.className='thumb2'" onmouseout="this.className='thumb'">
<center>
{thumbnail}
</center>
</div>


<div class="info">
<center>
<p class="cat">{image_name}{if image_is_new}<span class="new">{lang_new}</span>{endif image_is_new}</p>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    {if categories}<td><p class="category"><a href="{cat_url}">{cat_name}</a></p></td>{endif categories}
    {if allow_comments}<td><p class="comment">{image_comments}</p></td>{endif allow_comments}
    <td><p class="user">({user_name_link})</p></td>
  </tr>
</table>

{lightbox_button}
</center>
</div>

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Problem
« Reply #5 on: May 28, 2010, 05:48:08 PM »
Code: [Select]
<div height="150" class="thumb" onmouseover="this.className='thumb2'" onmouseout="this.className='thumb'">
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 scrat

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Problem
« Reply #6 on: May 29, 2010, 12:36:06 PM »
Danke für den Code...aber es funktioniert nicht.siehe scrennshot


Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: Problem
« Reply #7 on: May 31, 2010, 12:59:20 PM »
Gib mal einen Link auf eine Webeite!

Offline scrat

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Problem
« Reply #8 on: May 31, 2010, 10:42:01 PM »
doch funktioniert, man muss nur den div - tag ganz am ende des codes setzen und alles damit schließen

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Problem
« Reply #9 on: May 31, 2010, 11:19:09 PM »
... ? ...
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 Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: Problem
« Reply #10 on: June 01, 2010, 12:54:25 AM »
der wird doch schon geschlossen, siehe deinen geposteten code, hast ihn wohl vorher gelöscht  :wink:

und Du solltest ja nur die rote Stelle erneuern

<!-- you wish detail page in a small javascript open window, use {thumbnail_openwindow} -->
<div  class="thumb" onmouseover="this.className='thumb2'" onmouseout="this.className='thumb'">
<center>
{thumbnail}
</center>
</div>

Harald
Danke Harald