Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 7 replies, 2 voices, and was last updated 8 years, 7 months ago by
Steven Zahm.
-
AuthorPosts
-
10/30/2014 at 1:27 pm #308558
Lea DeJarlais
ParticipantHi, I downloaded and installed Slim plus, and all of the images associated with a member did not resize to match the designated photo size. I tried making adjustments in the settings, but it didn’t help. I also read through some other submitted support topics, and tried the code snippets fix I found in another thread, but the images didn’t resize. Any tips for fixing this would be greatly appreciated. Thanks!
10/30/2014 at 1:58 pm #308563Steven Zahm
Keymaster@ Lea
The image size enforced by Slim Plus 100x120px. This can not be changed as it is required to maintain the template design/layout. Change the size can only be done by editing the template PHP file and altering the CSS to account for the changed image size.
Hope that helps!
10/30/2014 at 2:01 pm #308564Lea DeJarlais
ParticipantHi Steven, thanks for your reply.
Does that mean I’ll have to manually edit all images to 110×120, and re-load them into each member entry?
(Sorry, I’m not a coder at all, so I wouldn’t be able to update the CSS to do anything).
Thanks again,
10/30/2014 at 2:25 pm #308565Steven Zahm
Keymaster@ Lea
Nope, Slim Plus or rather Connections will scale and crop them automatically. There’s nothing for you to do.
10/30/2014 at 2:27 pm #308566Lea DeJarlais
ParticipantOkay. So if it didn’t automatically crop and scale them to fit, what is my next step? Currently, all the logos only show the center of the logo, and you can’t see the edges.
Thanks again for your help and patience.
10/30/2014 at 2:47 pm #308567Steven Zahm
Keymaster@ Lea
That sounds about right, the scale and crop is center weighted so the logos are being processed correctly.
Since you’re uploading logos and not pictures of individuals, this will cause you a bit of image pre-processing.
See the exception relating to Slim Plus.
http://connections-pro.com/faqs/how-do-i-change-the-image-size/Basically you’ll have to add white space around the logo to account for the scale and crop as described in the Slim Plus exception in the FAQ.
Possible an easier solution is to change the default crop mode that Connections uses internally.
To do this install the Code Snippets plugin.
Add a new snippet with the following code:
function cn_image_atts( $atts ) { $atts['zc'] = 3; return $atts; } add_filter( 'cn_output_default_atts_image', 'cn_image_atts' );
Save and activate the new snippet.
Now instead of a center weighted scaled and crop it’ll resize proportionally adjusting size of scaled image so there are no margins added.
10/30/2014 at 2:53 pm #308568Lea DeJarlais
ParticipantAwesome, that fixed it. Thank you so much for your help.
10/31/2014 at 8:23 am #308598Steven Zahm
Keymaster@ Lea
Great to hear this solution worked the way you wanted!
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thank in advance!
https://wordpress.org/support/view/plugin-reviews/connections -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.