auto-resize image used in user's profile

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 !!
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 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

Guest
Guest


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


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 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.

avatar
SLGray
Administrator
Administrator

Male Posts : 43514
Reputation : 3094
Language : English
Location : United States

http://fmthemesdesignteam.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
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 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;
}
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2918
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 July 8th 2014, 2:56 am

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 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.

avatar
SLGray
Administrator
Administrator

Male Posts : 43514
Reputation : 3094
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Back to top


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