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.
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.
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 8 replies, 3 voices, and was last updated 8 years, 9 months ago by Steven Zahm.
01/04/2014 at 7:31 pm #276454Mike NolanParticipant
Which Image is the Slim Plus Image?
Thumbnail, Medium, Large or Logo?
How much, if any control do we have over size and shape?01/06/2014 at 11:38 am #276489
Slim PLus does not use any of the redefined cached image. It create the correctly size image on demand. This is done because the template requires a specific size otherwise it’ll break.
To change the size you would have to edit the template’s
card.phpfile and the associated CSS file to account for the new size.
As far as shape. That’s CSS. You could add CSS to your theme’s custom CSS area to add a border radius to create a circle effect.
I hope that helps!01/06/2014 at 2:18 pm #276497Mike NolanParticipant
Is 100px W x 122 px H, the ‘default’ size of the SlimPLus image then?
It appears resizing the images to the default size will be easier for us in production here.01/06/2014 at 3:05 pm #276511
Close, The default image size is 100w x 120h px.08/22/2014 at 3:28 pm #301601HilaryGuest
My question continues on this front so I hope you can help.
I have made a new card.php template in my theme for Slim Plus.
I have changed
$entry->getImage( array( 'image' => $atts['image'], 'height' => 120, 'width' => 100, 'fallback' => array( 'type' => $atts['image_fallback'], 'string' => $atts['str_image'] ) ) );
$entry->getImage( array( 'image' => $atts['image'], //'height' => 120, //'width' => 100, 'height' => $atts['image_height'], 'width' => $atts['image_width'], 'fallback' => array( 'type' => $atts['image_fallback'], 'string' => $atts['str_image'] ) ) );
I’ve also updated the CSS so that
#cn-slim-plus .cn-rightno longer have set widths.
This helps a little but I can still see that some code is choosing a cropped/appended version of my image (
How can I change this cropped thumbnail to using the full image instead?
Thanks for any help you can give me!!
-Hilary08/22/2014 at 3:30 pm #301602HilaryGuest
Messed up my code up there. The change is in
card.phpon lines 26-37.08/22/2014 at 3:44 pm #301611
By commenting out and adding the variables for the image size (unless you added the support for those variables in the
slim-plus.phpfile) will cause the template to use the dimensions entered for the medium image size on the Connections : Settings admin page under the Images tab. If you want 225x150px image, I suggest you use this code instead:
$entry->getImage( array( 'image' => $atts['image'], 'height' => 150, 'width' => 225, 'fallback' => array( 'type' => $atts['image_fallback'], 'string' => $atts['str_image'] ) ) );
If you want to adjust which crop mode is used you can use this:
$entry->getImage( array( 'image' => $atts['image'], 'height' => 150, 'width' => 225, 'zc' => 3, 'fallback' => array( 'type' => $atts['image_fallback'], 'string' => $atts['str_image'] ) ) );
Notice the addition of the
zcoption. You can set this to 0, 1, 2 or 3. It sounds like you want crop mode 3.
I hope that helps!08/22/2014 at 4:02 pm #301619HilaryGuest
You are awesome!!08/22/2014 at 4:19 pm #301624
Awe shucks, thanks!
If you have a moment, I would truly appreciate a review as they really make a difference. Many thanks in advance!
You cannot reply to this support topic. Please open your own support topic.