View Full Version : Pulling an image

25 Nov 2010, 11:17 AM
In the section in red, I'd like to replace it with an AJAX call that would pull an image stored as a blob. What's the best way to do this? My first assumption is to create a BoxComponent, and use an autoEl's tag set to 'img'. But, how do I trigger an auto-load of an image provided by a certain URL?

var tableLayout = new Ext.Panel({
layout: 'table',
title: 'Verify Site Key / Enter Password',
headerCfg: {
cls: 'cpop-user-login-headerCenter'
border: false,
layoutConfig: {
columns: 2,
tableAttrs: { style: { 'margin-right': 'auto', 'margin-left': 'auto', 'margin-top':'10px' } }
items: [
{ html: 'sitekey' },

25 Nov 2010, 11:39 AM
Just by having the src of your img tag pointing to your url will make it load the image, there's nothing else to do.