Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Mohamed Faisal
Document Library images are not showing for user in Liferay6.1
July 7, 2013 10:11 PM
Answer

Mohamed Faisal

Rank: Junior Member

Posts: 68

Join Date: August 11, 2009

Recent Posts

Hi,
I have created custom portlet for displaying Images. It is working for only portal Admin.

The requirement is that Images should show for users also. What changes need to do to achieve this. Please help me.

Regards,
Faisal
mehdi sunasara
RE: Document Library images are not showing for user in Liferay6.1
July 7, 2013 10:16 PM
Answer

mehdi sunasara

Rank: Junior Member

Posts: 26

Join Date: September 12, 2012

Recent Posts

Hi mohammed,

I think there is issue on your permission setting.Give view permission to user role also .


H2H
Mehdi
Mohamed Faisal
RE: Document Library images are not showing for user in Liferay6.1
July 7, 2013 10:30 PM
Answer

Mohamed Faisal

Rank: Junior Member

Posts: 68

Join Date: August 11, 2009

Recent Posts

Hi Mehdi,

I have already checked the permissions. It is not due to permissions.

Regards,
Faisal
mehdi sunasara
RE: Document Library images are not showing for user in Liferay6.1
July 7, 2013 10:50 PM
Answer

mehdi sunasara

Rank: Junior Member

Posts: 26

Join Date: September 12, 2012

Recent Posts

Hi

How i can understand your problem without code or any error.
If u want to display images ,you should use structures and template and refer this blog



H2H
Mehdi
Mohamed Faisal
RE: Document Library images are not showing for user in Liferay6.1
July 7, 2013 11:32 PM
Answer

Mohamed Faisal

Rank: Junior Member

Posts: 68

Join Date: August 11, 2009

Recent Posts

Hi,
not using structure and template. I have a list of images. It should show for all users.

Regards,
Faisal
Oliver Bayer
RE: Document Library images are not showing for user in Liferay6.1
July 8, 2013 1:27 AM
Answer

Oliver Bayer

Rank: Liferay Master

Posts: 883

Join Date: February 18, 2009

Recent Posts

Hi Mohamed,

maybe you are creating the links to the images the wrong way e.g. if your link is referring to the control panel normal users (=guest users who aren't logged in) can't see the images.

HTH Oli
Mohamed Faisal
RE: Document Library images are not showing for user in Liferay6.1
July 8, 2013 2:17 AM
Answer

Mohamed Faisal

Rank: Junior Member

Posts: 68

Join Date: August 11, 2009

Recent Posts

Hi Oliver,

It is not showing logged in users also. Images are not shown even community admin also. It is only showing Portal admin.
Oliver Bayer
RE: Document Library images are not showing for user in Liferay6.1
July 8, 2013 8:26 AM
Answer

Oliver Bayer

Rank: Liferay Master

Posts: 883

Join Date: February 18, 2009

Recent Posts

Ok, but it was worth a guess emoticon.
Can you post the code snippet on how you retrieve the images of the document library and how you try to display them?
Tonu Sri
RE: Document Library images are not showing for user in Liferay6.1
July 8, 2013 8:28 AM
Answer

Tonu Sri

Rank: Regular Member

Posts: 196

Join Date: April 15, 2011

Recent Posts

Hi Faisal,

Please share code to find out exact issue. If this is not a permission issue, your code can have some problem.

Thanks:
Tonu
Mohamed Faisal
RE: Document Library images are not showing for user in Liferay6.1
July 8, 2013 11:59 PM
Answer

Mohamed Faisal

Rank: Junior Member

Posts: 68

Join Date: August 11, 2009

Recent Posts

Hi Tonu,
It is working for users now.
But if I create new instance then the images are not showing in the instance.

Regards,
Faisal