Template Club Package Silver Pacakage Gold Pacakage Developer Pacakage Accepted Payments Member Login
TemplatePlazza Support Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Mini Frontpage (1 viewing) (1) Guest
Post a new message in "Mini Frontpage"
Name:
Subject:
topic icon:
no
Boardcode:
 Colour:  Size:   Close all tags
Message:

Emoticons
B) :( :) :laugh:
:cheer: ;) :P :angry:
:unsure: :ohmy: :huh: :dry:
:lol: :silly: :blink: :blush:
:kiss: :woohoo: :side: :S
More Smilies
 Enter code here   

Topic History of: A possible solution for the correct thumb aspect
Max. showing the last posts - (Last post first)
Author Message
Andy Sikumbang thanks for sharing zoltan
Zoltan Babak 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.
Powered by FireBoardget the latest posts directly to your desktop
ico spot