Should how to display my thumbnail image I choose?

I have a mySql database with a few of many records for each of my images. One of the data fields is thumbnail url: I want to view all the thumbnails on the screen.

It is best to do A or B:

A

Use a datagrid control and a custom converter to display each image

or B

get all the data in a table, browse and view thumbnails on the screen.

all advice is appreciated, I already had the url string thumbnails appear in the data grid, but how do I get the actual thumbnail to appear instead?

Your TileList might look like this:

Then in a script block, you can have a function like this:

private void setImages(thumbnailURLs:ArrayCollection): void {}

var ac:ArrayCollection = new ArrayColleciton();
for each {(var URL: String en thumbnailURLs)}
var image: Image = new Image();
image.source = URL;

ac.addItem (image);
}

_myImages = ac;
}

with a variable like this:

[Bindable]
private var _myImages:ArrayCollection = new ArrayCollection();

Hope this helps,

T.K.

Tags: Flex

Similar Questions

  • How to display a thumbnail view of pictures? My vista does not list the thumbnails in the dropdown display menu.

    How to display a thumbnail view of pictures?  When I open the folder what I see is a generic panoramic picture rather than individual images.  My vista does not list the thumbnails in the dropdown display menu.  Before updating the Windows I used to be able to see thumbnails of my photos views when I opened the files with images inside.

    Here's a possibility... go to... Start ORB / Control Panel.
    Folder options / tab / files and folders / uncheck
    "Always show icons, never thumbnails" / apply / OK.

  • How to display the thumbnails in the default view

    How to display the thumbnails in the default view. I have just started a test of DC Acrobat and cannot find how to set the thumbnail view as default.

    Thanks George. Seems to only work for individual documents. If I do your instructions, close the document and then re - open, then of course the miniature view opens immediately. However, if I open another document the thumbnail view is not here. I need the thumbnail view to be opened by default for all documents as older versions of Adobe and other PDF software. If you can help that would be great.

  • How to create a thumbnail image

    I have a number of images, I want to display the thumbnails of the images...

    How can I do it...

    Thank you..

    problem is to solve...

    We can take an ImageView and can set the preferredWidth and preferredHeight...

  • How to display a thumbnail of ORDImage without store?

    Hello

    I use Oracle 10 g r2.

    I need to show the ORDImages (and BLOBs).

    Here is my procedure that displays the thumbnails:
    create or replace procedure show_photo_thumbnail(v_id_photo in number, v_height in number, v_width in number) as
         obj ordsys.ordimage;
         obj2 ordsys.ordimage;
    begin
         --obj2 := ordsys.ordimage.init();
         select phot_source into obj from photos where phot_id = v_id_photo;
         select phot_source into obj2 from photos where phot_id = v_id_photo for update;
         obj.processcopy('maxscale= '||v_width||' '||v_height, obj2);
         owa_util.mime_header(nvl(obj2.getmimetype(),'application/octet'), false );
         htp.p('content-length: ' || obj2.getcontentlength());
         htp.p('content-disposition: filename="' || obj2.source.srcname || '"');
         owa_util.http_header_close;
         wpg_docload.download_file(obj2.source.localdata);
         commit;
    end;
    It works, but if I call this function several times (from our apex application), the quality of the image becomes less good, it seems, that he always treats the same image.
    And for example if I call show_photo_thumbnail (1126, 150, 150) , then show_photo_thumbnail (1126, 500, 500), so it seems that the image of 500 x 500 is treated 150 x 150 thumbnail quality is very poor.

    I have read all the documentation and I don't really understand why.

    By calling this another procedure, we can see that the stored content stay unchanged:
    procedure show_photo_infos(v_id_photo in number, v_height in number, v_width in number) as
         obj ordsys.ordimage;
         obj2 ordsys.ordimage;
    begin
         select phot_source into obj from photos where phot_id = v_id_photo;
         select phot_source into obj2 from photos where phot_id = v_id_photo for update;
         obj.processcopy('maxscale= '||v_width||' '||v_height, obj2);
         dbms_output.put_line('obj  : '||obj.getmimetype()||', '||obj.getcontentlength()||' bytes, '||obj.getwidth()||' x '||obj.getheight());
         dbms_output.put_line('obj2 : '||obj2.getmimetype()||', '||obj2.getcontentlength()||' bytes, '||obj2.getwidth()||' x '||obj2.getHeight());
    end;
    
    show_photo_infos(1126, 200, 200);
    obj  : image/jpeg, 79754 bytes, 572 x 504
    obj2 : image/jpeg, 4635 bytes, 200 x 176
    Any help would be appreciated.

    Thank you.

    Yann.

    It should work exactly the same for ORDimage and BLOBs, as ORDImage stores and updates the content of the image in an attribute of the BLOB.

    The difference you see may be because the object that you read. In the first example, obj2 has been selected for the update, but obj1 wasn't. The local variable obj1 had old data that has been printed, and it did not differ from data of obj2, which took the changes that have been updated in the table.

    If you do not want the updated image, you can then select to update, make the changes that you are currently, but the restoration then in the end (after downloading the content). Then the original image will be stored in the table and the changes made as part of this operation will be ignored. The next time that you run the procedure will operate on the original image.

    I note also that you have a commit in the first code snippet, but not later. According to your logging settings, which could have an impact as well.

  • How to create multiple thumbnail images while creating the Image assets

    Hi all!


    I have a requirement to create several thumbnail images (of different sizes), while creating new assets of image. These vignettes must be associated with different attributes after the recording of assets. I thought you used miniature filter, but I read that it uses a library of swing, it's very very inefficient memory-wise and we can experience the memory leak and crashes with only a very limited number of images... Another solution is to set up the filter citing ImageMagick with a system exec: it's fast, it does not have the memory and it also generates a much greater quality of thumbnail image resizer that comes with swing.


    What do you think, and how can I implement this?


    Thank you very much!

    Hello Elena,

    We noticed some performance issues in our current client, so we changed the miniature filter by default:

    A temporary file is no longer used for the input image. The source image is used directly, because it is not changed by the thumbnail generator.

    This avoids some performance issues, we have detected. First of all, because of the way the image has been copied (a byte is read and written each time), and second, because of some file systems environments run badly.

    In addition, it relies on "deleteOnExit", which can produce an impact on the performance of the application server, as the JAVA virtual machine must maintain a list of files to delete when leaving, and which consumes memory. It is even more problematic on servers that are not restarted very often.  And if at the end the application server is not normally off, these files would not be removed.

    On the other hand it seems that the thumbnail generator is not necessary that the image source file ends with the extension of the right.

    Now we use the provided source image directly, it's a ".tmp" instead of a file (for example) the file ".gif".

    It will be useful,

    Gerardo

  • How to display a .swf image when the film is disabled?

    I wonder how to display an image or a swf image when the film is not play. Any information appreciated. Thank you!

    A swf is never really off if it is displayed. But if you want something to show when there is nothing going on in the file, then just do sit in a frame with any content you intend to display.

  • How to display a BLOB (Image) in a report of the EBS?

    User has requested to add a Logo image to a report called the E-Business Suite (EBS).

    The image is currently stores in a BLOB column.

    How can I make the image to display in the report?

    Thank you!

    I don't see why it wouldn't work on Unix. Each element in the layout is a source based on a column in your query (in the datamodel). It doesn't matter if it's Windows or Unix.

    Reports done automatically if you use the wizard. If you change an existing report, you need to add the column (in the datamodel) and element (in the layout) yourself.

  • How to display correct sRGB images in applications unmanaged Vista with a wide range of display?

    Hi all

    This isn't a simple question, and I don't expect the answers to be simple either.

    1. I have vista home premium
    2. I have a wide range of LCD, a screen with a significantly wider than the sRGB color profile (sometimes incorrectly called a display Adobe RGB)
    3. I have it calibrated with a Spyder3Elite
    4. Images look GREAT in color managed applications (including the windows photo gallery)
    5. Photos have air saturated outside color management applications, even if they are sRGB images.

    Here's what I need.  If an application is not color management then Vista should apply the sRGB profile AND map it on my monitor profile.

    What is happening now is the image is mapped directly to the color space of the monitor and let the oversaturated colors. The end result is that all images within windows and Internet Explorer are saturated. The only solution for navigation is to use a plugin to make the management of the colours of firefox or use safari.

    BTW. Even if windows photo gallery is the color of the slide show management is not argghhh.

    I have looked at the Advanced tab on the Vista color management, but did not find ANY documentation on the 'device profile' or 'View profile status' settings. They seem to be associated with what I need, but there is nothing in the help about it. What do mean? second question, sorry)

    Concerning
    JzE

    PS. I checked the color management using the 4 images at http://www.color.org/version4html.xalter. I have saved their drive and use them as a reference to quickly check if an application is successful or not color.

    I received this reply from Michael Bourgoin. Thank you, Michael, we now have at least one answer...

    Hi J___,.

    I wish I could give you some good news, but the fact is that most of the components of windows and the Windows desktop are always not color management. The Windows Photo Gallery and Windows Live Photo Gallery are the only elements of the Windows color reach the display profile. Most office applications will honor profiles embedded in images, source but then they convert to sRGB and throw it on the screen. And IE is not even honor profiles embedded in images...

    That you have determined, the settings in the color management control panel affect only the applications of color management. The settings in the tab Cpl Advanced CM are used to provide default values for the missing profiles needed for the creation of color transformation for WCS in color management applications. Again not to help.

    Regarding the application non-management of color management color "behind their backs" goes, it's very difficult to do in general. There is no easy way for the OS to tell if the color data that renders an application has already been color managed, or not.

    We have a technology called high color which will be in Windows 7 that aims to solve this problem. Color high-definition given color are first converted into a color space extended which uses the sRGB primaries, but which allows the values less than 0.0 and 1.0 above (let's call it sRGB-XR). Colourful is closely related to xvYCC and X.v.color of Sony. Range wide color data can be converted in this space with no loss. Displays (and maps) that support colourful are necessary to convert this space sRGB-XR internally to their native color space. With color high definition, the United Nations - RGB color management is treated as sRGB, which is unchanged when converted to sRGB-XR space (it's all in the [0.1] part of the encoding). But then peripheral compatible High Color will map correctly that in their native space, so the sRGB data never get oversaturated in being treated as if she was already in wide range native of screen space (as happens now). And any image content real wide range gets correctly mapped to take advantage of the wide range of the screen. The plumbing for High Color is under Windows 7. However, the Desktop Window Manager could not implement a high color support in time (this requires the use of a fixed or floating point rendering surface), if the Bureau will not use color high definition, however, in Win7. Maybe the next time.

    I would like to be able to give more excuses, explanations and communities.

    Best regards

    Michael Bourgoin
    Program Manager | Experience Windows & Imaging Team color
    Microsoft Corporation

  • How to display photo thumbnails in windows 7...

    How can I see preview picture always in Explorer in windows 7... in xp I could right click when in 'pictures' and I menu would come to the top and let me pick list, miniature... I want to see as a thumbnail in windows 7. I don't want to have to click on a photo and go through them all one by one to see what they are. Help, please!

    I found it! If someone else needs to know... openExplorer then click on "organize" on the top left and then 'folder and search options' then click on 'display', underAdvanced settings , the first item listed is "always show icons, never thumbnails" uncheck that then click on apply or ok. ' "  Now, you will be able to view your photos in thumbnails.  Why windows has that checked by default is stupid! Overall I love Windows 7 but that wasREALLY WORRYING me!

  • How to display the loading Image when you press a first level tab

    I have a long report which is directly related to a first level tab and want to display an image that makes the user aware that the application is running and load the data.

    Tried to use the plugin loading of Tobias Arnold icon, but it does not occur under this type of event.

    No idea how to use this plugin with a tab without submitting the page.

    Jeff

    23 theme is OK, the class = attribute "tab_link" on the tabs. I added that and now it works.

  • How to display a hidden Image?

    Hi all

    I have a form where there are several images that are hidden and excluded from the page layout. There are several checkboxes are present. If certain conditions are met (a particular box is checked) then it should display the image. I have a design that the Images are not associated with scripts.

    Is this wrong? any help on this would be appreciated.

    Thank you.

    Sidonie.

    Hi Francine,.

    No, it is completely available in FormCalc, you just need to change the syntax.

    In FormCalc, it would look like:

    if ($ == "1") then
         image1.presence = "visible"
    else
         image1.presence = "hidden"
    endif
    

    Hope that helps,

    Niall

  • How to display raw pictures images

    How can I view my photos in "raw" format to change. The only version I see on the photographs is jpg, but the photos have been taken in raw.

    Are you shooting RAW only or RAW and JPEG

    If you are shooting RAW so you see the RAW because it's all it is - if you pull them both (and you have to wonder why not just take a you want and save space) then in edit mode under the image menu, click on use RAW as the original

    LN

  • How to display the thumbnails in view?

    How can I see thumb nails in windows when I only have the choice of big-medium etc.? or how to make an extract pdf files? My problem is with unrolling of views and not be able to view the pdf file.

    Enable or disable preview thumbnails for PDFs
    http://www.Winhelponline.com/blog/enable-or-disable-thumbnail-preview-for-PDF-files/

    Thumbnails PDF disappeared after CS3 installed on XP-Vista
    http://forums.Adobe.com/message/1225608

    What setting you have in Control Panel / folder Options / View. "Always show icons never thumbnails".

  • How to display a PNG image according to the response from the Web Service?

    Hello

    I use the web service XML from Weather.com to get the current temperature, temperature 'feels' and the current condition icon number.  Their service provides many (> 20 I think) which represents the current status of PNG files.  How do I install my script AS3 do basically if... then Else instructions based on the returned value icon?  For example, if the value of icon = 20, then view 20. png on stage?  I need match the value of correct PNG icon and then put that PNG (as a clip?) on stage for a predefined timeline section.

    Thank you

    SID

    Hello

    I also used this API, and I only use cases or conditions in order to retrieve the values and turn them into a file name.

    If you do not use all the available conditions and turning them into an icon, then Yes, you need to do a switch condition.

    But if you want to use them all, them you can simply get the condition number and add the '.png' and call the corresponding file directly. Here you can do a test, just in case the condition / icon does not exist (e.g. system failure any)

    uicondition.source = String (resultXML.cc.icon) + ".png";

    The UILoader is an excellent component for this sort of thing. You can accomplish the same thing with a MovieClip and load an image. It is lighter.

    But then again if you want to resize you would code all methods for that.

    I hope this helps.

Maybe you are looking for

  • Can see the pictures of someone else

    I wonder how it is possible that we can see a more user photos in our photo stream? In our photo app, which then also means our screensavers on our Macbook and our Apple TV, you can see not only our own photos, but also those of another family, and w

  • images superimposed on export?

    I tried to export a Christmas photo via e-mail, but an additional image of sunflowers I took centuries ago was overlaid on the photo of my dog! Can someone help remove the sunflower? Thank you

  • setting for the title of the report

    Hello I have a report with many pages and I need the same title on every page. To do this, I would use a parameter that could be defined by the user via a VBS inputbox and then re-used on each page. I tried something with scalar parameters: B1, B2, B

  • Problem with optical drive

    Hello I backed up all my files on a DVD. Then formatted and reinstalled Windows 7 Ultimate. At first I could access the files on my DVD, now it says I need to format the disk in drive D, until I can use it. When I cancel, he said that d:\ is not acce

  • Multiple monitors: you install a video card in a Paviliion disable the onboard graphics

    I have a p6250t paviliion running windows 7 (CPU intel quad-core, 4 GB ram, 600 GB HDD) with integrated graphics and want to run two monitors.  If I install an integrated graphics card video card is automatically disabled, or I can use two ports that