Previous Thread
Next Thread
Print Thread
Hop To
#225347 04/03/2009 10:53 AM
Joined: May 2008
Posts: 85
C
journeyman
OP Offline
journeyman
C
Joined: May 2008
Posts: 85
The featured forum of my site is where I post articles, photos, etc. that I'd like to showcase on the portal page. However, after the upgrade to 7.5.2 my images are sized differently between the forum itself and what is being shown on the portal page. I always use photobucket to host my photos and I simply resize them there and copy and paste the IMG tag into the post.
The photos appear the correct size in the forum post but the portal page still has them too large. Any idea what the heck is going on or how to fix? Before the upgrade, I never had this problem.


www.carolinasoutdoor.com
Hunting and Fishing the Carolinas
Joined: Dec 2003
Posts: 6,409
Likes: 55
Online Yawn
Joined: Dec 2003
Posts: 6,409
Likes: 55
Looking at the first current post you made with the three hog picture I see what you mean.
Since they are not in the gallery I would suspect that you may need to tweak one setting.
Control Panel ยป Feature Settings

Max width for images used in posts?
Specified in px. Uses browser scaling. Leave blank to disable.
I think the default is set to 400, at least mine is set to that and I don't recall changing it.

But anyway I would think that setting should apply to the topic as well as the portal setting.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Apr 2007
Posts: 3,940
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,940
it should wink

Joined: May 2008
Posts: 85
C
journeyman
OP Offline
journeyman
C
Joined: May 2008
Posts: 85
How can the portal page over ride what photobucket has the image scaled to? Meaning, the photo appearing larger than what it is my photobucket account. That's where I'm getting confused.

Last edited by carolinasoutdoor; 04/03/2009 11:24 PM.

www.carolinasoutdoor.com
Hunting and Fishing the Carolinas
Joined: Apr 2007
Posts: 3,940
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,940
in your config, you have a maximum width of 400px defined. what happens when this is the case is, the header.tpl file (on the fly) inserts an inline style for .post_inner img that limits ANY image in a POST to 400px..

soooo, when you look at it in a regular post, the photobucket image (which is really 640x400) is resized down to a max-width of 400px..

HOWEVER, the portal page doesn't use the .post_inner img class when it displays a post.. it instead uses alt-1.. totally different..

sooooo, the portal page will display the images with no limitation as they are stored on photobucket...

that's why the diff..

This should be fixed to at least be the same in both places, so you can then decide what your limit will be and have it apply equally wink

I made the change for you, so it matches now smile

ps: the simple fix is to open portal.tpl and change line 14 to reference post_inner, instead of alt-1..

Joined: May 2008
Posts: 85
C
journeyman
OP Offline
journeyman
C
Joined: May 2008
Posts: 85
Any reason why my background on the portal page is wrong, text is wrong color? smile I woke up this morning to a mess. LOL smile I appreciate you making that change Sdude but something is really wrong now. smile


www.carolinasoutdoor.com
Hunting and Fishing the Carolinas
Joined: Apr 2007
Posts: 3,940
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,940
did you do a reload to clear cache?

should be ok.. :shrug:

Joined: May 2008
Posts: 85
C
journeyman
OP Offline
journeyman
C
Joined: May 2008
Posts: 85
Everything is fine now. I don't know what happened.


www.carolinasoutdoor.com
Hunting and Fishing the Carolinas
Joined: Mar 2008
Posts: 326
D
Enthusiast
Offline
Enthusiast
D
Joined: Mar 2008
Posts: 326
:yay:


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Incorrect integer value
by DaveZ - 09/26/2021 4:09 PM
"Hide" a member rather than delete?
by jgeoff - 09/24/2021 4:38 PM
Send Email to "All Members in Search"
by JetStar - 09/20/2021 1:29 AM
Cancel subscription membership
by Morgan - 09/10/2021 4:16 AM
Who's Online Now
2 members (Ruben, JAISP), 89 guests, and 91 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5