• [MOD] Second Thumbnail Size 5 0 5 1
Currently:  

Author Topic: [MOD] Second Thumbnail Size  (Read 76167 times)

0 Members and 1 Guest are viewing this topic.

Rembrandt

  • Guest
Re: [MOD] Second Thumbnail Size
« Reply #30 on: August 19, 2012, 05:36:09 PM »
Hi!
....Funktioniert bei mir aber nur "halb".
..Aber: die H鰄e wird nicht auf die eingestellte Pixelzahl begrenzt.
Bedeutet dass bei Hochformaten die H鰄e nicht stimmt.
....
das ist auch nicht vorgesehen, und auch nicht Sinn des Mods.
lass dich nicht von den variablen namen max iritieren.
Bei den mod geht es ja darum um das genaue Seitenverh鋖tniss beim Verkleinern bei zu behalten.

aber irgendwo im Forum geistert eine Version herrum die, die Beschr鋘kungen ber點ksichtigt.

mfg Andi

Offline paule

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
Re: [MOD] Second Thumbnail Size
« Reply #31 on: August 19, 2012, 06:14:30 PM »
Hallo Rembrand,

vielen Dank f黵 die schnelle Antwort.
Ich habe weiter gesucht und bin nicht f黱dig geworden.

Mein Problem ist: "Bildrahmen im Seitenlayout (thumbnail_bit2 ) 110x110 px somit darf das Thumb bei Breite und H鰄e nur max 100 px haben厖.
zur Zeit sprengt bei einer Thumb Breite von 100px die entsprechende H鰄e das Layout.

Hast Du keine Idee???

Beste Gre Paulchen


Rembrandt

  • Guest
Re: [MOD] Second Thumbnail Size
« Reply #32 on: August 19, 2012, 08:29:59 PM »
« Last Edit: August 20, 2012, 04:22:49 PM by Rembrandt »

Offline Allround

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: [MOD] Second Thumbnail Size
« Reply #33 on: June 11, 2013, 11:23:49 PM »
Diesen Mod h鋞te ich gern f黵 die Details Page f黵


{if prev_image_name}{lang_prev_image} und {if next_image_name}{lang_next_image}

Quasi in der Details.html f黵 vorheriges Bild und n鋍hstes Bild Paging

Rembrandt

  • Guest
Re: [MOD] Second Thumbnail Size
« Reply #34 on: June 12, 2013, 05:30:01 PM »
1.) suche in der details.php:

$next_thumb_file 
get_file_path($next_prev_cache[$next_image_id]['image_thumb_file'], "thumb"$next_prev_cache[$next_image_id]['cat_id'], 01);

ersetze es mit:

$next_thumb_file 
get_thumbnail_small_code($next_prev_cache[$next_image_id]['image_media_file'], $next_prev_cache[$next_image_id]['image_thumb_file'], $next_prev_cache[$next_image_id]['image_id'], $next_prev_cache[$next_image_id]['cat_id'], $next_prev_cache[$next_image_id]['image_name'], $mode$show_link,0);

2.) suche:

$prev_thumb_file 
get_file_path($next_prev_cache[$prev_image_id]['image_thumb_file'], "thumb"$next_prev_cache[$prev_image_id]['cat_id'], 01);

ersetze es mit:

$prev_thumb_file 
get_thumbnail_small_code($next_prev_cache[$prev_image_id]['image_media_file'], $next_prev_cache[$prev_image_id]['image_thumb_file'], $next_prev_cache[$prev_image_id]['image_id'], $next_prev_cache[$prev_image_id]['cat_id'], $next_prev_cache[$prev_image_id]['image_name'], $mode$show_link,0);


2.) suche in der details.html:
Code: [Select]
                            <td class="row2"> {if prev_image_name}{lang_prev_image}<br />&nbsp;&nbsp;
                              <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>&nbsp;&nbsp;&nbsp;</b>
                              <!-- <br /><br /><a href="{next_image_url}"><img src="{next_thumb_file}" border="1"></a> -->
                              {endif next_image_name}</td>
ersetze es mit:
Code: [Select]
                            <td class="row2"> {if prev_image_name}{lang_prev_image}<br />&nbsp;&nbsp;
                              <b><a href="{prev_image_url}">{prev_thumb_file}</a></b>
                               <br /><br /><a href="{prev_image_url}">{prev_image_name}</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_thumb_file}</a>&nbsp;&nbsp;&nbsp;</b>
                              <br /><br /><a href="{next_image_url}">{next_image_name}</a>
                              {endif next_image_name}</td>

mfg Andi

Offline PamBreeze

  • Newbie
  • *
  • Posts: 44
  • I'm Not Crazy...I'm Just Me!
    • View Profile
    • Optimal 小asual Dating - Genuine Females
Re: [MOD] Second Thumbnail Size
« Reply #35 on: September 09, 2013, 11:33:26 AM »
OMG! Put this on my site worked great had no problem. :D Couldn't leave well enough alone.Started messing around screwed it up and crashed my site. 8O Been messing with it for over an hour...I give up! I have no idea why I can't get it to work again. Should have just left it alone the first time...UGH!  :x
*Link Removed*

Rembrandt

  • Guest
Re: [MOD] Second Thumbnail Size
« Reply #36 on: September 09, 2013, 05:55:00 PM »
@PamBreeze, and what do you want now, shall I help you, or what?

Offline PamBreeze

  • Newbie
  • *
  • Posts: 44
  • I'm Not Crazy...I'm Just Me!
    • View Profile
    • Optimal 小asual Dating - Genuine Females
Re: [MOD] Second Thumbnail Size
« Reply #37 on: September 09, 2013, 10:06:35 PM »
Trying to add the Photo Preview Hack Mod
Parse error: syntax error, unexpected ',', expecting T_PAAMAYIM_NEKUDOTAYIM in /homepages/26/d389377401/htdocs/includes/functions.php on line 789

{

Line:789    global  $ site_sess ,  $ config ,  $ site_template ;
 
/ / # # # # # # # Config # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #   
  $ maxwidth  =  "200" ,  / / pixel
/ / # # # # # # # Config # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 
*Link Removed*

Rembrandt

  • Guest
Re: [MOD] Second Thumbnail Size
« Reply #38 on: September 10, 2013, 05:52:21 AM »
  $maxwidth="200" ;

mfg Andi

Offline PamBreeze

  • Newbie
  • *
  • Posts: 44
  • I'm Not Crazy...I'm Just Me!
    • View Profile
    • Optimal 小asual Dating - Genuine Females
Re: [MOD] Second Thumbnail Size
« Reply #39 on: September 10, 2013, 06:50:45 AM »
Now it is a blank page :?
*Link Removed*

Rembrandt

  • Guest
Re: [MOD] Second Thumbnail Size
« Reply #40 on: September 10, 2013, 01:42:14 PM »
post your functions.php

Offline PamBreeze

  • Newbie
  • *
  • Posts: 44
  • I'm Not Crazy...I'm Just Me!
    • View Profile
    • Optimal 小asual Dating - Genuine Females
Re: [MOD] Second Thumbnail Size
« Reply #41 on: September 10, 2013, 04:29:24 PM »
Here it is. TY!
« Last Edit: September 11, 2013, 04:55:49 AM by PamBreeze »
*Link Removed*

Rembrandt

  • Guest
Re: [MOD] Second Thumbnail Size
« Reply #42 on: September 10, 2013, 05:36:18 PM »
pfff..., please do unpack the file

Offline PamBreeze

  • Newbie
  • *
  • Posts: 44
  • I'm Not Crazy...I'm Just Me!
    • View Profile
    • Optimal 小asual Dating - Genuine Females
Re: [MOD] Second Thumbnail Size
« Reply #43 on: September 10, 2013, 05:46:25 PM »
Sorry.
« Last Edit: September 11, 2013, 04:55:14 AM by PamBreeze »
*Link Removed*

Rembrandt

  • Guest
Re: [MOD] Second Thumbnail Size
« Reply #44 on: September 10, 2013, 05:59:42 PM »
you have the "function get_thumbnail_small_code" two times included, now i have the one function deleted, it works now...

mfg Andi