The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

GIF Help

View previous topic View next topic Go down

In progress GIF Help

Post by Riley K.K. Maverick on November 11th 2014, 1:57 am

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

Riley K.K. Maverick
Forumember

Posts : 37
Reputation : 1
Language : English

http://attackontitanfreerol.forump.net/

Back to top Go down

In progress Re: GIF Help

Post by Ramdaman on November 11th 2014, 1:59 am

Have you checked the Administration Panel => Display => Avatars => Avatars management => Personal avatars ?

Ramdaman
Active Poster

Male Posts : 1614
Reputation : 97
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

In progress Re: GIF Help

Post by Riley K.K. Maverick on November 11th 2014, 2:01 am

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

Riley K.K. Maverick
Forumember

Posts : 37
Reputation : 1
Language : English

http://attackontitanfreerol.forump.net/

Back to top Go down

In progress Re: GIF Help

Post by RazielBach on November 11th 2014, 4:58 am

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:

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 exceedsthat size to that size.

RazielBach
Forumember

Posts : 25
Reputation : 1
Language : English

http://eriviyn.forumotion.com

Back to top Go down

In progress Re: GIF Help

Post by SLGray on November 11th 2014, 5:33 am

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.



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: GIF Help

Post by Riley K.K. Maverick on November 16th 2014, 1:51 am

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.

Riley K.K. Maverick
Forumember

Posts : 37
Reputation : 1
Language : English

http://attackontitanfreerol.forump.net/

Back to top Go down

In progress Re: GIF Help

Post by Ramdaman on November 16th 2014, 1:58 am

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.

Ramdaman
Active Poster

Male Posts : 1614
Reputation : 97
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

In progress Re: GIF Help

Post by RazielBach on November 16th 2014, 9:08 pm

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.

RazielBach
Forumember

Posts : 25
Reputation : 1
Language : English

http://eriviyn.forumotion.com

Back to top Go down

In progress Re: GIF Help

Post by Ramdaman on November 16th 2014, 9:26 pm

Adding on, your CSS should look like this.
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 ";"

Ramdaman
Active Poster

Male Posts : 1614
Reputation : 97
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum