I need load an ImageView with a external source (http://www.example.com/some_image.jpg).
I tried with a ImageTracker, but doesn't work
Anyway, Thanks!
This isn't supported yet - https://developer.blackberry.com/cascades/download/roadmap/
As a workaround you can save the image to a file and load it from there.
I recommed to show the image in a WebView
Best of luck
Related
I configured nginx to HLS and make videojs html. But I see that video controller is displayed like plain text instead button. I downloaded new videojs and put it w/o any changes, but I still see same issue. Also I see it on another PC with another OS.
Please see image
http://s019.radikal.ru/i637/1410/e4/25e659df53b9.png
Play change to Pause on plain text when I do mouse click.
Do you know what's problem?
You've used the video.js script, but not the css stylesheet.
it's nginx issue, need update config and include mime.type for CSS support
Nginx fails to load css files
The app I'm working on displays four random images at one point. These four images come from a set of fifty images. If this was a standard Flex project I would just set the img.source property:
this.img1.source ="../assets/img/"+randomname+".png";`
This isn't working though, I'm getting a broken image. One other way to go about it is to load the image with a urlLoader, which is also not loading the image (unsurprisingly, given that it's a local asset)
loader = new Loader();
var urlReq:URLRequest = new URLRequest("../assets/img/"+randomname+".png");
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaded);
loader.load(urlReq)
So this isn't working either, I'm thinking of loading all of the images into a swc and then linking the swc to the project. This is obviously not great because then all the assets are loaded into memory at runtime. Is there another way of doing this?
I'm hoping that I'm missing something really simple.
If the .swc solution is the best one, can someone point me in the right direction? I forget how that whole business works, as it's been a couple of years since I've worked with Flex/Flash.
Thanks in advance
You should add your asset directories as "source" directories.
Then you should be aware of the fact that the contents of the asset directories will be copied to the root of your application. So when you have the image "assets/interface/bg.png" you should load it using new URLRequest("interface/bg.png").
You may try:
var urlReq:URLRequest = new URLRequest("assets/img/"+randomname+".png");
I want a htmleditor that get image at local and web!
I use Ajaxcontroltoolkit, but it get image at local. I can add a image url for it ??
Checkout CKEditor. There are already many questions in SO reated to this.
QWebView for some weird reason doesn't want to load JPG images. How do I fix it?
try this options
/*QWebView * view*/
view->page()->settings()->setAttribute(QWebSettings::LocalContentCanAccessRemoteUrls,true);
view->page()->settings()->setAttribute(QWebSettings::LocalContentCanAccessFileUrls,true);
view->page()->settings()->setAttribute(QWebSettings::LocalStorageEnabled,true);
view->page()->settings()->setAttribute(QWebSettings::AutoLoadImages,true);
this may help
In qt-designer I loaded bitmap images and in preview I am able to view the images. But after compiling in qdevelop IDE, I could not see the images at all.
Is there any procedure to load the bitmaps in to qdevelop.
Thanks in advance
I think you'll be wanting to add the bitmaps to a resource file, using Qt's resource system, if you want to be able to use them in Designer and also have them work in your compiled application correctly. I've not used it, but the examples look fairly straightforward, and it appears QDevelop supports the resource system to some extent.
Have you configured Qt to use required images plugins?
[-no-gif] [-qt-gif] [-no-libtiff] [-system-libtiff] [-no-libpng] [-qt-libpng] [-system-libpng] [-no-libmng] [-qt-libmng] [-system-libmng] [-no-libjpeg] [-qt-libjpeg] [-system-libjpeg]