Recent Topics

1 Sep 17, 2013 20:46    

There must be a restriction for "teaser" and "aftermore" images displayed in RSS feeds. There's currently no limitation, all attached images get displayed, even galleries.

A patch for /skins/_rss2/index.main.php

// Display images that are linked to this post:
$image_position = ($feed_content == 'full') ? '' : 'teaser';
$content = $Item->get_images( array(
		'before' =>              '<div>',
		'before_image' =>        '<div>',
		'before_image_legend' => '<div><i>',
		'after_image_legend' =>  '</i></div>',
		'after_image' =>         '</div>',
		'after' =>               '</div>',
		'image_size' =>          $image_size,
		'restrict_to_image_position' => $image_position,
	), 'htmlbody' );

2 Sep 18, 2013 01:44

Hello @sam2kb,

I couldn't reproduce the situation that you describe, in my case all images are still there. May you please develop a little more the idea?

Thanks.

3 Sep 18, 2013 05:12

You are right, all attached images are always displayed in RSS.
However we must show only "teaser" images if that option is selected in backoffice.


Form is loading...