Letting a client an ability to control images?

Hello there! (haven't been here in a while).
I need to design a very simple photo gallery, where 3 slots
are showing 6 photos. (each slot is automatically switching between
2 different photos). Simple.
A good reference of such design will be the gallery on
adobe's website :
http://www.adobe.com/designcenter/
(although here they don't change...)
I would need to let the client the ability of changing these
photos later on.
Is there a simple way, or example that someone can share with
me of doing something like that?
I am trying to avoid republishing a swf file each time...
Thanks a lot!
Adam.

Hi there,
I think its not a problem. You will be able to load a xml
file to get all the pictures that you need to load. When you change
the xml file you change the pictures on the website.
For example:
txml = new XML();
txml.ignorewhite = true;
txml.onLoad = function() {
//Put here the script for loading the pictures and getting
the names out of the loaded xml file
txml.load("images.xml");
Greetings,
Guido
Creation site internet Bordeaux |
Echantillons Gratuits |
Roue des Cadeaux |
Programme TV

Similar Messages

  • Append Multiple Control Images as a 2-D array/tabl​e ?

    All
    I am trying to generate a report and I wish to have the following pattern:
    Image      Blank      Image
    Blank      Image      Blank
    Image      Blank      Image
    Where I intend to place my control images at "Image" and no image at "Blank"
    I thought I can build a table of control images and append but it accepts only string/numeric tables.
    Is there a easier way to include images into WORD report, equivalent to: me inserting a 3x3 table in a word document, and pasting images in 1st row 1st column, 1st row 3rd colum, 2nd row 2nd colum, 3rd row 1st column, 3rd row 3rd column.
    Please let me know, thanks
    Kudos always welcome for helpful posts

    That example was cool. I wish to add images to table using control reference.
    I tried using the control reference to get image, save as a png and then use it to add images. Is there a way that I can use the control reference to add images to my table directly ?
    Kudos always welcome for helpful posts

  • Append Control Image to Report stops Source Distributi​on from working

    I have a top level built executeable that calls various external vi's using the "Call by Reference Node" function.  This seems to work ok, to a point.  An additional point here is this is code that I had running well in LV8.2 and am now trying to get running in LV2010 as there have been some significant changes in LV that have impacted on this project and this has forced me to change things.
    The external vi that is called is stored in a "Source Distribution" directory structure, which has been generated via its own project specifications.  An examination of the directories and vi's stored at the destination looks like everything should be there. 
    When it comes to running the vi in the source distribution directory (from the top level built executeable) I get the following error message "Error 1003 occurred at Open VI Reference in Run HTML Report Generation VI LV10.vi->Generate Reports.vi", with the additional suggestion " The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Select File>>Open to open the VI and then verify that you are able to run it.".  So it looks like there is something missing in the "Source Distribution" directories.
    Doing as suggested, opening the vi in the "Source Distribution" with the development environment, shows that it has no broken arrow.  My suspicion is the development environment is supplying whatever it is missing.
    Using the built top level application, using trial and error and using the diagram disable structure, I have narrowed down the location of the problem to an "Append Control Image to Report" sub vi (its from the NI Report menus).  Disabling this vi at the level it is called, allows the "Source Distribution" vi to run.  "Append Control Image to Report" is part of a class structure and I must say I have not used class structures so my understanding of their implications is very limited.
    If I instead dive into "Append Control Image to Report" vi and disable the vast majority of its diagram (everything in the "No Error" case), the original error pops up again.  Bit strange considering there are only controls and indicators and a case statement left.
    I would appreciate any suggestions, as this has got me stumped.  Hopefully I have made myself clear enough as it is all a bit complicated.  Let me know if I haven't.  Thanks.
    Herbert Niesler

        Hi Caleb,
          "When the VI displays the broken arrow and displays that error in the dialog, does it take you to a particular diagram component? Does the diagram have any broken arrows or something?"...      it doesn't take me to a particular diagram.  Is this possible in the RTE?  If it is how do I enable it?
       I can follow the chain of broken arrows (front panel only) down to my vi that calls the NIreport vi that is causing the problem.  However I am unable to open the NIreport vi's in the RTE, so cannot chase this any further down the call chain.
      I have tried opening the offending top level vi (on a network drive) and it opens ok.  When I close it, it wants to save some changes which i think might point at where the problem is.  The attached file shows the screen shots of the "Explain Changes" window.  Hopefully they mean something to you.
           Cheers
                    Herbert
    Herbert Niesler
    Attachments:
    Explain Changes.jpg ‏46 KB

  • Control image to report doesn't take all width

    I want to add and print a control to my report, but the control image doesn't take all the width avalaible on my report.
    It's stretched before the margin.
    Take a look to my exemple in attachement
    thanks
    Attachments:
    print_panel.vi ‏38 KB

    Hi,
    I regret to say that the image size is a known bug with the Report Generator. There is currently no workaround for this issue. The image size cannot be greater than a 1� margin on both sides. I hope you�ll be able to work around this. The issue will be fixed in a future version of LV.
    Danny G.
    Applications Engineer
    National Instruments

  • Lost my ability to control what appears on the menu bar

    When I upgraded from 10.8 to 10.8.2, I lost my ability to control what appears in the menu bar at the top of the screen.
    For example, Time Machine no longer shows there.  When I open the system preferences and check the box that says "Show Time Machine in menu bar", the check mark appears briefly, then disappears.  It will disappear as many times as I check it.  I tried reinstalling Mountain Lion.  When system 10.8 was installed, the menu bar worked.  When I repeated the upgrade to 10.8.2, it quit working again.
    Any ideas?
    Thanks in advance.....
    John

    Only the song/album/artist info is displayed on the "now playing" screen.
    As for lyrics, play any song to which you've added lyrics. Then press the centre button repeatedly until the lyrics appear.

  • How can I allow a user (client) to choose a local image file (on his hard d

    How can I allow a user (client) to choose a local image file (on his hard drive) and modify it using an applet from his browser ? I am trying to develop a web page that enables the user to choose an Image file, manipulate the image using a java applet, and display the results.
    Using Java�s �JFileChooser� does not work when called from a browser, probably due to security privileges issues. On the other hand, I can choose and upload any file using a JavaScript form:
    <FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="process.asp">
    <INPUT TYPE=FILE NAME="file1"><BR>

    It seems that I can choose an image file with a Java script form and process an image with an applet. How can I choose a file AND process it locally ?
    (I do not wish to upload the file to the server using JavaScript form and then back to the client�s applet for processing since it will be a tremendous waste of resources).
    Will appreciate any solution.
    Thanks !
    ( my email is: [email protected] )

    "Using Java�s �JFileChooser� does not work when called from a browser, probably due to security privileges issues. "
    You can do this if you sign the applet...

  • Cluster not saved correctly in Append Control Image to Report VI

    [LV8 with Windows XP]
    I'm using the Append Control Image to Report VI to save the image of a control to Word (the same problem occurs if I save to Excel). This VI seems to work fine with all my controls except clusters. Not all of the contents of the cluster show up in the saved image. I have to expand the edges of the cluster way beyond the cluster contents in order for all the contents to show up in the saved image. Is this a bug? Is there a way to "realign" the contents of the cluster within the boundaries?
    George

    Hi,
    just had a customer with the problem with this cluster picture function and I wrote a little VI that manually gets the picture, resizes it to the cluster and the rest is up to you. The only thing is, that you have to place the "zero point" of the frontpanel in the upper left corner to get the proper image.
    For Users who want to upgrade: This issue is fixed with the next LabVIEW release.
    Best Regards,
     Andreas Pistek
    ~~~ Logic is a systematic method of coming to the wrong conclusion with confidence ~~~
    Attachments:
    better picture.vi ‏19 KB

  • Cannot Control Image Position in RoboHelp When Linking To FM Files

    We are using TCS 3.5 on Windows XP Pro. It has taken a lot of work to get our mapping from FM to RH to work correctly, and we now remain with one outstanding task that I cannot figure out: controlling the position of images in the RoboHelp output.
    The images appear arbitrarily justified left, center, or right in RoboHelp itself and in help outputs. I should also add that this is happening with both structured and unstructured FM files. Typically, the output I'm working with is WebHelp or WebHelp Pro.
    I've turned to the "Object Properties" and "Anchored Frame" pods in FM looking for settings that might be contributing to this behavior, but have not found anything that appears to connect settings there with the image behavior in RH. In the structured FM files, I had some suspicions that complex if/else conditions controlling image position might somehow be contributing to this problem. But the conversion settings in RH don't allow those EDD rules to carry over.
    I also turned to the "Conversion Settings" in RH and played with some of the options for "Images" there, unticking or ticking "Use Distiller to Generate Images" and "Do Not Regenerate Images."
    Our online help now looks pretty clean, since all the styles are mapped, with the exception being these wonky images everywhere.
    I would certainly like to determine the root cause of this behavior, because we're using this FM>RH workflow to create online help systems for hundreds of legacy FM documents that encompass thousands of such images. I want to fix this in the mapping and not touch the original images, if possible
    However, if anyone has the answer regarding the best practice for generally controlling image behavior in structutured and unstructured FM to RH, I would be eager to learn these details as well.
    Thanks in advance,
    Douglas

    I believe it is. And I have had the same problem with tables.
    I made multiple posts about the images trying to describe it in different ways, but all I got were crickets chirping on the forums. I finally called Adobe technical support. Their initial reaction was to show me how image mapping did work correctly with freshly minted FM files and RH project. I had to draw them back into real world scenarios by giving them my source files to recreate the issue. At this point they admitted something was amiss, and one rep even slipped and said it was a “known issue.” They promised to get back to me with a resolution. But despite 4 additional attempts contacting them, and  they now just ignore my e-mails.
    I am very disappointed in the way Adobe has handled this matter, both from a development and a support standpoint. It would do all of us users a world of good if they admitted these flaws in their release notes, and offered possible workarounds. Maybe there is no workaround, in which case it explains why they don’t admit it? But beyond poor software development and bug fixes, I think it’s sad that they don’t follow up on support.
    Adobe seems to assume that tables and images are going to carry over from FM to RH correctly, so you get no fine tune controls, like you do for character and paragraph mapping, and I think this is the crux of the problem.
    I got those tables working in my projects just by dumb luck, but I still have no control over them. The images…they still represent a huge problem for our company. We invested an enormous amount of resources into a RH migration, hoping to continue to use FM. But now we have issues with no apparent resolution. It’s making us regret our decision and reconsider our initial considerations to move to MadCap Flare and/or a component content-management system.
    If you have any luck making headway with the issue, I would love to know more.

  • I can't append control image to report on 1 page with appended text report

    I am attempting to create a report which is simply header, experiment information, and two graphs of data. I am using a Easy Text Report and Append Control Image to Report. I have successfully printed out this report, but on two separate pages. The header info is on the first page, and the graphs on the second page. This doesn't seem to be a margins problem, as the header is very brief and the graphs aren't that large either. I would like to make this into a one page report.  Any help is greatly appreciated.
    Message Edited by csmrunman on 01-15-2010 10:18 AM

    Nevermind. I neglected to see the Append Report Text.vi. That solved everything.

  • Append control image

    Hi,
    I Have a problem with the append control image to report VI. I Have a Array of clusters that contain 3 numeric indicators and 2 vertical pointer slides. When i try to append this iamge to a report, the picture thats appended downt contain the whole control, and has some weird artefacts. With other controls the append control image to report vi works fine.. Is this a bugin LV 8.0 or am i doing something wrong?
    Thnx
    Bart
    Labview CLD , Engineer/Manager
    Promedes and DSM
    using LV 7.1, 8.0, 8.2, 8.5 and 2009 SP1
    http://www.promedes.nl

    Ok here is an example, the cluster is being appended in the subvi
    Labview CLD , Engineer/Manager
    Promedes and DSM
    using LV 7.1, 8.0, 8.2, 8.5 and 2009 SP1
    http://www.promedes.nl
    Attachments:
    subvi.vi ‏35 KB
    problem.vi ‏14 KB

  • A problem about saving the picture control'image in a child VI.

    i want to use 'export image' method to get a picture control'image,so ,i have a child VI to use method 'export image',and a main VI to using the child VI,but when i run the main VI,there is no image is saved on the disk ,but if i open the child VI'frontpanel,then,i run the main VI,the image is saved on the disk,i want to know the reason why i can not get the image,when i run the main vi without the child 'frontpanel or blockdiagram is opened.
    Solved!
    Go to Solution.
    Attachments:
    child.vi ‏11 KB
    main.vi ‏7 KB

    The behavior that Simon describes is not a hard and fast rule, and the Export Image method used to be a bit of an exception.  It would supposedly update the controls of unopened FPs that used the method.  Reality never quite matched what was described in the documentation if I recall.
    If you pore over the detailed help you discover that this method works fine in SubVIs with some controls and not others.  Look at the characteristic 'Loads the Front Panel Into Memory', for a Picture control it is 'No', for a Waveform Graph, for instance, it is 'Yes'.  Caveat:  Relying on this level of detail to be correct in the LV help is a bit risky.  Best to try it yourself.  Not loading the FP is a good hint that the method is not going to behave in a SubVI.
    As to the problem at hand, a Picture Indicator is an odd choice to me to use this method.  You have VIs in the Picture palette to convert pictures to image data and then export the image data to a PNG or JPG or BMP file directly.  Anything you would draw and then export could be exported directly without drawing.

  • Problem sending Tab/Cluster control image to Word report.

    I've set up an option for the user to send a control image to a Word report where they can decide to Print and/or save from Word (I've found the normal Print option too slow with the printer available). The Word document opens fine but I am loosing data from my indicators, without which there's not much point in printing!!
    Is there a problem with Clusters, I have a chart and table on another page of the Tab in my main program and they come out fine.
    I'm using LV8 with the Report toolkit and Word 2000
    Thanks
    Ian
    Attachments:
    Send to Word.vi ‏34 KB
    Send to Wordp.png ‏22 KB

    This problem has been reported in previous posts on the LabVIEW forums.  LabVIEW R&D is aware of the problem, and it should be fixed in a future LabVIEW version.  For now, the only workaround I know of is to make extra space in your clusters so the controls are visible in the report.  I know it's ugly, but it's the only thing I know that works (other than reverting back to LabVIEW 7.1).
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Append control image requires vi to be open

    Having a curious problem with the append control image vi in the report toolkit.
    I'm using LV8.6 with the current report toolkit .
    I have an application that merges the information from 4 sections into one html report.
    Using the append control image vi I add images to the report in two subvi.
    When the subvi are open on the desktop everything works fine.
    As soon as I minimise them to the toolbar or open them up so the image I am grabbing is not fully visible, I either miss the image entirely or only capture a portion of the image.
    Am I doing this wrong?
    Is there a workaround or better method to achieve this ?
    I am trying to avoid using  word or excell as these products may not be available on the target machine.
    henry

    Hi Henry,
    From what you are saying it sound very similar to KnowledgeBase 339HAFUW Append Control Image to Report Does Not Update the Correct Value of my Hidden....
    I made a subVI that writes to an indicator and then in the main VI I use that indictor’s reference as the input to the Append Image VI. I write to an HTML report and the image appears fine for me. During this time I never the subVI opened.  However, if I open the subVI and then minimize it I notice that blanks images are outputted to the HTML file.
    I will be investigating this behaviour a some more.
    I have attached my VI for reference.
    Message Edited by DiscoBall on 05-01-2009 03:21 PM
    Message Edited by DiscoBall on 05-01-2009 03:21 PM
    Joshua B.
    National Instruments
    NI Services
    NI Support Resources
    NI Training Resources
    Attachments:
    cvilv.vi ‏12 KB
    time.vi ‏6 KB

  • Print report and append control image to report.vi problem

    why print report.vi and control image to report.vi can't executable in xp service pack 3??
    before that, i use xp service pack 1. these sub vi can use successful. but after i transfer all ni file into xp service pack 3, that sub vi can't executable..why it happen???
    please, help me...

    When you said that you used your VIs in service pack 1 and then transferred to Service pack 3, are you referring to 2 different computers or you simply updated the computer with SP1 to SP3?
    If you are using 2 different computers, were all the software and the toolkit also installed in the pc with SP3? I am using XP with SP3 and I am not having any problems with the print vi.
    If you have more information, like if you get an error message, kindly post it here as well.
    Best regards,
    Mary Anne
    .....YOU WONT LEARN IF YOU ALREADY KNOW.....

  • Bug in Append Control Image to Report in 8.5?

    I am now at an end with this.  I seem to have some sort of problem when using the Append Control Image to Report.  I have a program that creates two reports.  One is a condensed version, the other detailed.  Both reports contain JPG images of some front panel displays.  For the most part it seems to work except what ever it is doing appears very unstable.  The problem seems to center around me trying to include a Multicoulmn Listbox.  I create a Reference of it and then run that to my Append Control Image, just like any other image I want to include.  If I probe the Reference, it appears to be correct, i.e. the name, etc. all seem right.  However, what the image that gets included is a whole different graphic.   Some times I will get the listbox, other times nothing at all.  If I look in the directory and bring up the images, indeed, if it prints the wrong graphics, it also has created two of the ne that it includes. 
    Running the same program unmodifed seems to do the same thing, i.e. it always will print the wrong graphic.  As I have tried different things to try and skirt the problem, I get different effects.  
    I have seen the same problem with other graphics as well, not just the listbox, but I can't come up with any hint as to why it does what it does. 
    Attachments:
    LABVIEW_err.jpg ‏18 KB

    I have dug into this a little further and it appears this bug has to do with creating two reports at the same time. If I only generate a single report, everything works flawless.
    I placed the sections of the code that append data to the reports into a sequence so they would not happen at the same time. This seemed to have some effect, but the reports were still incorrect.
    Is LabView just not able to create two reports within a single progeam?
    I can work around this by creating just the detailed report for now, but it would sure be nice if there were a way to make it work.

Maybe you are looking for