Questions tagged [asset-management]
94 questions
1
vote
3 answers
Rails 3 and asset_hosts in css?
I'm using rails 3 in production and development.
How do I use the asset_host path in css, for example with background-images?
I've tried:
.blerg{ background-image:url({asset_host}/images/blerg.gif); }
But it just comes out as that in the rendered…

CafeHey
- 5,699
- 19
- 82
- 145
1
vote
3 answers
HtmlWebpackPlugin - inject js in body at a specifc place
I am using HtmlWebpackPlugin to inject javascript into my template file:
...
...
inlineScript(); ?>
…

koseduhemak
- 523
- 2
- 4
- 19
1
vote
1 answer
Rails not loading bundled asset_packager gem
I'm using bundler in a Rails 2.3.10 app to manage my gems. One of the gems that I'm using is asset_packager (~> 0.2.0).
However, I'm getting a bunch of undefined method 'stylesheet_link_merged' errors in my tests, which would suggest that the…

sflinter
- 404
- 3
- 6
1
vote
1 answer
1
vote
1 answer
Which is better for loading game assets?
I am wondering which is better for my game either to load all the assets only once on a game splash screen for example or loading and disposing the assets of each screen separately ?

MAGS94
- 500
- 4
- 15
1
vote
1 answer
Is it possible to use TYPO3 as asset management for other TYPO3 installations (FAL)?
Is it possible to use a a file_storage of a remote TYPO3 installation in a local installation?
I would like to override some configs in a local environment to use the productions file storage via https. That way snychronizing my local installation…

Philipp Wrann
- 1,751
- 3
- 19
- 29
1
vote
2 answers
How to handle AssetManager in multiple screens
public static AssetManager assets = new AssetManager(); should be avoided, however how do I handle an AssetManager in multiple screens? Is this a good solution?
public class myGame {
assetMananger manager = new AssetManager();
...
public…
user5646735
1
vote
1 answer
GdxRuntimeException: Asset not loaded
I'm following this tutorial, but instead if xml i use json.
I think that the asset is loaded but apparently it's not! Would be nice if one of you have any solution.
The code is on github.
That is the output:
SUCCESS!
Exception in thread "LWJGL…

Zuck3rwatt3
- 13
- 6
1
vote
1 answer
Disposing Asset Manager in LibGDX
Here is my OOP setup:
Class MainGame extends Game:
...
public void create () {
assets = new Assets(); // my custom Assets object (constructor creates manager and AssetDescriptors
assets.load(); // loads Asset Descriptors into manager
…

Greg Peckory
- 7,700
- 21
- 67
- 114
1
vote
0 answers
Yii2, Assets. Base css in the end
Simple question I've got after work with AdminLTE design. There are all assets (css) ends with AdminLTE.min.css, it means that even select2.css goes first...

user1954544
- 1,619
- 5
- 26
- 53
1
vote
1 answer
Image organization strategy with Rails & Sass
As the quantity of our pages increases, the number of images in the rails project has increased greatly. Does anyone have a good strategy for keeping track of these images?
We have experimented with a couple ideas but nothing seems to solve…

chrishomer
- 4,900
- 5
- 38
- 52
1
vote
1 answer
Do I need to use an asset packager with Ruby on Rails?
I am researching asset packager gems for Rails. I found out that Rails has its native solution to this problem in the cache=>"all" option on the include tag helpers. There is also some discussion about whether this is good enough, and some gems like…

picardo
- 24,530
- 33
- 104
- 151
1
vote
2 answers
Hostname scanning in C#
Iv'e recently started a new job as an ICT Technician and im creating an Console application which will consists of stuff that will help our daily tools!
My first tool is a Network Scanner, Our system currently runs on Vanilla and Asset tags but the…

RobertPitt
- 56,863
- 21
- 114
- 161
1
vote
0 answers
Assetic CacheBustingWorker LazyAssetManager
This relates to Assetic, and not AsseticBundle.
I am having trouble getting the cache busting worker to actually bust the cache. The below code places a file 'two_regions' in .styles/compiled/assetic/ folder - the cache busting worker however,…

Dimi
- 67
- 1
- 7
1
vote
1 answer
Symfony2 assets without Assetic?
My question is simple: I want to manage the assets by Grunt, can Assetic be left out of a Symfony2 app and have it function correctly?

Ikon
- 661
- 8
- 14