Author Topic: Bilder in Extrafenster  (Read 5430 times)

0 Members and 1 Guest are viewing this topic.

Offline picasso

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • http://tvdiver.de
Bilder in Extrafenster
« on: October 08, 2002, 03:48:18 PM »
Hallo zusammen,

sorry für meine blöde Frage, wurde vermutlich schon 100 mal beantwortet... ich habe sie nur nicht über die Suchfunktion gefunden....

Also, hier meine (wahrscheinlich 50 Euro-) Frage:

wie schaffe ich es, daß wenn ein Thumbnail angeklickt wird, das eigendliche Bild in einem Extrafenster ohne jeden weiteren Schnickschnack angezeigt wird?

Bitte helft einem verwirrten Ahnungslosen  :roll:

Offline hottemax

  • Newbie
  • *
  • Posts: 10
    • View Profile
hier ist der code aus der thumbnail_bit.html im template ordner
« Reply #1 on: October 08, 2002, 05:34:00 PM »
schau doch einfach mal in den quellcode....


<!-- you wish detail page in a small javascript open window, use {thumbnail_openwindow} -->
{thumbnail}<br />
<b>{image_name}</b> {if image_is_new}<sup class="new">{lang_new}</sup>{endif image_is_new}
<!-- die variable user_name_link wurde herausgenommen, da diese information unwichtig ist
({user_name_link})-->
<br />
<a href="{cat_url}">Kategorie<br> {cat_name} </a><br/>
{if allow_comments}{lang_comments} {image_comments}<br/>{endif allow_comments}
<span class="text">Dateigr&ouml;&szlig;e: {image_file_size}</span> <br>
<span class="text">Abmessung: {width}x{height}</span><br>
<!--<span class="text">{image_keywords}</span>-->
<!-- {image_description}-->
{lightbox_button}

Offline picasso

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • http://tvdiver.de
Meine Orginal "thumbnail_bit.html"
« Reply #2 on: October 08, 2002, 06:07:54 PM »
sieht so aus:

<!-- you wish detail page in a small javascript open window, use {thumbnail_openwindow} -->
{thumbnail}<br />
<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}



Habe sie dann in:


<!-- you wish detail page in a small javascript open window, use {thumbnail_openwindow} -->
{thumbnail_openwindow}<br />
<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}

umgeändert,
mit dem Erfolg, daß sich ein komplett neues Browserfenster öffnet. Ich möchte aber ein Fenster haben, das nur das Bild darstellt, ohne die Browserbuttons etc....

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Bilder in Extrafenster
« Reply #3 on: October 08, 2002, 08:00:46 PM »
Im Template header.html findest Du die JavaScript-Funktion  opendetailwindow(). Diese kannst Du entsprechend anpassen.

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

Offline M1

  • Newbie
  • *
  • Posts: 12
    • View Profile
Bilder in Extrafenster
« Reply #4 on: March 14, 2003, 11:37:52 PM »
Jan könntest Du noch kurz schreiben wie man das ganze ändern muß damit sich das Fenster automatisch an die Größe des Bildes anpasst? Währ echt super. Danke Dir !!!