VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: EvanGR on April 12, 2019, 09:01:36 AM

Title: Get full Category image? (not thumb)
Post by: EvanGR on April 12, 2019, 09:01:36 AM
Quick question..

I can do the following to get the category image thumbnail URL:
$categoryImgUrl = JURI::root() . $this->category->images[0]->getFileUrlThumb();

How do I get the full image instead, and not the thumb?

Thanks!
Title: Re: Get full Category image? (not thumb)
Post by: Ghost on April 12, 2019, 09:12:23 AM
$categoryImgUrl = JURI::root() . $this->category->images[0]->file_url;