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.13, DOCUMENT_ROOT, htaccess, LOCAL_FILE_BASE_DIRECTORY, Tile Plus, timthumb
- This topic has 3 replies, 2 voices, and was last updated 12 years, 1 month ago by
Steven Zahm.
-
AuthorPosts
-
07/11/2014 at 9:24 am #296763
jimedward
ParticipantAwesome plugins Stephen. I get more use out of your plugin than any other that I use. All gushing aside, I do have an issue with Tile-Plus images not loading.
I am going by your guide that you posted (see below)…
1. Tile Plus will automatically create images from the source image that are 100px x 130px. It does not use the pre-cached image sizes created when you add a new image. You will have to pre-process the image, scale and crop. If you upload a pre-cropped image using the same ratio (10:13) that would work too. For example, images with the dimension of 200px x 260px or 110px x 143px. Here’s the math…
…However, all I get is a broken link and no image. Look at Jay Niblick’s Card for reference on webpage below (see link)
My site is http://innermetrix.com/consultants/certified-innermetrix-consultants/
My short code is below:
[connections template='tile-plus' enable_search=true enable_category_select=false category='2' id='1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28' order_by='id|SPECIFIED' image='photo' str_image='No Photo Available' card_width='320' card_height='210' show_social_media='TRUE']
Thanks!
-Jim07/12/2014 at 10:55 am #296862Steven Zahm
Keymaster@
The document root can not be determined automatically. So you have to manually set the DOCUMENT_ROOT here’s how:
Add the following to the
timthumb-config.phpfile found here:../wp-content/plugins/connections/includes/libraries/timthumb/This is what you need to add, make sure to change the doc root accordingly:
define ( 'LOCAL_FILE_BASE_DIRECTORY', '/my/doc/root/' );What
/my/doc/rootwill be will depend entirely on the server setup. If you go to the the Connections : Dashboard admin page and look at the the System widget; there will be a constant namedCN_PATH. The doc root should be the beginning portion of that path. What I can tell you is that from the wp-content and on will NOT be part of the doc root.Hope that helps.
07/15/2014 at 7:09 am #297006jimedward
ParticipantWorked Like a charm. Thanks!
*RESOLVED*
07/15/2014 at 8:32 am #297007Steven Zahm
Keymaster@ Jim
Great to hear! Two things to keep in mind … unfortunately any time there is a Connections update, you’ll have to re-add
define ( 'LOCAL_FILE_BASE_DIRECTORY', '/my/doc/root/' );to the file because WordPress will delete the file during an update. Second, starting with version 0.8.14 the path to thetimthumb-config.phpfile will be here:../wp-content/plugins/connections/vendor/timthumb/It’s being moved as part of my ongoing effort to cleanup the file structure.
If you have moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connections -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
