CGSmartImage with filter_noop

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
andrewvideouk
Forum Members
Forum Members
Posts: 155
Joined: Thu Aug 20, 2020 10:49 pm

CGSmartImage with filter_noop

Post 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.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: CGSmartImage with filter_noop

Post by DIGI3 »

looks like a documentation error, the actual function is NOOP not noop.

Code: Select all

{CGSmartImage src=foo filter_NOOP=1}
Not getting the answer you need? CMSMS support options
andrewvideouk
Forum Members
Forum Members
Posts: 155
Joined: Thu Aug 20, 2020 10:49 pm

Re: CGSmartImage with filter_noop (Solved)

Post by andrewvideouk »

Thank you. You are a Star.
Post Reply

Return to “Modules/Add-Ons”