Need ALL Images to Default to: 'Show in Original Location' View...


Active member
Hello 'again' ~ lol!

I have noticed that all the images including the ones in the [XFR] User Albums add-on do NOT default to the "show in original location" setting. Instead it shows the flash-view with the arrows. How can I make ALL Xenforo images (or at least the ones in the add-on), display in the "show in original location" view? THANKS in Advance ;-)

Jake Bunce

XenForo moderator
Staff member
Admin CP -> Appearance -> Templates -> attached_files

Remove the red code:

Rich (BB code):
					<div class="thumbnail">
						<xen:if is="{$attachment.thumbnailUrl} AND {$canViewAttachments}">
							<a href="{xen:link attachments, $attachment}" target="_blank" class="LbTrigger"
								data-href="{xen:link misc/lightbox}"><img 
								src="{$attachment.thumbnailUrl}" alt="{$attachment.filename}" class="LbImage" /></a>
						<xen:elseif is="{$attachment.thumbnailUrl}" />
							<a href="{xen:link attachments, $attachment}" target="_blank"><img
								src="{$attachment.thumbnailUrl}" alt="{$attachment.filename}" /></a>
						<xen:else />
							<a href="{xen:link attachments, $attachment}" target="_blank" class="genericAttachment"></a>
That will take care of post attachments. There might be a different template for the album addon. Search the templates for "LbTrigger".


Active member
Um, I removed it but it didn't really show any change. And I tried looking in almost every XFR file for LbTrigger to no avail...