Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • vineyardseashell Friend
    #177355

    Hi 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 Friend
    #454181

    Hi 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


    1. ja_social_feed_profile
    vineyardseashell Friend
    #455027

    Hi 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 Friend
    #455296

    Hello 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 Friend
    #455384

    Hi 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 Friend
    #455766

    Hello 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.

Viewing 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