Page 1 of 1

CGSmartImage with filter_noop

Posted: Sun Sep 05, 2021 9:55 pm
by andrewvideouk
HI I think I found a bug in CGSmartImage

I am trying to get a use filter_noop="" Do no processing Image but triggers a cached image in CGBlog tempate.

{CGSmartImage src="http:website.com/uploads/image.png" notag="1" filter_noop="1"}

I am getting this error

CGSmartImage - Unknown Filter: Noop in /modules/CGSmartImage/action.default.php on line 44

I can add a filler or resize it works fine but I only want to cached image with no fillers etc . All my images are cached in a diffent directory so i can hide the upload directory.

In help its says
(optional) filter_noop="" - (anything) Do no processing (but triggers a cached image)

Can anyone help.

Thank you.

Re: CGSmartImage with filter_noop

Posted: Sun Sep 05, 2021 11:53 pm
by DIGI3
looks like a documentation error, the actual function is NOOP not noop.

Code: Select all

{CGSmartImage src=foo filter_NOOP=1}

Re: CGSmartImage with filter_noop (Solved)

Posted: Mon Sep 06, 2021 3:25 pm
by andrewvideouk
Thank you. You are a Star.