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

View previous topic View next topic Go down

Solved auto-resize image used in user's profile

Post by QeemBA on July 4th 2014, 11: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 !!

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 Soul on July 4th 2014, 5:22 pm

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

Soul
Forumember

Male Posts : 673
Reputation : 79
Language : English
Location : United States

http://adminvortex.forumotion.com

Back to top Go down

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

Post by QeemBA on July 5th 2014, 5:45 am

Hi Jad

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



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 July 5th 2014, 5:53 am

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.


SLGray
Administrator
Administrator

Male Posts : 36748
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

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

Post by QeemBA on July 6th 2014, 1:39 am

Hi thanks for the code but still the image didnt auto resize

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 July 7th 2014, 6: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;
}

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

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

Post by QeemBA on July 8th 2014, 2:56 am

Hi Ange,

It works! Thanks alot  Laughing

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 July 8th 2014, 3:12 am

Topic Solved & Archived


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


SLGray
Administrator
Administrator

Male Posts : 36748
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

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