- Has been a member for 2-3 years
- Exclusive Author
- Sold between 1 000 and 5 000 dollars
- Bought between 1 and 9 items
- Europe
Really nice work! It seems to be a good alternative before switching to a CDN …
Nice job!
Really nice work! It seems to be a good alternative before switching to a CDN …
Nice job!
This looks really great. Any chance it could become a WordPress plugin as well?
Apologies, I hadn’t realized how simple and easy to use this script was! I just purchased and downloaded. I tested it out on WordPress and it worked great, so maybe a WordPress plugin may not be necessary. I was thinking of somesort of plugin which would replace all the css for you in your theme’s style.css. It would probably have to have a basic backend page in which you configure where the images are located and other settings like the file type.
What would really by fantastic is integration with W3 Total Cache’s (http://wordpress.org/extend/plugins/w3-total-cache/) CDN feature. So for instance you configure the settings (basically where the images of your theme are located) and then the script would generate a sprite, save the image in your theme folder and then tell W3 Total Cache to upload it to the CDN . And then maybe run through your style.css and change the background images to locate the sprite instead.
I dunno, what do you think, is it too much work for something so simple?
I purchased the sprite package. Can you give me an example walk through of how to use the package with a new website?
Jim
Very neat idea!
awesome stuff !
I love this, this saved my Team hours of work in creating sprites and getting their height and width. Allow me to make a few suggestions.
1. Animated GIFs 2. All Formats into one image of a single format.
Thanks, Love this! Keep it coming!
Hello Gavin, I bought your script that works really well, I need two changes above, is it possible to reach you by mail for the details of the two changes and the price. (Sorry for my English). Thank you.
Sure,
My email address is in the cocumentation, or you can contact me via my profile page here – http://codecanyon.net/user/gbsmith71 (form on bottom right of page)
Look forward to hearing from you.
Hi Gavin, I can’t seem to get this script to work on any of my local machines for some reason, which is peculiar cause it works fine on my MediaTemple server. I sent you an email a while back, but I’m not sure if you got it.
Please let me know when you get a chance.
Thanks, Patrick
Please release version 2 with a generator to select all possible values and output an url 
Hi sir, your script is very useful to me and don’t have to generate thumbnails manually via photoshop. However I want to resize the image.
sprites.php?type=jpg&dir=imagefolder&width=120&height=90 << Please modify a bit of your code for me to get the output I want when I type that url… thank you in advance!
Better also if it can detect all type of images and mix them up together.
And now I have to go back to photoshop and combine png and jpg images into one.
I’m against that idea for a couple of reasons. Firstly, transparency. Jpgs do not support transparency, so if you combine everything to a jpg you will lose png transparency. Secondly, compression and file size. Because png-24 does not have compression, combining all jpgs and pngs to a png file will result in a very large file.
I just converted all images in one folder to the same type so no issue for me there 
Letting me use this: sprites.php?type=jpg&dir=imagefolder&width=120&height=90
will make your script perfect! What I am doing is resizing images before uploading it.
Nevertheless the script is still very useful for me 
You just made life a lot easier. Great work! 5 stars worth purchasing. Easy and good documentation.
i am a bit lost with the installation do i put this in the root of my FTP Public_html ? or do i add it to my Layout Images folder?
Thank you.
Why this script doesn’t align the individual images and combine all the images with different dimensions beside each other?
This script should calculate the width and height of every individual image and put them beside each other as close as possible.
I’m having wide gaps (empty spaces) between images which actually defeat the very same reason I wanted to combine small images in the first place.
To understand what i mean, see this sprite, which actually should be done like this
As it is now, I’m very disappointed that you didn’t mention this crucial shortcoming in the descriptions.
I have a wordpress theme.. i want to create css sprites for it.. can this help?
I would like it to be a plugin of wordpress, are you considering to do that?
Hey man, Does it create/ combine the images into one ? or we should do it manually ?
sorry but i’m still unclear how to use this beyond placing the sprites.php file in the root. If I have image files in various directories(and not all of the image files in each directory need this plugin) what can I do ?
ok i’m getting closer. The original css for an image is:
.middle { clear:none; background:url(images/bg_content_mid.png) center center repeat-y;}
the sprites css that was generated is:
.container li{list-style:none;text-indent:none}.container li a{background:url(http://www.domain.com/sprites/sprites.php?type=png) no-repeat top left;display:block;text-decoration:none}.container li .bg_content_mid{background-position:0px -0px;width:1020px;height:2px}
I’m not sure what is the next step. Thank you kindly for helping a newbie
Try this:
.middle{background:url(http://www.domain.com/sprites/sprites.php?type=png) no-repeat 0px -0px;width:1020px;height:2px;display:block;text-decoration:none}
COPYRIGHT © 2012 ENVATO| TERMS OF USAGE| SUPPORT/HELP| ICONS BY TANGO + WEFUNCTION + FAMFAMFAM
Adobe®, Flash®, Flex®, Fireworks®, Photoshop®, Illustrator®, InDesign® and After Effects® are registered trademarks of Adobe Systems Incorporated.
105 Purchases
19 Comments