Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: change the background color

change the background color 9 years 9 months ago #771

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hi
Thank you for using our products
Best regards
Bach Pham
The administrator has disabled public write access.

change the background color 9 years 9 months ago #796

  • grigor
  • grigor's Avatar
  • OFFLINE
  • New Member
  • Posts: 6
  • Thank you received: 1
  • Karma: 0
hello again
client liked the design and transfer it to his server.
and I need your help again for the black background or know how to remove it so as not to exercise you
Last Edit: 9 years 9 months ago by grigor.
The administrator has disabled public write access.

change the background color 9 years 9 months ago #797

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hi
Find and open file: modules/mod_jo_responsive_scroller_articles/helper.php
Go to line 150->166 and changed
if (!empty($images->image_fulltext))
{
$item->imageMedium = JURI::root().$images->image_fulltext;
$resizeObj = new resize($item->imageMedium);
$resizeObj -> resizeImage($params->get('thumbwidth'), $params->get('thumbheight'), 'crop');
$resizeObj -> saveImage($destination.'/mod_jo_responsive_scroller_articles/'.'p'.$params->get('thumbwidth').'x'.$params->get('thumbheight').'/'.md5("Image".$item->id).'_M.jpg', 100);
$item->image_thumb = JURI::root().'images/mod_jo_responsive_scroller_articles/'.'p'.$params->get('thumbwidth').'x'.$params->get('thumbheight').'/'.md5("Image".$item->id).'_M.jpg';

}elseif (!empty($matches[1][0])) {
$item->imageMedium = $matches[1][0];
$resizeObj = new resize($matches[1][0]);
$resizeObj -> resizeImage($params->get('thumbwidth'), $params->get('thumbheight'), 'crop');
$resizeObj -> saveImage($destination.'/mod_jo_responsive_scroller_articles/'.'p'.$params->get('thumbwidth').'x'.$params->get('thumbheight').'/'.md5("Image".$item->id).'_M.jpg', 100);
$item->image_thumb = JURI::root().'images/mod_jo_responsive_scroller_articles/'.'p'.$params->get('thumbwidth').'x'.$params->get('thumbheight').'/'.md5("Image".$item->id).'_M.jpg';
}else{
$item->image_thumb = '';
}
To
if (!empty($images->image_fulltext))
{
$item->imageMedium = JURI::root().$images->image_fulltext;
$item->image_thumb = JURI::root().$images->image_fulltext;

}elseif (!empty($matches[1][0])) {
$item->imageMedium = $matches[1][0];
$item->image_thumb = $matches[1][0];
}else{
$item->image_thumb = '';
}

Best regards
Bach Pham
The administrator has disabled public write access.
The following user(s) said Thank You: grigor

change the background color 9 years 9 months ago #798

  • grigor
  • grigor's Avatar
  • OFFLINE
  • New Member
  • Posts: 6
  • Thank you received: 1
  • Karma: 0
big big big thanks
The administrator has disabled public write access.

change the background color 9 years 9 months ago #799

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
:D
Thank you for using our products
Best regards
Bach Pham
The administrator has disabled public write access.

change the background color 9 years 9 months ago #800

  • grigor
  • grigor's Avatar
  • OFFLINE
  • New Member
  • Posts: 6
  • Thank you received: 1
  • Karma: 0
Product is great
The administrator has disabled public write access.
The following user(s) said Thank You: Super User
  • Page:
  • 1
  • 2
Time to create page: 0.047 seconds