Previous Thread
Next Thread
Print Thread
Hop To
CSS sprites
#263688 03/28/2020 2:29 PM
Joined: Dec 2003
Posts: 6,130
Likes: 20
Ruben Offline OP
OP Offline
Joined: Dec 2003
Posts: 6,130
Likes: 20


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: CSS sprites
Ruben #263689 03/28/2020 2:36 PM
Joined: Apr 2004
Posts: 1,689
Likes: 49
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,689
Likes: 49
Your browser does not download them multiple times. Check your browser cache.

They are customizable layout images. And are customized per each forum custom style or per each website's custom design.

UBB.threads is also already using for Icon Fonts from https://fontawesome.com/

Icon fonts are similar to sprites in that the achieve the same thing: combining multiple images into a single request.
https://fontawesome.com/icons?d=gallery

How to use:
https://fontawesome.com/how-to-use/on-the-web/referencing-icons/basic-use


Current developer of UBB.threads PHP Forum Software // 7.7.4 released!
isaac @ id242.com // my forum @ CelicaHobby.com
1 member likes this: Gizmo
Re: CSS sprites
Ruben #263690 03/28/2020 2:53 PM
Joined: Apr 2004
Posts: 1,689
Likes: 49
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,689
Likes: 49
In addition, those are POST ICONS. And they can easily be added/removed.

Control Panel > Images & Icons > Post Icons

[Linked Image]

Image Sprites are a collection of images put into a single image.
https://css-tricks.com/css-sprites/

This is not appropriate usage for easy customization of Post Icons, Graemlins, Avatars, Forum Images, News Images, and Moods, where a forum owner would want to replace one or two images with their own custom image/images to fit their forum presentation. Especially if a single page was displaying 5 of sprites from a package of 100. All of those colorful 100 sprites would need to be downloaded when just 5 of them were needed.

CSS Sprites animation -
https://itnext.io/creating-css-animations-using-sprite-sheet-47e2b7a3793c

Now dump your 50 gifs in to that and have all of their animations in that single file.

Does this even make sense to do smile


Current developer of UBB.threads PHP Forum Software // 7.7.4 released!
isaac @ id242.com // my forum @ CelicaHobby.com
1 member likes this: Gizmo
Re: CSS sprites
Ruben #263698 03/29/2020 3:34 PM
Joined: Dec 2003
Posts: 6,130
Likes: 20
Ruben Offline OP
OP Offline
Joined: Dec 2003
Posts: 6,130
Likes: 20
Understood isaac.
Just being anal looking at gtmatrix and pindom and thought maybe you had a resolution you were already aware of.
The images are extremely small and the owner would have a concern with a rating of F.
I am okay with it.

Last edited by Ruben; 03/29/2020 3:34 PM.

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: CSS sprites
Ruben #263700 03/29/2020 3:41 PM
Joined: Jun 2006
Posts: 15,924
Likes: 21
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,924
Likes: 21
These validation tools are created for the vast majority of cases; this for example would be a recommendation for static content websites where things seldomly change and the users don't have access to multiple layouts, and not web forum where there are different styles, moods, icons, avatars, animations, etc are involved.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
1 member likes this: isaac

Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Ubb 7.7.4 Gallery problems
by jjjjj - 05/25/2020 2:35 PM
7.7.4 error after php upgrade to php 7.0
by Ruben - 05/25/2020 1:10 PM
7.7.4 move group all, fails with a error
by Ruben - 05/24/2020 3:07 PM
Grid lines in forum topics list
by Steve C - 05/23/2020 12:09 PM
Who's Online Now
0 members (), 90 guests, and 43 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4