Previous Thread
Next Thread
Print Thread
Hop To
#225347 04/03/2009 10:53 AM
Joined: May 2008
Posts: 85
C
journeyman
journeyman
C Offline
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,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
it should wink

Joined: May 2008
Posts: 85
C
journeyman
journeyman
C Offline
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
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
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
journeyman
C Offline
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
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
did you do a reload to clear cache?

should be ok.. :shrug:

Joined: May 2008
Posts: 85
C
journeyman
journeyman
C Offline
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
Enthusiast
D Offline
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
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
2 members (Havenofsobriety, rootman), 624 guests, and 106 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)