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.
3,559
questions
0
votes
0
answers
8
views
Android Studio loop ImageView Animation
I'm working on a little project and have run into some trouble.
I made an asset that I want to use in my fragment over the navbar of my app:
<?xml version="1.0" encoding="UTF-8" standalone="no"?...
0
votes
0
answers
10
views
Xcode15 packaging, translucent icon changes in xcassets
Using Xcode 15 for packaging, the translucent icon in Assets.car in ipa is quite different from the icon in the actual project, resulting in a discrepancy between the effect and the design and failing ...
0
votes
0
answers
22
views
Load resources from a working directory rather than from app directory
In my WPF application I'm using a ResourceDictionary to store paths for all assets. Here's the example:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation&...
0
votes
1
answer
17
views
How do i download archive with static assets to my server and replace all "https://vuu.io" links with my own using wordpress?
WHITE-LABEL STATIC ASSETS
All links to static content in fax report are hardcoded to Vuu.io, but you may replace them with your own URL.
In this case you'll need to download archive with static assets ...
0
votes
0
answers
10
views
This classifier didn't work with my samples
The GEE show me the message "No valid training data were found"
Can someone show me which part of the code is wrong??
var gt_samples = ee.FeatureCollection(solo_exposto.merge(campo_pasto)....
0
votes
0
answers
20
views
Remove css/html from the bundle after it has been required and processed by webpack
I am developing one node package myself to be able to publish it to node registry and i am using webpack for bundling using ES-6 syntax.
I am using css-loader in modules inside rules configuration ...
3
votes
1
answer
75
views
How to dynamically import a video + create an absolute path to it all inside an axios call response?
I have this template bit:
<video controls autoplay muted loop>
<source :src="videoFileName" />
</video>
The video source is fetched thus:
axios.get(`/project/v1/post/${...
0
votes
0
answers
22
views
Blazor Shared Library assets not available in startup
I have a Blazor WASM Application and a additional Blazor Class Library. My goal is to put a settings.json in the BlazorClassLIb/wwwroot folder and access that from the Server and from the Client ...
0
votes
0
answers
27
views
Xcode freezes after adding 2500 svg image to the asset
Xcode freezes after adding 2500 svg images to the asset (MacBook M1 Pro)
After adding images, I was able to compile the project and install it on the phone where it works and everything is ok, but ...
2
votes
1
answer
76
views
Rails Heroku deploy: Precompiling assets failed. SassC::SyntaxError
I get an error "Precompiling assets failed" during deploy to heroku RoR project.
I tried to find css code with "calc(100vh - 110px)", but didn't find anything in the project.
What ...
-1
votes
0
answers
31
views
Scaling of resources and its impact on performance
Need to create resources for an Android game in the form of pixel art with an average resolution of 32 x 32 pixels. What is the best approach: creating resources at 32 x 32 and then scaling them to ...
-1
votes
1
answer
108
views
The url problem I have in accessing the "assets" folder in Laravel 10
since I do not want to take up your time, I will first summarize the problem very briefly. And I can say that I have read and tried almost all the other messages that have opened regarding the similar ...
0
votes
0
answers
14
views
NGINX proxy_pass 404 for assets
I have a problem with proxy_pass usage in config of nginx.
What I have is a docker container frontend and in nginx I am using proxy_pass to display this container when I access localhost/frontend/.
...
0
votes
1
answer
51
views
Why can't SwiftUI's Image see the AppIcon file?
I noticed a weird quirk in SwiftUI.
If I try and get the app icon from the Assets folder (the icon exists) using this:
Image("AppIcon")
It doesn't work. No image displays. That being said ...
0
votes
1
answer
21
views
Problems in Unity with layers and random lines
Firstly my grid doesnt aline on different layers of the tilemap: Ground layer , Animation layer.
In the examples you can see my ground alyer and my animation layer, the grid just doesnt align.
And ...
-1
votes
1
answer
47
views
Music player from firebase storage
I need to download 2 folders from Firebase.
1- I need to check if the assets folder exists, and show an open icon.
2- if it does not exist, show the download icon.
3- I need an app saving folder to be ...
2
votes
1
answer
160
views
Odoo v16: assets-frontend Error after uninstall custom module (migrated from v13)
After my migration from Odoo v13 to v16, after having uninstalled a custom module (website_signup_info) which have only a crontroller.py and a js-file: signup.js, and no other nodule has this one in ...
0
votes
0
answers
23
views
I got error with Yii2 assets, kartik widget
I have a project Yii2, we recently change web hosting to new provider. This project transfered to me by another coworker, he using WinSCP to drag codes from old hosting to new one. We running this ...
0
votes
0
answers
18
views
Testflight app doesn't show my personal colours
I'm trying to upload an app to the App Store. When I try to install it on my device through Xcode, the app is displayed correctly as it was created. However, when it's installed via TestFlight, the ...
0
votes
0
answers
36
views
Will assets folder affect angular performance?
I have a project with Angular 16. It was assumed to have more than 100 SVG files in my assets folder. I'm sure that it will increase bundle size, but I'm not sure if it will affect the performance of ...
0
votes
0
answers
36
views
How to check if all images are loaded in a particular component in next.js 13 (app router)?
Next.js provides onLoadingComplete which can be used to check if a particular image is loaded or not.
Question
What if I have a couple of images in a component and I wish to check if all the images ...
0
votes
0
answers
26
views
Expo assets not showing after build in android device
Im using expo ~49.0.11 and expo-asset ^8.10.1, While running on development mode assets are displaying but after the build assets are not displaying in,
const [assets] = useAssets([require("../...
0
votes
0
answers
17
views
Tenable.io CONTAINS filter for assets
Is there a way to filter the assets based on the "contains" filter? For example, if an asset has AGENT_NAME set to some text such as "abcdefghijklmnop_extract", and I'm interested ...
1
vote
1
answer
81
views
how to load html from assets when webview fails to load in flutter
I am developing a flutter application that uses webview_flutter plugin. I would like to show a custom HTML when page fails to load so this is my code:
@override
Widget build(BuildContext context) {
...
0
votes
0
answers
38
views
Loading assents in a local flutter library in flutter
I am developing a local personal flutter library with some icons to share with some of my apps.
Those are vectorial images with .svg extension that are stored in lib/assets/src/. To make the image ...
0
votes
1
answer
52
views
Inertia SSR + Vite + Laravel assets versioning issue
I'm new to Inertia and just playing with it. What I really don't understand why browser loads all assets on each redirect when using SSR. For redirect I'm using LINK component and also using layout (...
0
votes
1
answer
37
views
Rails Heroku How to Tell if an Image File Exists in the
I'm using rails 6.1.4 and ruby 3.1.1
My app is on Heroku. I have several images in my assets/images directory, but I cannot get some of them to show when I deploy to live. Other images in the app ...
-2
votes
1
answer
20
views
Fix The Css and Assets to display in repository
Hei there, why my css and assets not show when i upload in github, but in local host css and my assets display, how to fix this problem? because i find cant have the asnwear about this problem
please ...
0
votes
1
answer
86
views
SvelteKit: How to use asset paths imported via JSON file?
I am trying to build my SvelteKit application for production but I have trouble with using my image assets.
I have got a Json file pointing to all my asset's paths, which I am importing into my Svelte ...
0
votes
0
answers
65
views
How to get m_PathID of an Object from a release Unity game?
I found that there's no easy way to use BepInEx to see m_PathID of a game object loaded from an asset package in a running release Unity game.
So the question is: is there some way to do it or is it ...
0
votes
1
answer
38
views
yii2 failed to acess file in newly generated folder in frontend/web/assets
I have this problem in most of my yii2 projects. I got this error:
copy(/var/www/vhosts/gunungkombengtetapselalujaya.com/httpdocs/frontend/web/assets/56687de2/yii.activeForm.js): failed to open stream:...
0
votes
0
answers
32
views
Are changes to the assets folder picked up in Android Studio incremental builds?
Updating a file in /app/src/main/assets with the same name and clicking "Run" without any other changes, but they don't seem to be picked up. Also using Device File Explorer to compare, ...
0
votes
1
answer
56
views
SVG not displayed when using an helper method
Any ideas why in Rails 7.1, the following code
<%= button_tag type: "submit", class: "inline-flex items-center justify-center gap-x-2 rounded-md bg-black px-3.5 py-2.5 w-full sm:w-...
0
votes
0
answers
42
views
Decrypting .png images from the asset
I am a student who has recently started to learn Java and Android development.
I was trying to see the structure and extract assets from the discontinued mobile game for learning purposes. While being ...
1
vote
0
answers
191
views
Android Studio Giraffe crash suspect related to icons or assets
It is android studio itself crash, not app crash.
How I catch the problem and suspect icons/assets related:
I created a new project, then clicked split (code/split/design),
it crashed. (Gradle ...
1
vote
0
answers
327
views
Laravel Vite assets not loading in production
I have a Laravel app that I deployed to Forge. When I try accessing it however, the Vite build assets are not loaded.
Now, Firefox says it's a CORS issue, Chrome says its an SSL issue. While I don't ...
-1
votes
1
answer
31
views
Flutter Asset image
======== Exception caught by image resource service ================================================
The following assertion was thrown resolving an image codec:
Unable to load asset: "dice-six-...
0
votes
0
answers
44
views
Performance of loading multiple assets for an icon library in React
I am currently implementing a commmon components library ni React for one of my projects, and I have an Icon component that takes an icon name as a prop and displays an SVG icon. The structure of the ...
0
votes
0
answers
49
views
How can I make a static asset conditional with vite?
I am currently building an app with tauri and I was requested to create a version of the app that doesn't contain the the larger assets. I want to know if I can automate something like this with vite (...
0
votes
0
answers
22
views
Problems with css styles in nuxt3
I am working on a project with nuxt3 and the truth is that I have had some problems with the styles. I have my assets/css/sidebar/style.css folder which contains my styles for my sidebar.
style.css (...
0
votes
1
answer
93
views
Load filter from path with deepar_flutter
I need to load a camera filter (.deepar) with the deepar_flutter plugin, but when I give it the path, it automatically adds a "flutter_assets/" at the beginning, however the camera filter is ...
0
votes
0
answers
33
views
Unity tilemap problem: The tilemap appears fine in the Scene tab but it doesnt appear as it should in Game tab
I've used tile palette and painted the background of my mobile game. It looks as it should in the Scene tab but not in the Game tab nor on the main camera.
This is what it looks like on the scene tab (...
0
votes
0
answers
54
views
Protect js-assets in a next.js / vercel project
I have a next.js app, which is hosted on Vercel.
I want to dynamically load some components into my app. Only authenticated users should be able to load the component. The protection should include ...
0
votes
1
answer
49
views
Editor crashes when saving mesh that has many vertices
Editor crashes when execute AssetDatabase.CreateAsset to save mesh that has about 150,000,000 vertices.
I made a mesh object with C# script, and trying to save it with AssetDatabse.CreateAsset();. ...
0
votes
1
answer
71
views
Path is correct, folder structure too. Still getting problem message "The asset file xxx.tflite doesn't exist"
In Flutter (VS Studio 2022) I am trying to use a .tflite model. This is my pubspec.yaml file;
name: linked_post_ai_v1
description: A description about your project.
version: 1.0.0
environment:
sdk: ...
0
votes
1
answer
69
views
Use image inside library in Angular
I want to build an Angular library that provides a component that contains an image.
So far I was able to add the image as an asset to the library. The dist folder has currently the following ...
0
votes
0
answers
25
views
What does “requested assets” mean in CloudKit and why do they quickly go out of limits?
In my small application, I use CloudKit as a database to store the content that users access.
But in the telemetry section, I see that the Assets Requested figure for the last month is close to the ...
0
votes
0
answers
10
views
CSS Background-image: url('foo'); not displaying after deploying my node.js app
I created a simple threejs website. When run it local the image displays correctly,
After running 'npm run build' and deploying the website, the image does not display and no error in the console.
I ...
0
votes
1
answer
232
views
display images from folder in assets in swiftUI
I am new to swiftUI and try to build an app that shows all images stored in a folder in assets.
I have a piece of code that should look for jpg´s in assets and give back a string with the names of the ...
1
vote
1
answer
219
views
AvaloniaLocator Current does not exists Linux
AvaloniaLocator.Current is not a public property and in the docs that I read they all use it. So im trying to update an image if it is a folder or file but I read that you have to convert it yourself ...