Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#157 2021-04-01 17:45:32
Re: smd_random_banner: Random banner image for advertising
Thanks so much for your quick replies!
In case anyone else comes across this replacing line 336 of smd_random_banner.php with:
$objOut = (($thumb) ? thumbnail($imgOptions) : thumbnail($imgOptions + array('thumbnail' => false)));
Worked like a charm (at least for now…)
I couldn’t get the ProcessTags… to work, but that’s probably just because I didn’t know what I was doing there.
Offline
#158 2021-04-01 21:08:49
Offline
#159 2021-04-01 21:30:13
Re: smd_random_banner: Random banner image for advertising
Even better! Thanks so much.
Offline
#160 2021-04-02 10:31:13
Re: smd_random_banner: Random banner image for advertising
It will be possible (and better) to directly pass arrays to processTags()
in 4.8.6:
processTags('image', $imgOptions);
Offline