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.8.14, image, images, Responsive
- This topic has 16 replies, 2 voices, and was last updated 8 years, 9 months ago by
Steven Zahm.
-
AuthorPosts
-
08/09/2014 at 1:06 pm #300196
John
GuestWhen my site is viewed on a smaller screen, such as a tablet, the images are too large and overlay some text.
Even when the site renders in a mobile friendly theme, the image is too big.
Is there a way to have it use a smaller image for specific resolution, or theme?
08/11/2014 at 12:04 pm #300403Steven Zahm
Keymaster@ John
You can try adding this CSS to your theme’s custom CSS area:
#cn-list span.cn-image { width: auto !important; height: auto !important; } #cn-list span.cn-image img.photo { width: auto !important; height: auto !important; max-width: 100%; }
It will help with making sure the image do not overlay text.
As far as loading smaller images, that is actually something I’ve been working quite extensively that past three weeks.
I wrote a reply to another user, asking a different question, but my reply will help in letting you know where Connections is heading with images.
http://connections-pro.com/support/topic/outputting-rawish-images/#post-300402Hope that helps!
Oh, after the next release of Connections, you might want to remove that CSS I gave you because it could conflict (likely not).
Hope that helps!
08/11/2014 at 6:39 pm #300486Dani Weymouth
GuestHi there. I’m practically tearing my hair out. I am trying to get the images to fill the width of the parent div 100% (so there is no whitespace on either side) and the height to adjust as needed (with no whitespace above or below). I’ve tried changing the images settings and css but all the usual css doesn’t seem to work with your plugin. Can you provide assistance?
Thanks!
08/11/2014 at 8:13 pm #300496Steven Zahm
Keymaster@ Dani
Can you take a screenshot, annotate what the change is that you’re trying to make and attach it to a reply. Include a link to your directory in the reply … And I’ll take look.
08/20/2014 at 11:37 pm #301499Dani Weymouth
GuestHi. Sorry, thought the website link would show up (first time using your forum). I don’t have an option to attach a screenshot or any file but if you go to: http://ex1.thesmallbusinessfactory.net/preferred-vendors/, then click on Photo / Video, you will see narrow photos have whitespace on the left and right and wide photos have whitespace on the top and bottom. How can I get the pictures to fill up the whole block? I have tried changing settings as well as changing css. Nothing seems to work.
Moreover, if you look at it on a smaller screen, you will see that the pictures (including the parent div / image holder) do not resize. How can I get them to resize so that the entire directory is responsive?
I will reply privately with the link to the directory.
Thanks!
08/20/2014 at 11:37 pm #301500Dani Weymouth
GuestThis reply has been marked as private.08/21/2014 at 10:03 am #301520Steven Zahm
Keymaster@ Dani
You need to set the medium image size Ratio setting to crop to eliminate the adding of the margins. Right now it is set to the Fill option. The Crop option will crop and resize proportionally to best fit the specified dimensions, maintaining the aspect ratio whereas the Fill option will resize proportionally to fit entire image into the specified dimensions and add margins if required.
After you make this change, you would have to re-upload any images for the new settings to be applied.
With that said … maybe you might be interested in using a beta of the next version of Connections. I mention it because the entire image handling/processing has been completely overhauled.
Images are now displayed responsively and, and with a compatible device 2x (retina) images will be served. The cool bit here, these images are created, cached and served on demand using the new HTML5 img srcset attribute.
Additionally images size changes are applied on demand. No longer do you have to re-upload images to have image size changes applied.
Lastly, there is a new Fit Crop Mode (formally the Ratio option). The Fit crop mode will resize proportionally adjusting the size of scaled image so there are no margins added. The entered height and width are the maximum the image will be in either direction.
If you would be interested in giving a go, I would need a temp admin account and FTP account so I can install it and fix anything if something goes wrong for any reason … I do consider the code production ready, so it should be completely safe. Just post, privately, the login details here. Please follow-up with a public reply because the plugin I’m using seems to have a bug where I do not get notified of private replies which I have yet to track down and fix.
08/23/2014 at 2:02 pm #301727Dani Weymouth
GuestAh… that’s what I was missing… having to re-upload the images. I kept changing the settings but wasn’t seeing any changes so I kept changing things to try to get something to work.
Yes, I would definitely be interested in trying out the newer version. There are too many images to have to re-upload every time I want to try out another setting.
Thanks!!!
08/23/2014 at 2:33 pm #301728Dani Weymouth
GuestThis reply has been marked as private.08/24/2014 at 8:58 pm #301835Steven Zahm
Keymaster@ Dani
Yes, I can upload just thru the admin. The reason I also asked for FTP is because I want to make a backup of the images before deploying. The reason being that the images are being moved on demand as well. This is being done to be more WP compliant according to current best practices. Right now they are saved in the
../wp-content/connection_images/
folder. They will be moved to../wp-content/uploads/connections-images/{entry-slug}/
. Back when Connections first implemented image support there really was not a best practice other than saving them in thewp-content
folder. The current best practice is to have images in theuploads
folder.I don’t need to make the backup of the folder, you can… I just want to make sure it is done before I deploy just incase … because if something goes wrong, all images could be permanently deleted. I do not expect that to happen as it has not happened on others who are running the beta. Like I said, I do believe this code to be production ready, but with major changes like this, I really like to play it safe.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.