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
When I try to use the text tool nothing happens when I type even though the font size is 12, and the color is black, on a white background, and then when I try to get out of the text tool a progress bar shows up that says "Rendering type", and t [More]
My phone was corrupted when I updraded to iOS7. After 3 visits and 3 complete wipeouts and resets - the last time using no restore because they told me the backups were corrupted -  it still is very unstable. I cannot use the phone is this condition. [More]
I have purchased the Airport Time Capsule 3TB but I really don't need a backup disk, so I want to use it as a wireless hard disk to be used in my network, how can I do this?  Can someone give me a clear step by step guide of how I can do this? I appr [More]
I upgraded my ipad last night and after the upgrade it tried to restore the data, but it asked for a password. I dont remember setting up a password for the backup. I also have never had to use a password to complete my upgrade before. Has anyone els [More]
Dear All, There is a query related to version upgrade of eCATT from 3.1 to 3.2. The Web Application Server is 6.20 with Patch level 46. What will be the impact of the version upgrade of eCATT to the already existing scripts which were developed in ve [More]
Hi Gurus, I have an requirement to change the currency amount display format should be in thousands for the lakhs currency since our client into UAE region and they wont use the lakhs currency format. Regards RamI don't know what you mean. Instead of [More]
Hi Experts I want to pre populate child form fields from user Definition. But I am not able to do so. I have read so many posts in forum that it is not possible. I can't use access policy. I need, whenever user raise a request for resource then few f [More]
Originally Posted by Fredrik I was directed to here http://connect.creativelabs.com/openal/ But that site seems to no longer exist? Use google, I guess 2.1 is still latest... Here for example: http://openal.updatestar.com/I was directed to here http: [More]
Hi All, My actual requirement is,need to trigger a the database(Oracle9i) on a daily basis for a scheduled time  and in receiver side it has to  post the xml file to 1) FTP server,2)as mail and  3) to portal as a web service. Can someone please sugge [More]
What does "NETMAN-2: Generic:LINK DOWN for Ethernet-Mgmt" means. When using the error message decoder. I get no reply. Thanks, DTAthe CSS has a ethernet management port (at the back of the CSS for the CSS11000). This message indicates that this [More]