Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • tkc12 Friend
    #140843

    Hi,

    I have been facing this image resize issue for the past week and as the technical team has yet to get back to me, I hope that other members here will be able to help.

    The issue: All images when posted in the article, are not being shown at the resized dimension on the front page. Refer screen shot below:

    I have tried:

    Checking the GD2 library – it has been enabled through checking the PHP info tab in Joomla admin.

    Checked if there are any resized version of the image created – Yes, the system created a smaller version in the folder – images/resized/images/stories/

    I really do not have any idea of what is the next step I should check…

    Any comments or help will be sincerely appreciated , thank you.

    nguyenhuu quang Friend
    #303353

    pls send your live site, allow us to help you
    thanks

    tkc12 Friend
    #303356

    Hi quang268,

    Thank you very much for the help. I have sent you the details of the live site.

    Looking forward to hear from you.

    nguyenhuu quang Friend
    #303358

    I have fixed your isuess, pls chekc again
    thanks

    tkc12 Friend
    #303395

    Hi quang268,

    Thanks for your help. However, when I post new articles, they still load the bigger version of images…

    I have sent you the details again, please help me out.

    nguyenhuu quang Friend
    #303418

    check it again

    tkc12 Friend
    #303577

    Hi, the issue has yet to be resolved… can someone please help?

    Anonymous Moderator
    #303579

    Hi,

    For this case, please open templates/ja_opalja_templatetools_1.5.php file, at about line 408, find following code:
    [PHP]
    if (count($images)) {
    $image = trim($images[1]);
    $params = JA_Tools::parseParams ($image);
    }[/PHP]

    and change to:

    [PHP]if (count($images)) {
    $image = trim($images[1]);
    $params = JA_Tools::parseParams ($image);
    }

    unset($params[‘width’]);
    unset($params[‘height’]);[/PHP]

    tkc12 Friend
    #303584

    Yes, this solves the issue finally! 😀

    Thanks again!

    markenaktiv Friend
    #357943

    <em>@JA Developer 127286 wrote:</em><blockquote>Hi,

    For this case, please open templates/ja_opalja_templatetools_1.5.php file, at about line 408, find following code:
    [PHP]
    if (count($images)) {
    $image = trim($images[1]);
    $params = JA_Tools::parseParams ($image);
    }[/PHP]

    and change to:

    [PHP]if (count($images)) {
    $image = trim($images[1]);
    $params = JA_Tools::parseParams ($image);
    }

    unset($params[‘width’]);
    unset($params[‘height’]);[/PHP]</blockquote>

    Hi,

    this code only fixes the problem that the pictures are resized. How can I COMPLETELY DISABLE any resizing funtion?
    I don´t want the template to alter anything! I only want to choose the pictures from /images/stories and I don´t want that any folder (resized) is created!

    markenaktiv Friend
    #357947

    solution:

    ja_templatetools_1.5.php (line 400):

    function extractImage( &$row, $autoresize, $width = 0, $height = 0) {

    replace by

    function extractImage( &$row, $autoresize, $width = 0, $height = 0) {
    return;

    guap Friend
    #374492

    Thanks.. finally. It fixed.

Viewing 12 posts - 1 through 12 (of 12 total)

This topic contains 12 replies, has 5 voices, and was last updated by  guap 13 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum