Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • interiority Friend
    #143463

    I found the post on how to remove the black border on images, but I would like the template to leave the images as I insert them — no resizing. The images don’t resize in proportion and don’t look right.
    Where do I turn off this setting?
    Thanks!

    jargall27 Friend
    #314393

    There is a plugin you could use. It is called Imagesized and can be downloaded here:

    http://kulkul.xahoihoctap.net/kho-tai-lieu.html?func=select&id=2

    wiery Friend
    #314402

    There really is no setting to turn off but you can get rid of the resizing by changing some coding in the templates files. Go to templates >j a_topaz > html > com_content > frontpage > default.php

    Open this file and go to around line 19. You will see the following:

    //Leading image size
    $this->imageWidth = 404;
    $this->imageHeight =230;
    echo $this->loadTemplate('item'); ?>
    </div>
    <span class="leading_separator<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>"> </span>
    <?php endfor; ?>

    <div class="article-block">
    <?php $introcount = $this->params->def('num_intro_articles', 4);
    //intro image size
    $this->imageWidth = 60;
    $this->imageHeight = 60;

    The codes highlighted in red do the resizing. The first set is the larger image and the second resizes the smaller. Remove them completely or change the size to what ever you like.

    interiority Friend
    #314714

    This worked great, thanks. I also did the same edit in
    ..com_content./category/blog.php

    inikned Friend
    #315560

    jus add “//” before “$this->image”

    //Leading image size
    //$this->imageWidth = 404;
    //$this->imageHeight =230;
    echo $this->loadTemplate(‘item’); ?>
    </div>
    <span class=”leading_separator<?php echo $this->escape($this->params->get(‘pageclass_sfx’)); ?>”> </span>
    <?php endfor; ?>

    <div class=”article-block”>
    <?php $introcount = $this->params->def(‘num_intro_articles’, 4);
    //intro image size
    //[$this->imageWidth = 60;
    //

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

This topic contains 5 replies, has 4 voices, and was last updated by  inikned 15 years, 2 months ago.

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