Comments (17)
I think I need to do some work on accepting local file paths for images
It's not a big deal. I can get it done quickly
from obs-urlsource.
Thank you very much for the hint. I tried the new version, but the issue is the same, only an icon is shown. I was able to reproduce it with a simple text input. I tried with C:/Test/test.jpg and C:\Test\test.jpg
from obs-urlsource.
ive merged #61 . the problem is fixed
i also added further controls, so i'll be closing this issue
thanks @nona00
from obs-urlsource.
OBS 30.0.0 x64 win
from obs-urlsource.
@nona00 can you give me some more details?
like what does the response body look like?
from obs-urlsource.
from obs-urlsource.
from obs-urlsource.
right... it's a local file...
you might be able to get away with adding a prefix like file://
before the C:/...
may be possible with the postprocessing regex...
from obs-urlsource.
i tried with file://C:/... and also with an url, but both do not work. Is it perhaps necessary to adapt CSS Properties or Output Template? In Output text source it is only possible to select "None / internal rendering" or Text or Media, but not a picture
from obs-urlsource.
@nona00 can you check out the artifcats on #59 ? i've added a bit to see if it's a file (really see if its not a URL and then attempt to open it as a file)
from obs-urlsource.
I tried to build from source on Windows 10 x64 1809, but it fails with:
Visual Studio 2022, Powershell 7 and winget is installed
from obs-urlsource.
@nona00
You don't actually need to build from source since the CI system builds it for the PR
Grab the version you need from
https://github.com/occ-ai/obs-urlsource/pull/59/checks
Under "artifacts"
from obs-urlsource.
@nona00 thanks for this test - i will try to replicate your issue and resolve it on my setup
from obs-urlsource.
i'm able to replicate the issue. I will resolve it
from obs-urlsource.
@nona00 i've fixed it. can you check the artifcats on #61 ?
from obs-urlsource.
wow, thank you very much for the fast fix. I did some tests and it works now :-)
The icon is only shown when the file path is not correct or if the image from the url can not be loaded. An option to display a default File or hiding the element in this case would be great.
I tried to reduce the size of the shown image with the following CSS properties, but it had no effect:
width: 100px;
height: 100px;
Is there another way to do this? For text it works when I set the Output Text Source to an existing text source and define there the size, but for images this seems not to be possible.
from obs-urlsource.
@nona00 i've added a property to control the render width on #61
that should allow you to use higher res rendering to fit your needs
from obs-urlsource.
Related Issues (20)
- Unable to return the the table correctly from response body HOT 3
- OAuth2 support
- Crashed and Made OBS Unusable HOT 7
- OBS Crashed When Close HOT 2
- Parsed outputs are cut off if too many HOT 2
- issue when setting properties for the API plugin : HOT 1
- Save current output into a setting/property HOT 1
- inja templating {{input}} not working HOT 18
- Special characters URL not rendering on "Output is an image URL"
- Output to multiple sources HOT 9
- Not working with multiple updating objects HOT 4
- Add a way to Add icon images to the Plugin HOT 2
- Settings don't update when set via a WebSocket request HOT 2
- {{Input}} = Invalid URL? HOT 6
- Output is image option not working with animated gifs HOT 2
- Version compatible with MacOS Catalina (10.15.7) HOT 1
- Output entries in wrong order HOT 1
- Key/Value format .txt file Preset/Format? HOT 6
- Feature request: .csv files HOT 3
- Post body format for Laravel API HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obs-urlsource.