Data not dynamically updating in photo gallery

The page in question is
this
photo gallery.
The primary issue is when one thumbs through the images, the
"photoID" does not update. It remains at the first "photoID" that
is encountered, and in this case, it is 729. The "title",
"description" and so forth remain locked to the first entry as
well, yet the photograph updates "@path".
I've been working at this for almost two days and have tried
almost every possible combination. I've copied over the older
framework files from my other site (which has this working
successfully), modified it to work in this instance, and it fails
here. The XML output is correct.
function photogallery(){ //Photo gallery
?>
<div class='right'>
[Snip out collapse panel...]
<div
spry:detailregion="dsGallery">{photoID}</div>
<div id="mainImageOutline"><img id="mainImage"
alt="main image" src="{@path}" /></div>
</div>
<div class='left'>
<div id='previews'>
<div id='controls'>
<div id='transport'>
<a href='#' class='previousBtn'
title='Previous'><img src='/res/images/buttons/rewind.png'
alt='[skip-back]' border='0' /></a>
<a href='#' class='playBtn' title='Play/Pause'
id='playLabel'><span class='playLabel'><img
src='/res/images/buttons/play.png' alt='[play]' border='0'
/></span><span class='pauseLabel'><img
src='/res/images/buttons/pause.png' alt='[pause]' border='0'
/></span></a>
<a href='#' class='nextBtn' title='Next'><img
src='/res/images/buttons/fastforward.png' alt='[skip]' border='0'
/></a>
</div>
</div>
<div id='thumbnails' spry:region='dsGallery'>
<div class='thumbnail' spry:repeat='dsGallery'><a
href='{@path}'
onclick=\"dsGallery.setCurrentRow('{ds_RowID}')\"><img alt=''
src='{@path}' width="80" height="80" /></a></div>
</div>
</div>
</div>
<div style='clear: both;'> </div>
<?
}

Even doing that was no help unfortunately. Here is an
extended snippet,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xmlns:spry="
http://ns.adobe.com/spry">
<head>
<title>Urban Up, a web-site by Sherman
Cahal</title>
<meta http-equiv="Content-Type" content="text/xml;
charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css"
media="screen" />
<script type="text/javascript"
src="includes/SpryAssets/SpryEffects.js"></script>
<script type="text/javascript"
src="includes/SpryAssets/SpryDOMUtils.js"></script>
<script type="text/javascript"
src="includes/SpryAssets/SpryImageLoader.js"></script>
<script type="text/javascript"
src="includes/SpryAssets/SpryNotifier.js"></script>
<script type="text/javascript"
src="includes/SpryAssets/photogallery/SpryThumbViewer.js"></script>
<script type="text/javascript"
src="includes/SpryAssets/photogallery/SpryImageViewer.js"></script>
<script type="text/javascript"
src="includes/SpryAssets/photogallery/SprySlideShowControl.js"></script>
<script type="text/javascript"
src="includes/SpryAssets/photogallery/gallery_init.js"></script>
<script type="text/javascript"
src="includes/SpryAssets/xpath.js"></script>
<script type="text/javascript"
src="includes/SpryAssets/SpryData.js"></script>
<script type="text/javascript"
src="includes/SpryAssets/photogallery/gallery_xds.js"></script>
<script type="text/javascript">
var dsGallery = new Spry.Data.XMLDataSet("<? echo
$tmpfname; ?>", "/gallery/photos/photo");
</script>
</head>
function photogallery(){ //Photo gallery
?><div class='right'>
<div spry:detailregion="dsGallery">{photoID}
<div id="mainImageOutline"><img id="mainImage"
alt="main image" src="{@path}" /></div>
</div>
</div>
<div class='left'>
<div id='previews'>
<div id='controls'>
<div id='transport'>
<a href='#' class='previousBtn'
title='Previous'><img src='/res/images/buttons/rewind.png'
alt='[skip-back]' border='0' /></a>
<a href='#' class='playBtn' title='Play/Pause'
id='playLabel'><span class='playLabel'><img
src='/res/images/buttons/play.png' alt='[play]' border='0'
/></span><span class='pauseLabel'><img
src='/res/images/buttons/pause.png' alt='[pause]' border='0'
/></span></a>
<a href='#' class='nextBtn' title='Next'><img
src='/res/images/buttons/fastforward.png' alt='[skip]' border='0'
/></a>
</div>
</div>
<div id='thumbnails' spry:region='dsGallery'>
<div class='thumbnail' spry:repeat='dsGallery'><a
href='{@path}'
onclick=\"dsGallery.setCurrentRow('{ds_RowID}')\"><img alt=''
src='{@path}' width="80" height="80" /></a></div>
</div>
</div>
</div>
<div style='clear: both;'> </div>
<?
And the XML file that is created:
<?xml version="1.0" encoding="utf-8"?>
<gallery base = "">
<photos id = "images">
<photo path="
http://www.urbanup.net/content/20070629/photos/1_13_251.jpg">
<photoID>729</photoID>
<title>Downtown</title>
<description><![CDATA[]]></description>
</photo>
<photo path="
http://www.urbanup.net/content/20070629/photos/1_19_3.jpg">
<photoID>834</photoID>
<title></title>
<description><![CDATA[A shared common area divides
the new homes along South Mill.]]></description>
</photo></photos></gallery>

Similar Messages

  • Contact person Rel.ship Data not getting updated in B2B Web User Mngt

    Hi CRM Gurus,
    Need some help on Web User Management functionality.
    Sub: Contact person Relationship data not getting updated when we change the company (to wich contact person belong to) in ISA CRM 5.0 Web User Management.
    we are currently on CRM ISA 5.0 and using Web User Managment for our B2B scenario. New creation of users is working fine. But when we want to change the company (Sold to pary) for the existing contact person, the relationship data in CRM is not getting updated and the below are the details.
    Contact person No: XXXX (has a Relationship: "Is contac person for YYYY company in CRM)
    Company/Sold to Party: YYYY (has a relationship "Has contact person XXXX in CRM).
    When I chage the contact person's (XXXX) company  from  YYYY to ZZZZ,
    - Relationships of the new assignment for ZZZZ in CRM not getting updated.
    - Old Records in YYYY is not getting deleted (i.e. relationships.
    - There is No relationship data appear in XXXX.
    Appreciate any inputs on the same.
    Thanks,
    Rahul >>>

    Hi Rahul,
    I'd suggest you running a session trace / ABAP debugging to see if some information is not getting passed from the Java stack onto the ABAP stack. An alternate move would be to create a new OSS customer message.
    Cheers,
    Ashok.

  • %FILEINFO% token not working correctly in photo gallery

    I created a photo gallery through the automated script and the output of it placed the description where I wanted it, but it doesnt update it when a new image in selected. The description from the first image remains in the description box the entire time. I cannot find out what is wrong, any ideas?

    What Script would that be?
    Which version of Photoshop are you talking about anyway?
    If you want help with customizing an existing Script you could post in the Scripting Forum.
    Photoshop Scripting

  • Active Directory client not dynamically updating DNS

    Hi,
    There has been some other issues mentioned on other threads regarding the Active Directory Plugin within Lion, it does appear to be flaky.
    I just wanted to make sure that the issue I'm having is not down to a mis-config by myself.
    We have several Macs running 10.7.1 and are bound into Active directory (Windows 2008 r2) however, it appears that the DNS records for these machines are not being dynamically created within AD. (All Zones are AD intergrated) All 10.6.x clients seem to work fine and records are created and updated dynamically as IPs change etc.
    Is anybody else having this issue? If not, any ideas why this is happening?
    Thanks in advance.

    Hi!
    I'm having exactly the same problem and nobody seems to have an answer.
    Regarding the reply you got, this has nothing to do with Lion Server. We're talking about Lion clients bound to an AD (Windows Server 2008 R2, in my case) not dynamically registering their DNS entries.
    I also noticed that the DHCP entries for those clients are missing the "Name" property, which is already symptomatic of something going wrong.
    Anyone?

  • Please help! Ipod not dynamically updating smart playlists!

    I have quite a complex system of smart playlists on my 4G color ipod but I can't get any of them to update dynamically away from the computer. I have a total of 6 and here are their preferences:
    SPL 1:
    match ALL
    1) My rating is in the range 4-5 stars
    2) Last played is not in the last 1 day
    3) Last skipped is not in the last 1 day
    4) Playcount is less than 5
    limit to 100 by most recently added
    SPL 2:
    match ALL
    1) My rating is in the range 0-3 stars
    2) Last played is not in the last 1 day
    3) Last skipped is not in the last 1 day
    4) Playcount is less than 4
    limit to 55 songs by most recently added
    SPL 3:
    match ALL
    1) My rating is in the range 3-5 stars
    2) Last played is not in the last 1 day
    3) Last skipped is not in the last 1 day
    4) Playcount is greater than 5
    limit to 30 songs by random
    SPL 4:
    match ALL
    1) Last played is not in the last 1 day
    2, 3, 4) Playlist is not SPL 1, SPL 2, or SPL 3
    limit to 15 songs by random
    Unwanted:
    match ANY
    1) Time is greater than 15 minutes
    2) Genre is Comedy
    The active playlist that I use to listen to:
    match ANY
    1-4) Playlist is SPL 1, SPL 2, SPL 3, or SPL 4
    5) Playlist is not Unwanted
    So here's the problem. When I sync with my computer, the playlists work great, everything updates as expected and I get a pretty diverse playlist every time I sync which I want. The problem is that while I'm listening to my music on the ipod away from the computer, my playlists don't dynamically update. After I listen to a song, the song's supposed to remove itself from the playlist which doesn't happen, as well as when I skip songs. Even when I rate songs that aren't rated they don't appear in any playlist. This is really frustrating and I can't find a solution anywhere and yes, I do have Live Updating selected. I also have "Match only checked items" selected on all playlists as well. If anyone has any ideas for how to fix this, I would love to know. Thanks!

    I was searching this forum and found someone who says that 4th gen ipods have problems live updating smart playlists if the criteria "last skipped" is on the playlist. I took this off of all of my playlists but they still don't work. Then I tried making a playlist that is just "rating is equal to 5 stars" and it WORKS!!! But that doesn't help me out much for my other playlists so maybe it's some other criteria that's causing the problem. Any ideas?

  • Data not loading /updating into cube 0lc_c03

    Dear Friends,
    I extracted data for three data sources i.e. 2lis_03_bx,
    2lis_03_bf,2lis_03_um i got data in BW PSA with out any
    error but that data is not updating in cube 0lc_c03
    i have done settings at r/3 at t.code mcnb,SBIW and I had make NDI flag active at t.code FIBF. do i need to right.
    at SBIW I have done like this settings: Inventory controlling
    1,Determine Industry sector I have selected Standard (core).
    2,Transaction key maintenance for SAP BW I have selected application MM and operat all i.e. 0,1,2,3,4,5,6........all of MM and saved
    3,Then stock initialization.
    and deleted setup table data for inventory controlling
    and after assigning keys I again loaded setuptable.
    I am geting data in r/3 rsa3 and in BW PSA with out errors for all three data sources but not geting in cube
    but at data source 2lis_03_um update rules there are few key figures with out green light i.e. 'x' but update rules are active please guide me do ineed to write
    any update rule level routines please guide me.
    please guide me how to get data into cube.
    Thanks in Advances
    rafeeq ahmed
    <b></b>

    Hi rafeeq,
    Are you using business content update rules or custom.
    check each rule seperately. do a simulation on the data load, if you feel the update rules are correct.
    Check if your validity table is maintained.
    hope it helps.
    kris

  • Exif Data Not Showing Up in Web Gallery?!

    Some of my exif data is missing from my web gallery! f-stop, shutter speed missing.. check it out:
    http://gallery.mac.com/johnnymcclung

    Actually it is showing "max aperture" but not the actual aperture I shot at - I now can see shutter speed... but the aperture I used for the shots aren't showing up - either way, I had fun shooting the eclipse last night!

  • Can I update DW Photo gallery without re-doing it?

    Hi,
    I'm on DW CS3 on an intel iMac. I did a regular photo
    gallery through DW's 'Command menu/Create Web Photo Album'
    function.
    My gallery is done etc, but I would like to update it and
    switch out some photos and add/delete some etc. It looks like the
    only way to do that is to re-do the gallery from scratch.
    Is this right or is there a way to update the gallery without
    re-doing it from scratch?
    I appreciate any pointers on this.
    Many Thanks, Frank B.

    It is of no importance now; I re-did it from scratch.
    Probably better to do so that way anyways. Thanks, ;)

  • Playlists not dynamically updating.

    I have a playlist on my iphone's music library set up to dynamically update to include the 30 most recently played songs.
    However the playlist does not update until I sync the iPhone with a computer.
    What's the deal?

    No one?
    Seriously?

  • Batch Classification data not getting updated during the GR of the PO

    Dear Gurus,
    While doing the GR of the Purchase order the classification data for the batch should get updated .However we can see those data in MSC2N (Change batch) but not in MSC3N (Display Batch) .While consultuing with SAP we found that the data in MSC3N is directly picked in the AUSP table but the data in MSC2 N  reads the information directly from the
    reference table field (MCH1-LWEDT & MCH1-LIFNR .My Qusetion is why this the AUSP entries are not getting updated during the GR itself.
    Sumit Mohan

    Hi Sumit,
    I am not sure about your question, but if you want to populate the classification data during goods receipt then you need to maintain characteristics values in material master for classification tab under class type batch i.e. 022. After then it will apper during goods receipt for characteristics value for batch.
    Regards,
    Bhagat

  • RFx - Upload thru excel - Condition data not getting updated

    Hi all,
    In SRM7.0
    I've implemented BBP_PD_DOWNLOAD badi to change the download upload format of excel.
    All fields from my excel are getting updated, but item conditional data is not getting updated. Any notes, or something ???
    Throw some light please !
    Regards,
    Ashwin.

    OSS supported us by creatin a Note for this.
    Hope this is covered in the support packs of new releases.

  • BDOC status completely processed: data not getting updated

    Hi Experts
       I'm  downloading BP data from R/3 system to CRM system , data is successfully getting into the CRM system when checking the SMW01 it was showing the status fully processed (status green) ,but data is not getting updated in tables.
    Please let us know what could be the possible reason
    Thanks & regards
    Rajasekhar

    1) First check the data in the BDOC. Check if the partners are really cmoing.
    2) Check if there are any dumps created in ST22. If yes Pls analyze them.
    3) Check the flow defintion for bdoc type BUPA_MAIN. You can check this in SMW01. Check if the actual call to upload the data and  create BP is done.

  • SM 13: Data not getting updated.

    Hi Basis Gurus,
    We have installed SAP IDES for ECC6.0 using Oracle Database in our Windows 2003 Server. Everything was fine till we dicovered that the materials we create are not getting updated in the Database. When I checked SM12, the lock was created and in SM13 the data is still at initial stage as follows
    810     RAJARNO     20080730     110902     MM01 @06\QUpd.record with enqueues@     Initial
    Can somebody explain why this is happening and how can i resolve the same?
    Thanks in Advance for your help.
    Regards,
    Rajesh Manoharan

    Hi Siddesh / Samrat,
    The logs are pretty low. Infact the system is 1 week old i.e. we installed it only a week back.
    I checked the SM 14 status.. it says Update is Active.
    I checked even the hard disk space and it shows 30 Gig free space..
    Please let me know anything else I need to see.
    Thanks,
    Rajesh Manoharan

  • Header data not getting updated in line item level

    Hi,
    We are trying to update Pricing date at header level but it is not gettting copied to item level.
    getting an message "The header business data does not apply to item xxxx"
    i have checked the item category and "business item" field is checked. and for the same sales order previously we were able to change the pricing date at header level and it got applied to item level but this time is is not getting applied.
    kindly suggest.

    If there are multiple line items which are having different data; in your case, Pricing Date, then in that case, when you try to change at header level, system will pop up this message.
    You can also have a look at the following note:-
    Note 336660 - Message V1403 in sales order with article order no
    G. Lakshmipathi

  • ICal dates not properly updated to RAZR datebook

    I recently got a RAZR and was eager to start being able to sync my calendar between my phone and computer.
    It seemed to be working like a charm at first - all of my June dates were updated on the phone, and entries made on the phone have been showing up in iCal.
    The problem is that none of the entries past the current month are being updated to the phone. I've got dates in iCal into next year, and none are showing up on the RAZR.
    I can't find any 'preference' to help with this.
    Does anyone have an idea?
    thanks

    The following works for me.....try this...
    1. Open iSync - you should see your Razr in the devices
    2. Click on the Razr device - this should open a preference sheet for the Razr
    3. Check the "Calendar" check box
    4. Select the Calendar's you want synced
    5. Click on the "More Options" button
    6. Adjust the "Don't synchronize events prior to:" setting to your liking
    7. Adjust the "Don't synchronize events after:" setting to your liking - Note- this is what you are asking about - 1 month is the default I believe
    8. Click on the "OK" button
    9. Sync

Maybe you are looking for

  • Memory upgrade on Satellite Pro A40

    Can anyone please advise where is the best place I can get a memory upgrade for my Satellite Pro A40 laptop. I think my machine is a PC2700 DDR. I am looking for either 512mb or 1gb. Thanks in advance. Christine

  • Function Modules for Actual, Plan, Budget Cost over internal orders

    Dear All, I need a function module for getting the Actual, Plan, Budget Costs for the internal orders assigned. I want to fetch the cost related to internal order which is assigned to project C projects in PLM.

  • Moving pictures down while typing

    Hello there, I usually  add lots of pictures to my works on pages but when I need to make some changes to my text on the documents as I type the new information all the pictures staying in place and the text just keep going down leaving the pictures

  • I launched LR5.6 this morning.

    It wanted to know where to create a catalog. I've found several catalogs, but the latest is in July. I had closed and backed up my Lightroom last night. Where is my latest catalog? I did a Windows search for *.lrcat and I see four catalogs, the lates

  • June 2014 Still no HSL color model or a decent Color Wheel what are you doing Adobe ?

    Its 2014 , I been using PS since 1996 and yet Adobe is still lacking anykind of HSL color model and a decent Color wheel (not that unfriendly shift+alt+right mouse thing ;a decent one in color panel) . What do you have to say for your self  ? lacking