Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Latest Addons
Cookiebar Panel 5
AD Gallery 68
SyntaxHighlighte... 51
Newsletters v4.03 114
Facebook Like Box 135
Newsletters v4.02 60
Metro 173
Facebook Connect 174
Shoutbox Panel 131
Redactor for PHP... 107
MI Floating Side... 109
Facebook Login/R... 156
Avatar Studio v2.03 180
Relationship Sta... 98
Sexual Orientati... 116
Popular Addons
iTheme2 5810
Arise 5808
User Control v1.23 4624
Event Calendar 4055
Photowidget panel 3889
Radio-Theme red2... 3360
Highslide Gallery 3315
CSS/JavaScript D... 3234
Facebook Connect... 2992
Dynamic Menu 2895
Slideshow Lightb... 2729
L-AMANT 2662
Enigma 2637
2Dark 2608
Black 2580
View Thread
Who is here? 1 guest(s)
 Print Thread
Image Thumbnail in the forum
ReY
Hello guys,
I would like to know how to change the thumbnail size for images in the forum(not gallery).
They show a part of the image in normal size when they load:
i252.photobucket.com/albums/hh26/nAiReY/php1.jpg

but as soon as they are done they are displayed as the whole image but smaller.
i252.photobucket.com/albums/hh26/nAiReY/php2.jpg



In another thread (Clickedy Click)
i read that removing the line
resize_forum_imgs();
could help but then the images look like in my first screenshot all the time and you have to scroll through them to view all of it (lol).

What i want is that they display in normal size instead of scaled down (as in second screenshot).
I guess i have to put some value in resize_forum_imgs();.
I want to have them so big that they are in original size or when they are bigger than the forum width that they are scaled down to the forum width (so they don't kill layout)

I hope you can help me. If something is unclear i can explain more detailed^^
 
Richard Ainz
There are settings in the code for how wide and high the image should be when resized. Look for numbers. Sorry if I am not very clear, but I am not very good at the v7 code on this.
www.8.php-fusion.net/images/smiley/fusion.png Coordinator of the Development of PHP-Fusion 8 www.8.php-fusion.net/images/smiley/fusion.png
Community Moderation Management & Support Team Leader
Owner of: www.php-fusion.se | www.php-fusion.net | www.php-fusion.us | www.php-fusion.mobi
 
www.php-fusion.se
ReY
Thanks for the reply,
but can someone tell me WHERE in the code it is and how it is called?

I'm not very familar with php yet :/
 
ReY
bump? Sad
 
GameAction
look on includes/jscript.js under this
//Set the max width/height according to the viewport-width
change some number to your needs
 
ReY
Thanks GameAction!

When we're on it, can i ask more questions?
I want to know a bit more about php, so i don't have to make a new thread next time Wink

First Q:
The function resize_forum_imgs();
which i mentioned in the OP exists TWICE in my jscript.js, in:
1.
//Image Resizer by Matonor
2.
//Add function calls to be executed onload here
why?

Second Q:
Whats the viewport?
Edited by ReY on 27-04-2009 21:46
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
image to big =? Content Administration 2 24-05-2013 14:26
Forum attachments - page Panels and Infusions 3 12-05-2013 21:33
Stop Forum Spam Panel Official releases [Panels] 14 12-05-2013 19:51
Insert "user_gender" on forum profile Panels and Infusions 1 08-05-2013 13:44
Update secure image Roadmap 1 30-04-2013 07:14
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel byVenue