Flutter web not loading images - flutter

Hi I wanted to upload my website today but I realized that I can't use images as AssetImage. After looking for a solution I found a possible way where I use NetworkImage with the url
yoururl/assets/assets/image.jpg for example.
Now this isn't working for me as well. I tried running it with the command flutter run -d -chrome --webkit-renderer html but this didn't work as well.
What other possibilities would work here? is there maybe some site where I could upload my images?

When using asset images on the web, remove the assets at the beginning of the asset path.
Sample ;
Normal state : "assets/images/someImage.png",
Web : "/images/someImage.png"

Related

Images not showing up on GitHub

Im trying to publish a challenge on frontend mentor using Git Hub.
When i try to use the live url, images dont show up.
Ive tried PNG, paths and some more things i saw on the Internet but ,for now, nothing has worked.
Live Url:https://pires29.github.io/First-Project/
GitHub Page:https://github.com/Pires29/First-Project.git
(Could put the code in here)
img src="image-qr-code.PNG"
Check your path.
Your images should be on the public file and your path must looks like /<imagesFile>/image.png

Display ePub Files Using Flutter

Having solely developed Android applications I have decided to try crossplatform development, so far Flutter has been a much more pleasant experience than Xamarin however, I have now run into a roadblock.
I want to give users the ability to read ePub files downloaded from my server. I came across this Flutter package but it is not clear to me how to display the ePub inside a container to the user - https://pub.dartlang.org/packages/epub
I cannot find any examples/tutorials other than the one provided on the example page (which has a Image package conflict. I fixed this conflict by changing the package import line to 'import package:image/image.dart' as image) then all references to it in the main method to image.Image. This might be another issue to resolve another day when it comes to adding custom placeholders for missing images.
I cannot share my ePub files but I have tested with the one found on the github repository here https://github.com/orthros/dart-epub/blob/dev/test/hittelOnGoldMines.epub
Thank you
The only resource that I found was https://github.com/pycampers/flutter_pdf_viewer, but for now it is just for Android.
Another aproach is to load a webview and load the pdf using some JS framework.

JSSOR - exporting code

I am using website builder for a site this week and you cant ftp anything when using that. I am doing a logo slider from JSSOR and I do not know which code export to use. I cant upload the images folder, I have to use a direct code link. Anybody know what option I need to use for exporting code?
Thank you!

Fancybox works locally but not when uploaded to server

Hi im hoping you guys can help me, I put together a fancybox gallery which works beautifully locally but when I uploaded it to server only 2 images work when clicked..Im at a loss as to why the others wont load, all images are in the same folder and paths are the same.
Any Ideas?
By using the browser debug tools, we can see that your server's returning "404 not found" errors for all the images. It looks like your image paths are img\thumb3.jpg; web servers use forward slashes as a path separator. If you change your gallery so the images are img/thumb3.jpg, it should all work fine.
The reason this works locally but not when uploaded is because you're working on Windows, and your web server probably isn't. :)

filepicker the front end cropper

To make it even easier to work with user content, we enable image post-processing. This way, regardless of what type of file a user uploads from the Cloud or their local device, you can be sure it's in exactly the right size. To convert an image, take the filepicker url and append /convert, along with query parameters specifying what you want to change. See the DocsĀ»
filepicker.io shows an example of a cropping tool on their front page. Could that be built into the picker itself?
We've discussed building it into the upload experience a la iOS, but think that the functionality is best done as a step after the upload. The demo on our front page is done using JCrop, and at some point we'll open-source the demo as a jquery plugin or similar.