Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image not loading #142

Open
bubbletrex opened this issue Sep 6, 2022 · 1 comment
Open

Image not loading #142

bubbletrex opened this issue Sep 6, 2022 · 1 comment

Comments

@bubbletrex
Copy link

bubbletrex commented Sep 6, 2022

Hi

I'm trying to open an mage from my laptop onto the html window.

I have a feeling this is a coding newbie issue.

Basically it tells me that it can't find the file or understand the file path.

image

Any ideas?

I've also tried to open an image [^U], but there is no response/change.

@blad
Copy link
Contributor

blad commented Sep 22, 2022

The browser, and as a result Ronin, does not have access to the file system, the image path is the name of any file "uploaded" aka dragged and dropped into Ronin.

The simplest way to get the path into your ronin script is to use the $path helper and then drop in your image.

(echo $path) gets converted to (echo "image.png") after an image is dragged into the window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants