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.

assets
Filter by
Sorted by
Tagged with
0 votes
2 answers
210 views

fetching data from local assets directory

Currently my sample data and schema json are in an amazon store via https URL. var jsonify = res => res.json(); var dataFetch = fetch("https://s3.eu-central-1.amazonaws.com/fusion.store/ft/...
NanoNet's user avatar
  • 238
0 votes
1 answer
48 views

Custom color in XCode Project [closed]

In order to add a custom color in my project and have it ready for use, is it better to create a new color set in Assets, or create a swift file and add my custom color in a UIColor extension? I've ...
Ana's user avatar
  • 1
0 votes
1 answer
704 views

Asset field problem with onChange client script

I'm working on client script which reads data from alm_hardware table and reads also value from field u_invoice_date and that value is displayed in form field called invoice_date. This script works ...
Andris_S's user avatar
2 votes
0 answers
657 views

Vite library mode how to include bundeled images into consumer project

I built a vueJs3 library that uses static images and i used vite to build for production. the output dist had an image folder that includes all assets i had in my public folder. When importing this ...
Kaki Master Of Time's user avatar
3 votes
0 answers
574 views

Using icons from NX shares assets lib in project's styles url attribute value

In my monorepo I implemented NX shared assets library for storing icons. This lib can be used across multiple applications inside this monorepo. This mentioned librabry contains set of svg icons and ...
Daniel Dvonč's user avatar
0 votes
2 answers
51 views

404 NOT FOUND. on clicking download cv button

am getting 404 NOT FOUND on clicking cv am using this `<td class="border px-4 py-2"><a href="{{ asset('storage/cv_files/' . $student->cv_file) }}">{{ $student->...
Vishal Kumar's user avatar
0 votes
3 answers
215 views

How to add assets images in carousel_slider?

i am tring to add images in carousel flutter and i make a list of images from my assets but i am facing this error. ArgumentError (Invalid argument(s): No host specified in URI file:///home/zr/...
Zeher's user avatar
  • 25
3 votes
0 answers
448 views

How to serve static pages in Vue Vite?

I have an app built using Vuetify 3 and Firebase. But then I need to also host a set of conventional, non-Vue HTML as landing/informational pages complete with their own JS and CSS. I'm going about ...
starleaf1's user avatar
  • 2,717
0 votes
0 answers
28 views

loading CSS with cdi

I'm using codeigniter4 my project is about children's education, I'm trying to set the template, I make all the steps to load assets to my project, but it's not working. In my codeigniter4, I don't ...
ibtissem essghaier's user avatar
0 votes
1 answer
388 views

swiftUI Xcode can't find image in assets

I'm playing around with SwiftUI, I could display an Image from the asset in my Home page but when I try to call it for a model of some french company I can't ... import SwiftUI struct Company: ...
Élodie Gagé's user avatar
0 votes
0 answers
162 views

Unity Addressables content update

I am trying to update assets but download size after first launch always stay zero. On first launch download size get correct size. And after clear indexedDB showing correct. Platform is webgl. How ...
Nikolai Petrov's user avatar
1 vote
1 answer
135 views

I have json file with me and to display json text data with in the book of book

I have json data, out of that I want to display text data like when a book is opened on the first page and all the text is displayed there, then when I go to the next page, the new text data is ...
Mehar's user avatar
  • 17
2 votes
1 answer
853 views

Custom JS files in app/assets/javascripts/ break the Stimulus assets pipeline (Rails 7)

I'm trying to add custom JavaScript in a Ruby on Rails 7 project, so: I created the file app/assets/javascripts/application.js containing my custom code. In app/assets/config/manifest.js I added (...
Backo's user avatar
  • 18.6k
0 votes
1 answer
154 views

Play audio from assets folder

I have this code below which plays audio locally (raw/audio.mp3) from the raw folder and saves the seekbar progress to shared preferences. I want to change location of the audio from raw folder to ...
Nazzay's user avatar
  • 1
0 votes
0 answers
46 views

How would I make a system for asset encryption and decryption in c#?

I am creating a game engine. This game engine is for audio games, which are games for the blind. So far I have audio, window display and keyboard input. I would like to add asset encryption so I can ...
parker2681's user avatar
0 votes
1 answer
265 views

Unable to load .mp3 in Flutter

I want to add music to my project, and I added an .mp3 file, but it says it can't find the assets file. This is the code: import 'package:flutter/material.dart'; import 'package:audioplayers/...
Nup's user avatar
  • 1
2 votes
1 answer
1k views

How to use assets lib in react native with NX?

I have a react native app generated with nx. I want to use an assets library from the app. The goal is to have something like this: import { image } from "@appname/shared/assets"; <Image ...
Victor Vaccaro's user avatar
0 votes
1 answer
299 views

Flutter assets_audio_player keep playing multiple audios if instance is not disposed

I am using flutter assets_audio_player package and it has a bug. It is playing multiple audios instead of replacing the existing audio. I tried many ways to stop and play in the initState() method but ...
Zeeshan Haider's user avatar
0 votes
1 answer
88 views

How to perfectly synchronize gameobject positions in animations?

This is a recurrent question for me as if I'm not able to fix this, the alternative would be to include sprites with the same player pose for each weapon which uses the same animation. I have a ...
gfcf14's user avatar
  • 338
0 votes
1 answer
343 views

Flutter project ,asset folder not choosing 2X and 3X folder automatically according to device size.Is is always choosing 1x on every screen size

Flutter project, asset folder not choosing 2X and 3X folder automatically according to device size. Is is always choosing 1x on every screen size. I want flutter to choose image from a specific folder ...
sRawat's user avatar
  • 187
3 votes
0 answers
2k views

The imported modle's textures doesn't load in Unity

I have been struggling with this for about two days now and by the articles I have read, it hasn't been only me. Basically, when I import a module, which I have downloaded from the Internet, it comes ...
repinSlun's user avatar
0 votes
0 answers
321 views

Export Unity3d prefab as asset bundle with .unity3d extension

I am trying to export a prefab containing other child prefabs as an "asset bundle" with the extension .unity3d. This is the code I'm using: using UnityEngine; using UnityEditor; using System....
Amine's user avatar
  • 1
0 votes
2 answers
3k views

How to change assets path in Angular?

I need to change the path from / to /something in my angular project. I have added "baseHref": "/something/" in /projects/my-project/architect/build/options of angular.json file ...
Scott's user avatar
  • 15
0 votes
2 answers
38 views

Best practice for showing db imagepicked and asset files in the same GridView

I would like to have some insight into what is the best way to go to show images from assets and imagePicked images (stored in db) in the same gridView? I am using a Photo model class with different ...
nordan's user avatar
  • 25
1 vote
2 answers
653 views

Laravel/horizon missing css/js build

The /horizon route from the laravel/horizon package works, but the css and javascript are not loaded. this is what the road /horizon looks like: However, I just installed the package and followed the ...
Sacha Durand's user avatar
0 votes
1 answer
180 views

How to export assets from Adobe XD to PNG, SVG, etc?

I am familiar with Figma, but new to Adobe XD. I got a link for Adobe XD design from designer and I am able to inspect the style(css properties). But, not sure how to export assets like icons, images. ...
INcre's user avatar
  • 1
1 vote
1 answer
76 views

How to load sprite png on moves

For example, I have idle sprite and I have another files PNG where character is moving, so I need to change sprites on move and if yes how to do something like that(I have also asprite file but IDK ...
PLayPool's user avatar
3 votes
1 answer
1k views

Elixir Phoenix - How to create and import javascript files into specific templates

I'm currently experimenting with the Elixir Phoenix framework together with Liveview. For my project, I would like to write some Javascript code that is only imported on certain pages (templates). ...
Astarno's user avatar
  • 426
1 vote
1 answer
525 views

Android install-time asset delivery can't access the asset folder

I followed this guide Integrate asset delivery (Kotlin & Java) from step 1-8, to integrate install-time asset delivery. I added folders with drawables to my \asset_pack1\src\main\assets folder, ...
Alex's user avatar
  • 11
2 votes
1 answer
1k views

Access bevy asset right after loading via AssetServer

Is it possible to access a bevy asset right after it was loaded from the AssetServer? I've read actual loading happens in the background but couldn't find in either official documentation or the bevy ...
mpellie's user avatar
  • 23
-1 votes
2 answers
58 views

Images built on the flutter do not output properly to the widget

i used CircleAvatar and input backgroundImage: AssetImage('assets/image's name') also i modified pubspec.yaml (I used command / to assets line) but, I don't see the image in my emulator.. I don't know ...
doublenine's user avatar
0 votes
2 answers
572 views

When running rake assets:precompile RAILS_ENV=production over ES6 syntax pipeline got broken

RAILS ASSETS PIPELINE When running rake assets:precompile RAILS_ENV=production over ES6 syntax, assets pipeline got broken. If we instead call rake assets:precompile with environment set to RAILS_ENV=...
alectrico's user avatar
0 votes
1 answer
119 views

Angular: npm doesn't serve assets folder

I want to include a sample file for developing in my assets folder (src/assets/articles_ziege.csv). But somehow the configuration fails. I think its related with the localization but don't know :-/ ...
LeO's user avatar
  • 4,684
0 votes
1 answer
26 views

httprequest fot get a file, can fail if some folder of path start by number

I have problems (404) for getting a file served by the angular assets service I'm using the typical htpprequest (pure javascript) \assets\folder\B\myfile.txt >> ok, I have the right results \...
Atonn's user avatar
  • 1
2 votes
0 answers
226 views

How to load components (containing assets) from npm package in a Single-Spa application?

I have an application build using Single-Spa and it consist of: Root Config App (hosted on http://localhost:3000) App1 (Angular application hosted on http://localhost:3001) App1 has a dependency (...
conrisc's user avatar
  • 43
0 votes
0 answers
520 views

Publishing apk through unity : StreamingAssets folder is not present in phone after installation

I have published an apk from unity. At the start the application needs to read some config params, from a local json file(in streaming assets folder) load some images from (streaming assets folder) ...
xshanky's user avatar
  • 11
0 votes
3 answers
177 views

I wanted to add this font to assets

assets: - assets/ fonts: - family: Schyler fonts: - asset: fonts/Schyler-Regular.ttf - asset: fonts/Schyler-Italic.ttf - family: Trajan Pro fonts:...
Michał Łukaszewski's user avatar
0 votes
1 answer
92 views

How can I fix a Rails 5 precompile assets rb_sysopen error?

I am trying to locally precompile assets (for production) and I get an error. My steps: bundle exec rake assets:clobber --trace (to remove public/assets so I perform a clean compile) bundle exec ...
DeeBee's user avatar
  • 165
0 votes
1 answer
47 views

ruby on rails style configuration issue

My ruby on rails app needed bootstrap and js, so I tried to add them. Even though both styles are in the same folder, some of them are loading and some are not. im getting ActionController::...
NIYAS Tk's user avatar
0 votes
1 answer
264 views

Can't build assets on deploy - Symfony 5/Encore/Ux

I have a Symfony 5 application, i'm using webpack Encore / Ux for the first time. I'm facing difficulties with deployment, only the HTML is displayed at the URL ; the "build" directory is ...
21t0r01's user avatar
1 vote
3 answers
413 views

asset image not appearing in flutter

I am using dhiwise to convert my figma prototype into flutter but the header is not appearing and is somehow above the screen. I tried moving it elsewhere but it just puts it outside the header. ...
ge widydr's user avatar
2 votes
0 answers
123 views

In Flutter how do I read an asset that's in a Deferred Component using rootBundle.load()?

I have a Flutter app with some assets arriving via Deferred Components. The YAML looks something like this: deferred-components: - name: arBlock11 assets: - assets/unity/ch1/1/ ...
Josh Knowles's user avatar
0 votes
1 answer
297 views

symfony 5 - Path to the assets from subdirectories

I've got a problem with the path of assets on Symfony 5. This is a structure of assets in the project: app/ public/ css/ style.css ... ... Everythings ...
Ruben Lech's user avatar
1 vote
1 answer
159 views

Finding out the size of an Asset file in Android Kotlin

Is there a way to find out the size of an asset file in kotlin android? I am wanting to know the size of a group of files so as I can then confirm the device has enough free space to copy the files to ...
Tikhedewal's user avatar
0 votes
1 answer
98 views

unable to locate asset entry for a font in flutter

I'm trying to run my flutter application that used to run perfectly but it suddenly showed "unable to locate asset entry" for a font error, screenshot of the error and I've checked the ...
Filwah Ah's user avatar
0 votes
1 answer
524 views

Storing local image in database and displaying test

I'am testing a little flutter app that should be able to store a local asset image into a database and then show it in a gridview. As you can se below I have db_helper methods that create the db and ...
nordan's user avatar
  • 25
1 vote
1 answer
228 views

how to use {{}} inside of asset helper laravel

I have a dynamic image that a user can change, so I need to grab the path from the database. Everything works fine if I do: <img src="/storage/{{ $client->image->path }}"> But ...
James Erikson's user avatar
4 votes
1 answer
4k views

.Net Maui List Assets Under Resources Raw Folder

The Context. I'm working on .net Maui mobile app that uses some native android libraries with dependencies on bunch of configuration files provided by vendor. These files should be placed into data ...
kudoku's user avatar
  • 189
0 votes
1 answer
534 views

How to fix unity package manager errors?

I use unity 2022.1.21f1. I wanted to add the urp package to my project with package manager but in the console there was a lot of errors. I also tried to add other packages but situation is the same. ...
eClick_studio's user avatar
0 votes
1 answer
60 views

What's the differences between require() and http.get()?

I need an external config file for my angular 15 app, so I've created a file src/assets/config.json which I'm currently loading with this.httpClient.get<Config>('/assets/config.json') during app ...
Carla C's user avatar
  • 159

1 2 3
4
5
72