-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PNG #9
Comments
Hey, glad you like iconizr. I guess the only thing you're missing is the
The string argument after the Does this work for you now? |
Hi, Thanks for the quick response. Its giving me this error, in terminal: Warning: date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /iconizr-master/iconizr.phps on line 611 I have recently upgraded to OSX Mavericks... If that makes any difference, that is :) |
I just removed the date reference, i believe it was only setting the year for your copy right line, it ran fine (no error/warnings) but still no png sprite... so i don't think thats the blocker.odd |
Good morning! Well, first of all, the message you posted says it all:
I've never tried running iconizr on a Mac / OSX, although I can imagine that it just runs fine there. Have you double-checked that you match all requirements, especially proper GD support in your PHP installation? Sorry but I can't give you any support on preparing your PHP installation the right way. As a start, I'd recommend running the example included in the iconizr distribution. Please read these instructions on how to do so. However, you should empty (or remove) the subfolders In any case, as you apparently work on a Mac, I'd love to hear your results, especially regarding the additional tools you used with success. I have no idea which of the exist under OSX ... |
Hi! Are you still working on this? Any chance you're going to feedback once more? Otherwise I'd close this issue soon ... Cheers, Joschi |
Hi, sorry, still no joy. I ending up manually making a png sprite in the end. My project has ramped up considerably, so no real time to investigate, so feel free to close this, and i'll make a new one on the next project when i have time to work it out. Thanks for your help though. |
Alright, will close this issue then. I wish you good luck with your project and please feel free to get in touch with me if I can help you further! Cheers! |
Hi there!
and i'm facing these errors at png-optimization step:
Output folder contains only svg sprite. |
hi @ostroffsky, thanks for the error log! Yes, you were right — there was a file path bug when no PNG optimization could be applied (due to missing Pngcrush / pngquant / OptiPNG binaries). Should be fixed with release bf64374 now. Cheers, |
Thank you, now it works fine! |
Hey,
I might be missing something, but i cannot seem to get this to produce an svg sprite and a png sprite. Its giving me svg only. My last attempt was this in terminal:
iconizr --png 32768 --out css/png img/svg
So im outputting into "css/png" all the svg's in "img/svg". But its placing an svg sprite, not a png.
From the docs, its seems like iconizr can do both at the same time...
(The svg sprite is great btw)
The text was updated successfully, but these errors were encountered: