-
AuthorPosts
-
October 7, 2009 at 9:45 pm #144971
I have found some answers here on the resizing issue in the ja_templatetools_1.5 PHP file but my code looks a little different. Here is what I have.
foreach ($imgFiles as $file){
$i_f = $path .DS. $file;
if ( eregi( “bmp|gif|jpg|png|jpeg”, strtolower($file) ) && is_file( $i_f ) ) {
$thumb = $this->jaImgResize ($path .DS. $file, 40,40);
//$thumb = ”;
$imageFile[] = array(‘file’=>$file, ‘thumb’=>$thumb);
}
Now what on this do I modify to prevent the image resizing issue I am having?
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
October 8, 2009 at 9:02 am #319864Hi mn1soundmaster
It is difficult to solve your issue. Could you please let me in detail your issue?
October 8, 2009 at 11:54 am #319892Well basicaly when I add a picture inside my article the image automatically resizes to a specific size, I want to shut that feature off. I see there is a folder inside stories/images/resize. How do I shut the resizing feature off for my template Opal. I am currently running Joomla 1.5 and template ja_opal
October 10, 2009 at 4:04 pm #320117Hello,
Was this enough information? I cannot add images in my site without them automatically resizing, can someone tell me how to shut the “resize” feature off? Its quite frustrating and simply a useless feature.
Thanks,
mn1soundmasterOctober 13, 2009 at 5:43 pm #320396I am also having issues with the image resizing. I did find a post suggesting changing templatesja_opalja_templatetools_1.5.php file, at about line 414, to the following $image1 = JA_Tools::processImage ( $params[‘src’], $width, $height, 0 ) … which I did.
This only partially solves the problem. It does mean that the image dimensions are now correct, BUT the image is still being resized and the quality is being degraded terribly. The image is still being processed and is ending up in the “resized” directory …
NOTE: I do want the resizing to continue working with the ja_slideshow (for the thumbnails), but I DO NOT want resizing to happen with other images.
If you could further direct me, that would be great as my client is very unhappy with the lo-res image that is being generated.
see http://www.platinumathleticclub.com/dev
thank you.
April 6, 2010 at 4:23 pm #339333Yes, same question here. How do we just turn off the resizing completely? The images that are resized are very poor quality.
Thank you.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 7, 2010 at 9:50 am #339460Dear all!
to turn off the resize function , pls do this as following:
1) open the files :
templatesja_opalhtmlcom_contentfrontpagedefault_item.php,
templatesja_opalhtmlcom_contentcategoryblog_item.php
templatesja_opalhtmlcom_contentsectionblog_item.phpand file code:
[PHP]$image = JA_Tools::extractImage ($this->item, true, $this->imageWidth, $this->imageHeight);[/PHP]and replace:
[PHP]
//$image = JA_Tools::extractImage ($this->item, true, $this->imageWidth, $this->imageHeight);
$image=”;
[/PHP]2) if you would like to use the thumbnail cropped in the blog layout and front-page layout, you can install the ja thumbnail plugin.
Good luck
2 users say Thank You to Saguaros for this useful post
-
AuthorPosts
This topic contains 7 replies, has 5 voices, and was last updated by Saguaros 14 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum