-
AuthorPosts
-
August 14, 2009 at 1:09 pm #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!August 15, 2009 at 4:31 pm #314393There 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 Friendwiery
- Join date:
- July 2009
- Posts:
- 185
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 36 times in 30 posts
August 15, 2009 at 6:45 pm #314402There 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.
1 user says Thank You to wiery for this useful post
August 19, 2009 at 10:30 am #314714This worked great, thanks. I also did the same edit in
..com_content./category/blog.phpinikned Friendinikned
- Join date:
- December 2008
- Posts:
- 3
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
August 28, 2009 at 2:30 pm #315560jus 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;
//2 users say Thank You to inikned for this useful post
-
AuthorPosts
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