Sitemap

Amicuk Programming Answers

Toggle image in gallery

2015-10-11   Views:2

Advertisement

Trying to create a login/logout application. Can't figure out how to get an image to toggle between two states. See below for reference.. The data in the black box is all from one gallery (data source) except for the "Out" image which I inserted

Trying to create a login/logout application. Can't figure out how to get an image to toggle between two states. See below for reference..
The data in the black box is all from one gallery (data source) except for the "Out" image which I inserted into the template.
I need to be able to toggle the "out" image to an "In" image for each independent item in the gallery. I've tried If/Then statements; UpdateContext with toggle-like switches of 1 & 0.; Inserting inside the template / Outside the template.
I've created separate collections and more. I am at a complete loss for how to do this. Nothing seems to work.
Theoretically this should be as simple as referencing a cell in a spreadsheet but without the ability to dynamically update a cell with input from the application - the whole exercise is mute.
I really need help with this. I have an entire fantastic application that is 90% complete except for this one 'seemingly' simple flaw. But if this flaw can't be worked out then the entire exercise is worthless and a giant waste of time.
Please help.

The replay answer
Advertisement
Hi Michael,
If I understand the scenario, an Image Gallery is bound to a Table which has at least one column with links to people's photo. When you toggle a switch, the image should switch to another image to indicate the person is Out.
First add the image that you want to display when the person is Out. To do this:
Click on the Image visual in the Image Gallery
Click on the Image property and select Add Image. Select the image you want to import from your local computer. I will assume the image name is
OutImage.
Then add the toggle logic. For this I will assume that the table has a column named
Photo containing the links to the photos. Click again on the Image Visual and edit its
Image property to:
If(ToggleSwitch1!Value, OutImage, ThisItem!Photo)
This statement indicates that the Image for the Image visual is OutImage
if the Toggle is On, or the current item Photo if the toggle is Off.

Go to See the other 2 answers

Toggle image in gallery

Category:DefaultRelease time:2015-10-11Views:130

Trying to create a login/logout application. Can't figure out how to get an image to toggle between two states. See below for reference.. The data in the black box is all from one gallery (data source) except for the "Out" image which I inserted[More]

Gallery Demo... how to toggle background-image on playLabel

Category:DefaultRelease time:-0001-11-30Views:130

Anyone? I'd like something besides the play/pause text -- basically, using a background-image... how can I tap into whatever it is that toggles the text to get it to toggle the css instead? Any help appreciated, thanks!quote: Originally posted by: n2[More]

How do I get the old photo gallery version back in my photos, don't like the date thing currently there

Category:DefaultRelease time:2015-10-11Views:130

DDon't like new version of photos by date, want old photo gallery version is that possibkeYou can revert to the previous Search Bar scheme like this. Open up '''about:config''' ''(typed in the Location Bar)'' Right-click and toggle this preference to[More]

How do i apply a basic jQuery to my image gallery?

Category:DefaultRelease time:2015-10-11Views:130

I'm using jQuery in order to allow an image gallery to show the same product in various colours. However the jQuery I'm using, animates the next image to sweep in from the left. And i just want the images to change in a basic way, so one image is on[More]

Need help with xml video gallery

Category:DefaultRelease time:2015-10-11Views:130

Hello everyone I recently bought a xml video gallery. I'm loading the movie externally into another movie. When the xml gallery loads, it cancels all sounds. I need to figure out where in the actionscription can i reverse the cancellation of sounds.[More]

Web Gallery not showing in Aperture's browser window.

Category:DefaultRelease time:2015-10-11Views:130

Hi, I hope someone can help me with this. I create web galleries all the time and they work fine. For some reason when I create a new web gallery, instead of seeing the interface with the web preview (where you get the all the setting for customizing[More]

Gallery App Help/Lost ability to control whether to resize a photo when emailing

Category:DefaultRelease time:2015-10-11Views:130

When emailing photos and using the Gallery App I had the option to resize or not. I could select a new size and select "Always" or "Just Once". I don't have the option anymore and I really need to get it back. What do I do? Example: I'[More]

Photo-gallery examples / how to ?

Category:DefaultRelease time:2015-10-11Views:130

Is there a tutorial on how to create a Spry photo-gallery, or do we just view the source code for the example page at the Adobe site? Which relevant files are need to make this work? Nadia Adobe® Community Expert : Dreamweaver CSS Templates |Tutorial[More]

Image gallery approach for additional details and add to cart option?

Category:DefaultRelease time:2015-10-11Views:130

With efficiency and minimalist downloads for smartphone users I would appreciate advice on a product image gallery. Currently I have an intro page and other simple information pages. My gallery pages ( four distinct pages for different leather goods)[More]

SPRY ALBUM GALLERY not working in IE7

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have created a spry album gallery using adobe's sample code and have test via dreamweaver - firefox 3.0 & IE7 to view the site. It works a treat. I have uploaded the files and now running live. One problem. I have type the web address into IE7[More]

Sync project, album or smart album with MobileMe gallery?

Category:DefaultRelease time:-0001-11-30Views:130

Is there any way to sync a project, album or smart album with MobileMe gallery? It would be nice to have changes in one, reflect changes in the other. Thanksmake sure your inspector is visible on the left hand side press i to toggle on and off. You w[More]

Hot
This is all I get. I've tried reinstall and restarting but nothing.Sign in, activation, or connection errors | CS5.5 and later MyleniumRead other 2 answers [More]
Hello, I've a quite interesting problem here! It started with a crash this morning while running Minecraft (a 3D game): The music was still runing normally, I could still move the mouse cursor, but couldn't access any windows or applications. I could [More]
Itunes will no longer startup or uninstall/reinstall after i recently did a system restore on my laptop i can get it running by opening a song, and it works fine then, but its an old version cos i cant update! looked everywhere for a solution and can [More]
Hi All, Is there anyway or function module using which i can retrieve feature code price of an order in the creation mode.Does anybdy has any idea regarding the above query ??Read other 2 answers [More]
I'm trying to upload a PDF located on my desktop to a server that won't accept special characters, and the mac path is by default ~/desktop/file ... all those forward slashes read as "special characters" and the file is rejected. I moved the fil [More]
I have made an application from an excisting set of VI's. My VI makes use of a RTM. The application doesn't carry out this menu. How can I make use of My RTM in an application?Can you describe how your vi is supposed to work in a little more detail, [More]
Since I have iOS7, I can't have any USB connexion with my Macbook pro!!!! even after another my iphone was exchanged, I think there is a bug in IOS7!!!philippefromfra wrote: Since I have iOS7, I can't have any USB connexion with my Macbook pro!!!! ev [More]
I'm very new to LabView and have created a simple VI to record a single measurement from my HP 34401A Multimeter over an RS 232 connection. The problem that I'm having is that the VI only works when I run it a single step at a time (clicking the sing [More]
We have configured infotype 9101 and want to include it in an IDOC (HRMD_A07) to be passed to Novell identity management.  The appropriate entries have been made in T777D but identity management does not recognize it.  I have been told it is not in t [More]
Old MacBook Pro 2007 given up after 7 years trouble free.  Logic board gone. New iMac replacing it. I have the hard drive from the MacBook. Can anyone tell me if and how I can transfer program's as well as files from the hard drive to the iMac Many t [More]