GIF Help
4 posters
Page 1 of 1
GIF Help
Hi again. So I have had a lot of people try to help me with this, but it's still not working no matter what I do. Someone on my site has been wanting to use a GIF as their avatar but its still way to huge on the site. No matter where they go. I am trying to fix ti, but it's not working still. So I need help once more.
Last edited by Riley K.K. Maverick on November 15th 2014, 10:36 pm; edited 1 time in total
Re: GIF Help
Have you checked the Administration Panel => Display => Avatars => Avatars management => Personal avatars ?
Re: GIF Help
Yes I did. that's for the one's you upload and that are no GIF avatars. I'm talking about when I put in a link for GIF's it comes out WAY to big
Re: GIF Help
This is actually an issue I had on my forum, and the way I fixed it was adding a div tag to a template, and adding a CSS code.
So for phpBB3 do this
Administration Panel -> Display -> Templates -> General -> viewtopic_body
Find this code:
and surround it like this
then go into your CSS through
Administration Panel -> Display -> Colors -> CSS Stylesheet
Add this code:
For the "whatevers" add whatever kind of ID you want it to be, and for the #'s add whatever pixel length you want it to be. For my forum I personally use 150 px by 250 px.
This will resize every avatar that exceeds that size to that size.
So for phpBB3 do this
Administration Panel -> Display -> Templates -> General -> viewtopic_body
Find this code:
- Code:
{postrow.displayed.POSTER_AVATAR}
and surround it like this
- Code:
<div id="whatever">{postrow.displayed.POSTER_AVATAR}</div>
then go into your CSS through
Administration Panel -> Display -> Colors -> CSS Stylesheet
Add this code:
- Code:
#whatever img {
max-width: #px;
max-height: #px;
}
For the "whatevers" add whatever kind of ID you want it to be, and for the #'s add whatever pixel length you want it to be. For my forum I personally use 150 px by 250 px.
This will resize every avatar that exceeds that size to that size.
Re: GIF Help
Please change the title of your topic to something that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: GIF Help
Okay, so I put that in there but I'm getting an error code that read's
Detected error
We have counted a different number of "{" and of "}". It means your CSS risks to be not valid and will not be posted correctly on your forum.
We advise you to reread your code.
Detected error
We have counted a different number of "{" and of "}". It means your CSS risks to be not valid and will not be posted correctly on your forum.
We advise you to reread your code.
Re: GIF Help
Can you paste your CSS here in a code bbcode if it's not too long? This is so I can revise it and detect the error.
Re: GIF Help
As Ramdaman said, a post of your CSS would be helpful.
If you copied the code I posted exactly, there should be no issues with missing brackets, the missing brackets are most likely coming from something else you have in your CSS or accidental removal of them.
If you copied the code I posted exactly, there should be no issues with missing brackets, the missing brackets are most likely coming from something else you have in your CSS or accidental removal of them.
Re: GIF Help
Adding on, your CSS should look like this.
Revise your CSS if you wish not to post it, make sure the brackets, colons, and semi-colons are in their proper spot. If a CSS code does not have either { or }, it will have given you a warning message. Same goes with the ":" and ";"
- Code:
Selector {
attribute: value;
attribute2: value;
}
Revise your CSS if you wish not to post it, make sure the brackets, colons, and semi-colons are in their proper spot. If a CSS code does not have either { or }, it will have given you a warning message. Same goes with the ":" and ";"
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum