-
AuthorPosts
-
vineyardseashell Friend
vineyardseashell
- Join date:
- March 2011
- Posts:
- 163
- Downloads:
- 30
- Uploads:
- 20
- Thanks:
- 60
- Thanked:
- 19 times in 1 posts
May 21, 2012 at 3:26 pm #177355Hi there,
I am not a developer/coder by any stretch of anyone’s imagination, but I’m willing to attempt anything. I’m using the Social Plugin in JA Nex and need to control the image size for content imported.
With JA Nex and the social plugin, I am trying to have the imported images a specific size i.e.) 210 x 120 for a 3-column layout, etc.
Scouting through the jasocial_feed.php file on line 67 I found the below code, and am wondering if this is the code, or part of the code that controls the size of the image once it is imported.
//init
$this->update_article = $this->plgParams->get(‘update_article’, 0);
$this->target_com = $this->plgParams->get(‘target’, ‘joomla’);
$this->created_by = $this->plgParams->get(‘created_by’, 42);
$this->save_image = $this->plgParams->get(‘save_image’, 0);
$this->valid_img_width = $this->plgParams->get(‘valid_img_width’, 360);
$this->valid_img_height = $this->plgParams->get(‘valid_img_height’, 180);
$this->get_url_service = $this->plgParams->get(‘get_url_service’, ‘untiny.com’);Is there someone out there who might be able to help or steer me in the right direction?
Thanks,
Vineyardseashell
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
May 22, 2012 at 7:43 am #454181Hi Vineyardseashell,
That code snippet is not for resize image feature. It’s used to filter image before importing them into article.
As that code, only image with size is larger than image size that you defined in profile is imported, otherwise it will be skipped.
360×180 is default size, they will be used if your profile does not provide specific information.See my attached image for more clearly
vineyardseashell Friendvineyardseashell
- Join date:
- March 2011
- Posts:
- 163
- Downloads:
- 30
- Uploads:
- 20
- Thanks:
- 60
- Thanked:
- 19 times in 1 posts
May 26, 2012 at 3:33 pm #455027Hi Dead Code,
I’m so sorry, I totally missed your post, and only found it after wanting to bump up the topic.
I had already done the individual image setting in the plugin. But for some reason it is just not wanting to re-size the images.
I know there are no immediate plans to have the social plugin work with other templates- which I feel is a shame, because it is a brilliant plugin. With the exception of the images being re-sized, the plugin works perfectly on JA Nex.
I really, really love and want to use JA Wall, but when it gets down to the bottom line, JA Nex suits my site better as I need to use extensions that are not responsive i.e.) JomSocial, Ad Agency, etc.
I would love you forever and a day, if you could help me fix this 😀
Vineyardseashell
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
May 29, 2012 at 4:47 am #455296Hello Vineyardseashell,
Please try to enable option ‘Save Image’ on social feed profile. I think that It can help in this case, since if this option is enabled, the social plugin will get image from source site and save it into your site, and image link will be updated to load from your site. So JA New pro (installed in JA Nex) can resize those images to thumbnail (resize image feature is available in JA New pro module)
vineyardseashell Friendvineyardseashell
- Join date:
- March 2011
- Posts:
- 163
- Downloads:
- 30
- Uploads:
- 20
- Thanks:
- 60
- Thanked:
- 19 times in 1 posts
May 29, 2012 at 4:40 pm #455384Hi Dead Code,
I tried that too, didn’t work. Over the past week or so, I used every configuration I can think of.
I cannot use JA News Pro because I don’t have the info coming into the front page; the articles are under a separate menu item.
I just uploaded the newest version of the social plugin and will wait a few hours to see what happens with the image parameters set to save.
I’ll keep you posted.
Thanks,
Vineyardseashell
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
June 4, 2012 at 2:00 am #455766Hello Vineyardseashell,
If you do not use JA News Pro (or other plugin that supports crop image feature) then your site will not work as you expect. Since, crop image feature is not available in JA Social plugin and JA Nex Template for now.
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by Thanh Nguyen Viet 12 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Taming Social Plugin Image Size To Fit JA Nex
Viewing 6 posts - 1 through 6 (of 6 total)