• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Strange behaviour viewing images as guest without permission


Well-known member
Hello. I have removed guest users access to the images in the resource manager. When I browse without been logged in and I click an image, it opens and then closes, instead of sending me to the register page. It only happens in the Resources section.

I have tried with midori and iceweasel (firefox).

I'm using XenForo 1.2.0 RC2 and Resource Manger 1.0.2.


XenForo moderator
Staff member
I am unable to reproduce this.

With the View resource images permissions set to Not Set (No), when not logged in I see a thumbnail which when clicked on loads the error/login page.


Well-known member
I have tried with chromium also and I have the same problem. I have tried disabling all addons except Resource Manager. My template is pretty standard.


XenForo developer
Staff member
You can fix this by changing this line in the resource_update template:
<li><a href="{xen:link attachments, $attachment}" target="_blank" class="LbTrigger {xen:if '!{$attachment.thumbnailUrl}', noThumb}"
<li><a href="{xen:link attachments, $attachment}" target="_blank" class="{xen:if $canViewImages, LbTrigger} {xen:if '!{$attachment.thumbnailUrl}', noThumb}"