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.

auto-resize image used in user's profile

Go down

Solved auto-resize image used in user's profile

Post by QeemBA on Fri Jul 04, 2014 5:30 am

Hi

I have an issue here.

Whenever I upload an image in the user profile, the picture will not auto-resize. is there any way to resolve this issue?



This is the profile picture, i have to manually resize it but if theres an auto resize way it should be better and easier..

also can it be set the image to be max 500x330?

thanks !!
avatar
QeemBA
Forumember

Posts : 38
Reputation : 1
Language : English

http://teamtazkirah.forummotion.com/

Back to top Go down

Solved Re: auto-resize image used in user's profile

Post by Guest on Fri Jul 04, 2014 11:22 am

Hey there QeemBA,
To do this, simply go to your CSS Page and paste this code.


Code:
.postprofile dt img{
max-height: 500px;
max-width: 330px;
}




Hope that this helps you out! If you have any more questions, feel free to ask.


Regards,
Jadster

Guest
Guest


Back to top Go down

Solved Re: auto-resize image used in user's profile

Post by QeemBA on Fri Jul 04, 2014 11:45 pm

Hi Jad

Thanks for your help but still the picture didnt auto resize Sad


avatar
QeemBA
Forumember

Posts : 38
Reputation : 1
Language : English

http://teamtazkirah.forummotion.com/

Back to top Go down

Solved Re: auto-resize image used in user's profile

Post by SLGray on Fri Jul 04, 2014 11:53 pm

Code:
.postprofile dt img{
max-height: 500px !important;
max-width: 330px !important;
}


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

avatar
SLGray
Administrator
Administrator

Male Posts : 42749
Reputation : 3010
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: auto-resize image used in user's profile

Post by QeemBA on Sat Jul 05, 2014 7:39 pm

Hi thanks for the code but still the image didnt auto resize
avatar
QeemBA
Forumember

Posts : 38
Reputation : 1
Language : English

http://teamtazkirah.forummotion.com/

Back to top Go down

Solved Re: auto-resize image used in user's profile

Post by Ange Tuteur on Mon Jul 07, 2014 12:05 am

Hello Qeemba,

Please add the following to your stylesheet :
Administration Panel > Display > Colors > CSS stylesheet
Code:
#profile-advanced-details dl img {
  max-height:330px;
  max-width:500px;
}
avatar
Ange Tuteur
Forumaster

Male Posts : 13194
Reputation : 2907
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: auto-resize image used in user's profile

Post by QeemBA on Mon Jul 07, 2014 8:56 pm

Hi Ange,

It works! Thanks alot  Laughing
avatar
QeemBA
Forumember

Posts : 38
Reputation : 1
Language : English

http://teamtazkirah.forummotion.com/

Back to top Go down

Solved Re: auto-resize image used in user's profile

Post by SLGray on Mon Jul 07, 2014 9:12 pm

Topic Solved & Archived


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

avatar
SLGray
Administrator
Administrator

Male Posts : 42749
Reputation : 3010
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Back to top


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