Closed (outdated)
Project:
Drupal core
Version:
11.x-dev
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Sep 2009 at 22:57 UTC
Updated:
14 Oct 2025 at 15:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
wretched sinner - saved by grace commentedFeatures get done in HEAD first, then (possibly) backported.
For reference:
Dries' views on sprites in core (2009): #552000-19: Smush core images
catch's views on sprites in core (2009): #552000-18: Smush core images
Crell's views on sprites in core (2006): #102636-1: Garland: Combine bg-navigation-item.png and bg-navigation-item-hover.png for faster hovering
Related issues:
#203367: Automatic Image sprites. which is a request to automatically generate sprites for any images (2007).
#102636: Garland: Combine bg-navigation-item.png and bg-navigation-item-hover.png for faster hovering to use sprites in Garland (2006).
#563190: Add ability to alter css data when preprocess_css is enabled allowing css to be altered for sprites (2009).
Comment #2
wretched sinner - saved by grace commentedComment #3
Josh The Geek commentedhttp://spriteme.org could help.
Comment #4
betovargI dont think spriteme.com could be helpful. Sprite me grabs all the images inside a web page that is currently showing to create a sprite.
I dont think gnerating a sprite is a problem for core icons such as:
menu-collapsed.png
menu-expanded.png
menu-leaf.png
message-24-error.png
message-24-ok.png
message-24-warning.png
(maybe all the other message-16-*.png as well)
Now, the problem we might run into is maintenance. Where will the .psd for these sprites be posted on? Also there should be good documentation in order to mantain that. Oh, and RTL could also be an issue here, I believe. I'll work on a test for a sprite on the suggested images, and the stylesheets that use it.
Thoughts?
Comment #5
mgiffordI really like the idea of keeping these images in an Inkscape format that has built in version control and is open source. But ya, not sure who would maintain the images. I'm not sure how any of the existing images are maintained.
I don't think RTL will be a problem here, but really would want to have that tested by someone who is testing this with RTL.
Few solutions like:
http://css.spritegen.com/
http://csssprites.com/
http://css-sprit.es/
Here's one for consideration.
I do wonder about grouping general admin icons & separating out the very common ones like RSS feeds that anonymous users would be seeing.
Comment #6
mgiffordtagging.
Comment #7
jhedstromComment #8
mgiffordNow, although we can make SVG Sprites - https://24ways.org/2014/an-overview-of-svg-sprite-creation-techniques/
Will there be a performance impact - http://codepen.io/adrianosmond/pen/LCogn
Something to consider when looking at 8.1...
Comment #24
smustgrave commentedThank you for sharing your idea for improving Drupal.
We are working to decide if this proposal meets the Criteria for evaluating proposed changes. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or there is no community support. Your thoughts on this will allow a decision to be made.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #25
smustgrave commentedSince there's been no follow up and as a feature request going to close out. Can always be re-opened
Thanks!