Welcome, Guest
Username: Password: Remember me

TOPIC: Problem with image in articles

Problem with image in articles 10 years 1 week ago #580

whbztest1.utp.edu.pl/images/mod_jo_respo...cles/p600x600/13.jpg

This image exists. because it has loaded there by the media manager

I loaded it myself because I thought of it will help.
Last Edit: 10 years 1 week ago by Adam Brudnicki.
The administrator has disabled public write access.

Problem with image in articles 10 years 1 week ago #581

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hi
Thank you. Your site whbztest1.utp.edu.pl/ is online? can you send me joomla administrator via contact form? So i can check it
Best regards
Bach Pham
The administrator has disabled public write access.

Problem with image in articles 10 years 1 week ago #582

Yes site is on line. Unfortunately As I said you do not get to the admin page because the service our server blocks access from outside the network of the school.
Last Edit: 10 years 1 week ago by Adam Brudnicki.
The administrator has disabled public write access.

Problem with image in articles 10 years 1 week ago #583

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hi
:D. Now you find and open file: module/mod_jo_responsive_scroller_articles/helper.php
Go to line 148->164 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 = '';
}
Or can you send me account FTP? So i can help you
Best regards
Bach Pham
The administrator has disabled public write access.

Problem with image in articles 10 years 1 week ago #587

Thank you very much for your help. Everything works ;)
The administrator has disabled public write access.

Problem with image in articles 10 years 1 week ago #588

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hi
Thank you for using our products.
Now please help we added height for image (it is help you show image in the height fixed)
Find and open file: modules/mod_jo_responsive_scroller_articles/css/settings.css go to 425 and changed
.showbiz .mediaholder img {width:100%; position:relative; margin-bottom:-5px;}
To
.showbiz .mediaholder img {width:100%; position:relative; margin-bottom:-5px; height: 165px;}
Best regards
Bach Pham
Last Edit: 10 years 1 week ago by Super User.
The administrator has disabled public write access.
Time to create page: 0.059 seconds