The question is this:
What is the best way to provide a normal image to a registered user and a blurred image (or masked) to a unregistered user?

The only way I can think of doing it is by applying a Image Watermark using image cache actions, then having duplicate nodes for different user types. I was wondering if there might be a better way of doing it? Maybe a JS mask that effects images only?
Any thoughts?

Comments

graysadler’s picture

My first thought is to create two imagecache profiles and apply the one with the watermark to anonymous users and the regular one to authenticated users. This would allow you to use the same node for both cases by selecting which imagecache profile to use during the node's preprocess function.

Lead Developer and Founder of StreamRiot.com

serg2’s picture

Yes, it defiantly makes more sense to duplicate the imagecache than the nodes.
I going to have to come back to this feature later as using D7 and imagecache isn't up to speed yet.

Thanks for the reply Gsadler

graysadler’s picture

No problem, glad to have helped.

Lead Developer and Founder of StreamRiot.com