Image support - HELIX3 blog options - featured image and post formats

Presale questions & requests related to RAXO modules
User avatar
Lisa
Posts: 1014
Joined: Feb 25, 2010 7:14 pm

Re: Image support - HELIX3 blog options - featured image and post formats

Post by Lisa »

Helix uses its own way to attach images to articles.
RAXO All-mode PRO module is designed to work with core Joomla content component. So it can process images that are either inside Joomla article body or in article image fields.
:!: Join me on Facebook to keep up with the latest RAXO news and other Joomla stuff!
msena
Posts: 1
Joined: Apr 15, 2018 7:25 am

Re: Image support - HELIX3 blog options - featured image and post formats

Post by msena »

Hello.
Change in file helper.php

Code: Select all

		if ($show_text || ($show_image && ($image_source == 'text' || $image_source == 'automatic')))
		{
			$query->select(' a.introtext, a.fulltext, a.attribs');
		}

		$show_image && $image_source != 'text' ? $query->select(' a.images, a.attribs') : '';
and

Code: Select all

		$empty	= array_fill_keys(array('id', 'title', 'title_full', 'link', 'date', 'author',
					'image', 'image_src', 'image_alt', 'image_title', 'text', 'readmore',
					'category', 'category_id', 'category_name', 'category_link', 'featured',
					'hits', 'rating', 'rating_value', 'rating_count',
					'comments', 'comments_count', 'comments_link', 'attribs'), '');
		$empty	= JArrayHelper::toObject($empty);
and

Code: Select all

		// Retrieve Image
		$img	= array_fill_keys(array('src', 'alt', 'ttl'), '');
		//$images = ($image_source != 'text') ? json_decode($item->images) : '';
		$images = ($image_source != 'text') ? json_decode($item->attribs) : '';

		if (!empty($images->spfeatured_image) && ($image_source == 'intro' || $image_source == 'automatic'))
		{
			$img['src'] = $images->spfeatured_image;
			//$img['alt'] = $images->image_intro_alt;
			//$img['ttl'] = $images->image_intro_caption;
		}
and select in the module advanced image settings: Intro Image
User avatar
Lisa
Posts: 1014
Joined: Feb 25, 2010 7:14 pm

Re: Image support - HELIX3 blog options - featured image and post formats

Post by Lisa »

Thank you for the instruction How to add Helix image support.
Yes, it should work.

An important notice:
While adding support for Helix images, this instruction kills support for core Joomla intro and full article images.
:!: Join me on Facebook to keep up with the latest RAXO news and other Joomla stuff!
rca
Posts: 4
Joined: Nov 24, 2014 8:35 am

Helix 3 framework thumb

Post by rca »

I am using Helix 3 framework inserting image from Featured (Helix Option).
This image is not used by Raxo selection mode of thumbnails.

You can check on http://rivistageomedia.it where new articles of today are shown without thumb.
(old article of 2018 ralized with K2 worked better)

Can you check the possibility to add automatically the generation of thumbs ?
Admin
Site Admin
Posts: 1524
Joined: Jan 31, 2010 9:53 pm
Joomla! version: 4.0.5
PHP version: 8.0

Re: Helix 3 framework thumb

Post by Admin »

rca wrote: Jan 03, 2019 10:33 am Can you check the possibility to add automatically the generation of thumbs ?
I moved your post to this topic.
See the instruction in several posts above.
rafaeltribos
Posts: 1
Joined: Aug 07, 2015 11:15 pm

Re: Image support - HELIX3 blog options - featured image and post formats

Post by rafaeltribos »

Not work in joomla 4 and raxo for joomla 4
Post Reply