Template Club Package Silver Pacakage Gold Pacakage Developer Pacakage Accepted Payments Member Login
TemplatePlazza Support Forum
Welcome, Guest
Please Login or Register.    Lost Password?
A possible solution for the correct thumb aspect (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: A possible solution for the correct thumb aspect
#19434
babak1877 (User)
JuniorPlazzoic
Posts: 20
graphgraph
User Offline Click here to see the profile of this user
A possible solution for the correct thumb aspect 7 Months, 2 Weeks ago Karma: 0  
helper php, from line 795: change the complete function

function fptn_calcsize($srcx, $srcy, &$forcedwidth, &$forcedheight, $aspect)

{
if ($srcx > $srcy && $srcx != 468) {
$forcedwidth = &$forcedwidth;
$forcedheight = round( $forcedwidth / ($srcx/$srcy));
}
else if ($srcx < $srcy && $srcx != 468) {
$forcedheight = &$forcedheight;
$forcedwidth = round ( $forcedheight / ($srcy / $srcx));
}
else if ($srcx = 468) {
$forcedwidth = 468;
$forcedheight = 60;
}
}


May be there is some bug, but I've made it for my own page and it seems to work. I put an extra function into it, if there is a standard 468x60 banner, itt leaves it with it's original size.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
      Topics Author Date
    thread link
A possible solution for the correct thumb aspect
Zoltan Babak 2008/04/19 09:03
    thread link
thread linkthread link Re:A possible solution for the correct thumb aspect
Andy Sikumbang 2008/04/19 09:19
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
ico spot
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad