Posted by jaxon77 on June 24, 2012 at 7:49pm
If I have nodes that include images that are only available to subscribers how could I have those images show up as a blur to non members. I want anonymous users to still be able to read an article but not see the pictures.
Comments
=-=
easiest way to limit anon users from viewing images is to set perms on the anon role for the images or extend with field permissions module.
else you would likely need to use two fields, one with a default image for anon users and one with the image you want auth users to see. then use some php in the tpl.php file to serve the proper image to the proper role.
So I could just use php with
So I could just use php with an if statement to check the users role and if authenticated display the field else display a default image? I was hoping I could find a simple way to just display the image with a custom overlay to certain roles.
=-=
not sure if they are permissions based but : http://drupal.org/project/imagecache_actions/ may include something.