content source article no image dislplay

  • webaccess
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
3 months 4 days ago - 3 months 20 hours ago #51405 by webaccess
Hi!
I set Content Source on content categories and images of the articles are not displayed, only the title. The template I use is "Focus". Please see the screenshot.
Help! Thank you!
Last edit: 3 months 20 hours ago by milos.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
3 months 4 days ago #51406 by milos
Hello,

Please check the options that are under the "Content Mode Settings" tab. Make sure you selected the correct Content Source IDs. Also, check the Hide Images option (should be disabled).

Regards,
Milos

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
3 months 3 days ago #51408 by milos
Hello,

In order to display the intro images, edit module file mod_hot_joomla_carousel_pro.php and under this block:
Code:
/* Single item output inside - START HERE */ $output = "\n";

add this:
Code:
// Intro image if (!$hideimages) { $intro_image_obj = json_decode($row->images); $intro_image = $intro_image_obj->image_intro; $output .= '<a href="'.$link.'"><img src="'.$intro_image.'" alt="'.$intro_image_obj->image_intro_alt.'"></a>'; }

Regards,
Milos

Please Log in to join the conversation.

  • webaccess
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
3 months 2 days ago - 3 months 2 days ago #51411 by webaccess
Thank you for your previous help, Milos!
Can you please help me make it a display center with a proper image ratio too? It doesn't look too good now.
Thanks!
Last edit: 3 months 2 days ago by webaccess. Reason: misspelling

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
3 months 2 days ago #51412 by milos
Hello,

Add this in custom.css template file and it will center the text and the image:
Code:
.flickity-slider .gallery-cell img { margin:0 auto; } .flickity-slider .carouselarticle { text-align:center; }

Regards,
Milos

Please Log in to join the conversation.

Time to create page: 0.437 seconds
Powered by Kunena Forum