Media Library Folder visibility

Author Message

Dhaval Panchal

Monday 07 February 2011 5:42:38 am

Hi All,

I need one help, is it possible that we can show specific images from Media Library->Images to logged in users?

Thanks

Dhaval Panchal

Gaetano Giunta

Monday 07 February 2011 6:07:21 am

You might use two content classes for images: one which is visible and one which is not...

Principal Consultant International Business
Member of the Community Project Board

Franck Magnan

Monday 07 February 2011 12:18:54 pm

Hi Dhaval,

you can also create 2 folders with each a different section and use one to put your protected images. Then, you can modify roles to add access to the protected folder only to logged users.

--
Developer at Open Wide

Dhaval Panchal

Monday 07 February 2011 9:10:55 pm

Hi Franck & Gaetano,

That means i need to create one FOLDER in Image folder and have to assign rights to FOLDER only?

Thank you

Dhaval Panchal

Gaetano Giunta

Tuesday 08 February 2011 1:48:30 am

If you use two separate folders, you should assign the rights to read on "image class + fixed parent node"

Principal Consultant International Business
Member of the Community Project Board

Dhaval Panchal

Tuesday 08 February 2011 2:44:08 am

Ok i got this.

Thank you

Franck Magnan

Tuesday 08 February 2011 2:54:28 am

Dhaval,
if you want to use section to deal with your protected images, you must follow these steps:

  • create a "protected" folder to keep your images
  • create a section (e.g "for_logged_users_only")
  • modify your "protected" folder to assign it your new "for_logged_users_only" section
  • then, when you'll add an image to that folder, this new image will be automatically assigned to the "for_logged_users_only" section
  • modify roles to add "content->read" right for "for_logged_users_only" section to logged users

--
Developer at Open Wide

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.