By serg2 on
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
My first thought is to create
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
Yes, it defiantly makes more
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
No problem, glad to have
No problem, glad to have helped.
Lead Developer and Founder of StreamRiot.com