Advertisement:

Navigation

SMF Mod Site

Mod Name:
Image Attachment Thumbnail View
Created By:
GL700Wing
Type:
Attachments
First Created:
December 26, 2020, 02:01:08 AM
Last Modified:
February 06, 2021, 11:01:56 PM
Latest Version:
1.3
Compatible With:
2.0.10, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15, 2.0.16, 2.0.17, 2.0.18, 2.1 RC3
Total Downloads:
131

Download this mod

Image_Attachment_Thumbnail_View_1.3.zip (7kB) [64]
Manual Install Instructions for SMF


Below are some preview images of what the mod looks like when being used

Description:

Image Attachment Thumbnail View - v 1.3

Thumbnail view of images in Administration Center, Member Profiles and Moderation Center.

By default only download links are provided for image attachments accessed via Administration Center >> Attachments and Avatars >> Browse Files and Profile of Member >> Show Posts >> Attachments and only file names are shown for unapproved attachments accessed via Moderation Center >> Unapproved Attachments.

In addition, unapproved attachments listed in the Administration Center are not identified by either the use of a different coloured row background or the addition of the text  '(Awaiting Approval)'  after the filename. (In Member Profiles unapproved attachments have both these attributes).

This mod provides the option to display a thumbnail sized (ie, max 150px x 150px) view of all image attachments in the Administration Center, Member Profiles and Moderation Center.

In addition, this mod adds download links unapproved attachments in the Moderation Center, uses a different coloured row background for unapproved attachments listed in the Administration Center, and displays the text  '(Awaiting Approval)'  after the filename of unapproved attachments in both the Administration Center and Member Profiles.


Administration Center:
This mod provides the option to display a thumbnail sized (ie, max 150px x 150px) view of all image attachments (ie, attachments, avatars and thumbnails) above the download link.

The option is enabled/disabled via the 'Display thumbnail view of image attachments in Admin Center' setting in Administration Center >> Attachments and Avatars >> Attachment Settings.


Member Profiles:
This mod provides the option for Admins, Moderators and/or members to see a thumbnail sized (ie, max 150px x 150px) view of image attachments above the download link.

These options are enabled/disabled via the 'Allow Admins to see a thumbnail view of image attachments in all member profiles', 'Allow Moderators to see a thumbnail view of image attachments in all member profiles' and 'Allow members to see a thumbnail view of image attachments in member profiles' settings in Administration Center >> Attachments and Avatars >> Attachment Settings.


Moderation Center:
In addition to also providing the same option for unapproved attachments for moderators this mod also adds download links for ALL types of unapproved attachments.
(Note: Download links will be displayed even if the thumbnail view is disabled).

The option to display a thumbnail sized (ie, max 150px x 150px) view of unapproved image attachments is enabled/disabled via the 'Display thumbnail view of unapproved image attachments in Moderation Center' setting in Administration Center >> Attachments and Avatars >> Attachment Settings.


Release History:
1.0 - Initial Release with support ony for SMF 2.0.17 (26-Dec-20)
1.1 - Added support for SMF 2.0.10-2.0.17 and SMF 2.1 RC3 (21-Jan-21)
1.2 - Added support for SMF 2.0.18 (06-Feb-21)
1.3 - SMF 2.0.xx - Fixed two bugs in GenericList.template.php (07-Feb-21)



License
Copyright 2021 Kathy Leslie

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer; and
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.