The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

GIF Help

4 posters

Go down

In progress GIF Help

Post by Riley K.K. Maverick 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
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 November 11th 2014, 1:59 am

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

Male Posts : 1615
Reputation : 99
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 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
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 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 exceeds that size to that size.
avatar
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 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.



GIF Help Slgray10

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

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: GIF Help

Post by Riley K.K. Maverick 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
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 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
Ramdaman
Active Poster

Male Posts : 1615
Reputation : 99
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 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.
avatar
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 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
Ramdaman
Active Poster

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

http://ndihme.forumotion.com/forum

Back to top Go down

Back to top


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