1. Arjan
  2. Support
  3. Thursday, March 17 2016, 11:10 AM
Hey There,

Just downloaded easyprofile to use for our cycling club website.
Playing around with it I stumbled upon an issue with the avatar size.

In the options image field I have set the dimensions to 200x200, thumbs to 75x75 and 'Upload with user crop and webcam' is enabled.

When uploading or grabbing an image, the square to crop it is there. But after saving the image and chekcing it in the front-end, it shows a size of 200x235 pixels instead of 200x200 pixels.

Members will not always have a square picture available, but I want all avatars to have the same size. Can you tell me why after cropping the image is not saved regarding the dimension settings?
References
  1. http://www.tczevenhuizen80.nl/ontwikkel/index.php/mijn-profiel
Accepted Answer
admin Accepted Answer
Admin
Hi,
this is due to your CSS.

in line 2 of file /templates/purityiii_tcz/css/custom.css you have this:
#t3-content img { display: inline; width:100%; }

this code force all images to have 100% of width, also images with defined height. So images not keep correct ratio.

You may think to change this with something like:
#t3-content img { display: inline; max-width:100%; }

or maybe use this rule only to a specific container, like
#t3-content .item-image img { display: inline; width:100%; }
  1. more than a month ago
  2. Support
  3. # Permalink
Arjan Accepted Answer
Pro
Thanks for your mega-quick respons and suggestions. I am sure I will be able to fix it now.
  1. more than a month ago
  2. Support
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.