Questions tagged [assets]

1. Non-code files packed with an application (example, data or media files). 2. From a security point of view - any data or resource that should be (or can be) protected.

3549 questions
1
vote
1 answer

Problems with ZEND 1 and assets (css, images, js) - Page not found

I'm working with Zend Framework 1, and everything are going all right, except for one thing. My website doesn't load the assets. I know that could be a problem with .htaccess, but i've tried to many thing to fix that without success. My folder…
pedroroccon
  • 81
  • 1
  • 5
1
vote
2 answers

Android Studio listFiles returns null with assets folder

In the assets folder I have another folder called songs with .txt files. I've been trying to put all .txt files in a File[ ] but I get a NullPointer on folder.listFiles(). Here's the code : File folder = new File("assets/songs"); File[]…
1
vote
1 answer

Middleman 4 Relative Assets Exclude Page

I'm trying to use the relative_assets extension in Middleman 4.2.1. I have one page that I need to have absolute assets on, which is my /404.html page. I found the available options listed in the source here. It looks like I should be able to pass…
Bramanga
  • 138
  • 1
  • 10
1
vote
1 answer

How to add assets in Phalcon framework with Blade template engine?

A started to work with Phalcon framework, included Blade templating. It's already works, but unfortunately i didn't find the right way to include css and JS assets in master.blade.php. If I add the assets like…
1
vote
2 answers

CakePHP AssetCompress: Not generating compressed files in cache folders

Has anyone here used Mark Story's Asset Compress (https://github.com/markstory/asset_compress/) plugin ? I've followed the installation instructions to the last bit and have the plugin up and running - but it simply won't generate the combined JS…
miCRoSCoPiC_eaRthLinG
  • 2,910
  • 4
  • 40
  • 56
1
vote
3 answers

I want to set Push Notification Sound from Asset Folder ,Android

I have an .mp3 file in asset folder named "error.mp3" . i want set that sound along with the push notification , how can i do that , i have tried this code to do that Uri sound = Uri.parse("file:///android_asset/error.mp3"); …
Jaison Joseph
  • 79
  • 1
  • 2
  • 10
1
vote
1 answer

copying a file from assets folder to /sdcard and randomize lines in it

I have a text file to load from assets folder of an android app to "/sdcard/appname/" but i want the lines to be randomize and save while copied to sdcard, here is the code that i write to copy but i struck at the part of how to randomize …
asrlytics
  • 11
  • 1
1
vote
1 answer

Include local assets in dist folder using webpack

I'm fairly new to webpack and I'm trying to understand what's the proper way to include my assets folder into the dist folder using webpack (or one of its plugins). This is the structure of my project: ├── package.json ├── webpack.config.js ├──…
mfirry
  • 3,634
  • 1
  • 26
  • 36
1
vote
1 answer

Android Libgdx assetManager: asset not loaded

I am having a weird issue with just loading my assets, using the assetManager. My assetManager is a separate class I made to make everything shorter and more neat. My Asset class isn't static. I have all the assets loaded in a non static…
1
vote
0 answers

Build size - Assets are small, but build is still large

My app in Unity3D reports itself as quite small - 11.3M total (it's a simple game) including music and textures. Textures 1.5 kb 0.0% Meshes 0.0 kb 0.0% Animations 0.0 kb 0.0% Sounds 6.3 mb 55.8% Shaders …
Dave
  • 1,521
  • 17
  • 31
1
vote
1 answer

Android Studio's Image Asset Studio won't recognize png file in file system

I have a png file named triedsohardicon.png I want to use for my app's launcher icon, but after putting it in the folder associated with the project, I find that Image Asset Studio doesn't show any triedsohardicon.png in its file system browser in…
Soundsgoood
  • 315
  • 3
  • 8
1
vote
1 answer

rails assets in production not served (yet another assets issue)

I'm using apache 2.2.15 passenger 5.1.2 rails 4.2.6 ruby 2.3.3 In the rails log, I get (No route matches [GET] application-xxxxx.js as well as (No route matches [GET] application-xxxxx.css I can find the assets in the public/assets directory. My…
Phipsen
  • 159
  • 3
  • 15
1
vote
1 answer

Rails 4 - Assets routing error

I am transitioning from Heroku to AWS Elastic Beanstalk and in my logs I keep seeing this error with .css and .js assets. Rails 4.2 Ruby 2.2.5 ActionController::RoutingError (No route matches [GET]…
1
vote
1 answer

How can I change the default directory for MathJax's configuration files?

I'm loading MathJax from my server, so that I can concatenate it with the rest of my JS assets to improve performance. When I load the source file from my MathJax vendor directory, it works fine: