Nothing special on my side, just some css customizations:
View attachment 130536
Also I would like to have only as an option in ACP so admin can control if user may have an option to disable previews.
I must have been blind...If You uncheck "User editable" in General options for the custom user field named "Discussion previews", users will not be able to disable previews any longer.
I love it. in fact, that will be a great feature. you know, people love pictures.
View attachment 130118 View attachment 130119 View attachment 130120 View attachment 130121
miniatures that open in overlay. that would be really cool
<xen:if is="is_array({$thread.attachments})">
<br />
<div class="attachedFiles">
<xen:foreach loop="$thread.attachments" value="$attachment">
<xen:if is="{$attachment.thumbnailUrl} AND {$attachment.canView}">
<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:if>
</xen:foreach>
</div>
</xen:if>
This is awesome.
The tread list will look similar to a blog or portal. I like the idea.
I hope we can have the option to display only one picture (on the left of the preview, like in the blog layout.)
I hope also it will support embedded pictures and not only attachments.
Finally, it will make sense to remove or change statistics and last poster info position to make it looks exactly like a portal.
Thanks.
Great replies/suggestions ChichardKYA.
And thanks farang for your great support and listen ideas.
New features in version 3.0.0
View attachment 130981
- Option to preview images attached to the thread.
New options in ACP:
View attachment 130982
Fixed in version 3.0.1
This is a minor problem fix. If You feel that You are not affected by the problem there is no need to upgrade just for this.
- The add-on preview length was following the preview length setting in the ACP -> "Threads, Discussions and Conversations" options rather than the options for "[fgX] Discussion Preview"
If you upgrade from version 3.0.0 you just need to upload the new files to your server without running "Upgrade Add-on". (Then it will...
Is it possible to set preview lengths for the responsive options as I've found they're a little too long when looking at them on a mobile. If no option is it possible to add one?
Also, to me, it would make more sense to have the 'User Editable' option in the option group for this than where it is currently?? Also, I may be blind here, but is there a way to adjust the image preview size?
Have to say, as per my review, this addon is great and the support from the author is second to none, keep up the great work @farang .
#(<img\s+src=")([^"]*)(".*?class="[^"]*)("\s*?/>)#is
$1<xen:callback class='SV_LazyImageLoader_Helper' method='getLazySpinnerUrl' params='$2' />$3 <xen:callback class='SV_LazyImageLoader_Helper' method='getLazySpinnerCss' params='{xen:array 'full={$full}', 'attachment={$attachment}', 'extra=$4', 'noscript={$1$2$3$4}'}' />
We use essential cookies to make this site work, and optional cookies to enhance your experience.