How To Get Intro Image Instead Featured Image - Question | JoomShaper

How To Get Intro Image Instead Featured Image

GP

Gianluca Pantaleo

Template 3 years ago

Hello, an override by yours got featured image (helix blog option) instead joomla native intro image: $bgimage = 'style="background-image: url('/. $item->image_medium .');"'; how can I change the code to get intro image, please? Thanks

0
3 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #14611

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Are you talking about article details page image?

-Thanks

0
GP
Gianluca Pantaleo
Accepted Answer
3 years ago #14617

Hi, no, its and addon module.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #14624

Go to the file location

components/com_sppagebuilder/addons/articles/site.php

Find out this code

$image = $item->image_thumbnail;

And replace with this code

$image = $item->image_medium;

-Thanks

0