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.
Tagged: 0.7.6.3, image_height, image_width, show_dates, Tile Plus
- This topic has 9 replies, 3 voices, and was last updated 10 years, 2 months ago by
Steven Zahm.
-
AuthorPosts
-
04/04/2013 at 7:22 pm #256015
Jeremy Ward
ParticipantI’ve found there have been some minor changes since updating to Tile Plus 3. The images which I had created at 80 x 120 px no longer fill the space – leaving white space on either side of the image (see attached screenshot). The quality of the JPG has also been affected (I had the setting on 100% as I was saving thumbs from Photoshop for web and wanted to maintain a crisp sharpness to the image).
Is there anyway to get around this? Or changes I may need to make to other settings for the new version of the template?
Also, I don’t seem to be able to get anniversaries to display (though I’ve used show_anniversary=TRUE shortcode) anymore and I’m yet to have any success displaying birthdays (with the show_birthday=TRUE shortcode). Any suggestions?
Thanks for your help. Its a great plugin and I appreciate your work!
Jeremy
Attachments:
You must be logged in to view attached files.04/04/2013 at 8:43 pm #256051Steven Zahm
Keymaster@ Jeremy Ward
One change I did make, primarily do to it being a very common support issue, is that the new version of the template now forces the default image size instead of relying on the settings. You already have your Medium Image settings set at 80 x 120px, right? This forcing of the image size can be turned off so it uses the settings instead by adding both image_width=” and image_height=” to the shortcode.
The template has also been updated so it can show all the dates entered in the date fields. To show the dates, add show_dates=’true’ to the shortcode.
I think that should fix thing up.
04/08/2013 at 3:41 am #256277Jeremy Ward
ParticipantThanks Steven!
06/08/2013 at 4:53 pm #262114Isaac Romero
GuestI also need to force cropping to a certain size (150×150) for thumbnails on tile plus, but I notice it still displays them with aspect ratio maintained. I do have the cropping showing correctly on the actual event management view, and it also displays correctly cropped when using other templates such as the table entry card. When I switch back to tile plus, however, it displays the images with aspect ratio preserved, not cropped!
Here’s my shortcode to display the tile plus directory:
[connections image_width=150 image_height=150 card_width=160 card_height=180 enable_website_link=FALSE show_phone_numbers=FALSE show_email=FALSE]06/08/2013 at 5:30 pm #262115Isaac Romero
GuestI think I got it on this. the getImage() function in class.output.php (line 80) hadthe ‘zc’ attribute hard coded to 2 for some reason. I set it to ‘0’ and now it shows thumbnails correctly in tile plus. If this change needs to go somewhere else, let me know!
06/09/2013 at 9:02 pm #262187Steven Zahm
Keymaster@ Isaac
I’d have to look closer, but I think that is right. I’ve logged this as a bug as this should not be hard coded. It should respect the setting in the images settings. Likely an oversight on my part.
06/28/2013 at 5:09 pm #263872Steven Zahm
Keymaster@ Isaac
I looked into this deeper. The value is not hardcoded. It is an option that can be passed to the getImage() method from the template.
In the
card.php
file for Tile Plus you would change this:$entry->getImage( array( 'image' => $atts['image'] , 'height' => $atts['image_height'] , 'width' => $atts['image_width'] , 'fallback' => array( 'type' => $atts['image_fallback'] , 'string' => $atts['str_image'] ) ) );
to this:
$entry->getImage( array( 'image' => $atts['image'] , 'height' => $atts['image_height'] , 'width' => $atts['image_width'] , 'zc' => 1, 'fallback' => array( 'type' => $atts['image_fallback'] , 'string' => $atts['str_image'] ) ) );
I recommend using
1
rather than0
though because0
will not maintain the aspect ratio where as1
will resize and crop while maintaining the aspect ratio.06/28/2013 at 5:16 pm #263874Steven Zahm
Keymaster@ Isaac
The next update of Connections will have this setting default to
1
instead. That should make a better default setting.07/24/2013 at 9:59 pm #265738slandin
GuestI have Tile Plus 3.0 and updated my Connections version today to Version 0.7.8.
Yesterday… I had found a tip for setting default images, and also setting image defaults by category id. I was able to edit my CSS show a default image by category like this:
div.cn-list .first span.cn-image-none {
background-image: url(“http://myImageURLhere.png”) !important;
background-position: center center !important;
background-repeat: no-repeat !important;AWESOME!
However, after my upgrade today – the selection by category is not longer working, and I can not seem to get it working again. I can find the category class selector.
Any suggestions? I REALLY liked that feature!
07/25/2013 at 2:45 pm #265807Steven Zahm
Keymaster@ slandin
Sorry about that. when I was refactoring some code for this release I hit the “3” instead of the “4” in one spot. That little error broke that. I’ll be pushing out an update, 0.7.8.1, later tonight EST that will fix that and several other little bugs.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.