Skip to content
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

change the generated image name #188

Open
ale974 opened this issue Mar 5, 2015 · 0 comments
Open

change the generated image name #188

ale974 opened this issue Mar 5, 2015 · 0 comments

Comments

@ale974
Copy link

ale974 commented Mar 5, 2015

Hi,

first very thank for the wonderfull command line tool glue. What i miss, is a command line argument that let me specify the abslute path used and the generated file name odf the sprite. Actually it will be created from the folder name, so i have to adapt the folder every time i used the tool, so i can use the generated css. I know you can set the URL, but this is not enough for me. Why i cannot set a filename?
i have reached to generate a css file that contains following:
....
{background-image:url('{mediaserver}/img/basics/homePageSprite-1.0.30.png');background-repeat:no-repeat}
....

now the URL passed in the argument correpsond to '{mediaserver}/img/basics/ but the file name is always token from the Soruce directory (in my case i must rename the folder to homePageSprite-1.0.30, so that it will generate a homePageSprite-1.0.30.png file) . Why this restriction? can i simply give the file name it has to generate? Something like --filename=myBeatyfulSprite.png and this will generate a file named myBeatyfulSprite.png and will use this name also in the generated css. I also tried with Templates, but nothing helped me really, because with the templates i can write an url, but the generated filename is still the directory name + .png.

Thanks in advance

ale974

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant