We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26879
    • 53 Posts
    I may resort to that! Thanks... but...

    I HAVE IT WORKING... SOMEWHAT... just the paths are pointing to the wrong place, so I placed the images where it was looking for them (wrong spot), and it showed up. NOW, I just need to know why it’s looking here...
    "http://www.waskow.us/tl4j2010/images/nick-001.jpg" instead of "http://www.waskow.us/tl4j/assets/images/lawyers/nick/images/nick-001.jpg".

    I input the HTML code that was output by SlidshowPro, and adjusted the links there....

    ---
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>nick-photos</title>
    <script language="javascript">AC_FL_RunContent = 0;</script>
    <script src="/tl4j2010/assets/images/lawyers/nick/AC_RunActiveContent.js" language="javascript"></script>
    </head>
    <body bgcolor="#ffffff">
    <!--url’s used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <script language="javascript">
    if (AC_FL_RunContent == 0) {
    alert("This page requires AC_RunActiveContent.js.");
    } else {
    AC_FL_RunContent(
    ’codebase’, ’http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0’,
    ’width’, ’549’,
    ’height’, ’421’,
    ’src’, ’nick-photos’,
    ’quality’, ’high’,
    ’pluginspage’, ’http://www.macromedia.com/go/getflashplayer’,
    ’align’, ’middle’,
    ’play’, ’true’,
    ’loop’, ’true’,
    ’scale’, ’showall’,
    ’wmode’, ’window’,
    ’devicefont’, ’false’,
    ’id’, ’nick-photos’,
    ’bgcolor’, ’#ffffff’,
    ’name’, ’nick-photos’,
    ’menu’, ’true’,
    ’allowFullScreen’, ’false’,
    ’allowScriptAccess’,’sameDomain’,
    ’movie’, ’nick-photos’,
    ’salign’, ’’
    ); //end AC code
    }
    </script>
    <noscript>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="549" height="421" id="nick-photos" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="/tl4j2010/assets/images/lawyers/nick/nick-photos.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="/tl4j2010/assets/images/lawyers/nick/nick-photos.swf" quality="high" bgcolor="#ffffff" width="549" height="421" name="nick-photos" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>
    </noscript>
    </body>
    </html>
    ----

    But it seems to still be looking for them in the TL4J folder vs. the "assets/images.... " path?

    Am I missing something in the code above???

    MAN, very sorry for all the questions, but this has been a two day brain drainer when I get to it.

    Thanks.
      • 26879
      • 53 Posts
      Not sure how, or why it’s looking in the wrong spot...
      This shows nothing :: http://www.waskow.us/tl4j2010/assets/images/lawyers/nick/nick-photos.swf
      Here it is in the "root" :: http://www.waskow.us/tl4j2010/nick-photos.swf ( I only put 1 image in the http://www.waskow.us/tl4j2010/images/ folder)

      So is there some place else that I’m not specifying the path to go to "assets/images/lawyers/nick" folder? Where else could I look?

      Thanks!!!
        • 22303 MODX Staff
        • 10,725 Posts
        I think lgPath needs to be ’/tl4j2010/assets/images/lawyers/nick/images/’ (absolute URI from web server document root) and then your individual image elements in the xml would be relative to that, i.e. your xml would look like:
        <?xml version='1.0' encoding='utf-8'?>
        <gallery>
        <album id="nick-photos" title="Nick Rowley" description="(null)" lgPath="/tl4j2010/assets/images/lawyers/nick/images/" tnPath="" tn="">
           <img src="nick-001.jpg" caption="Nick Rowley" link="" target="_blank" />
           <img src="nick-002.jpg" caption="Nick Rowley" link="" target="_blank" />
           <img src="nick-003.jpg" caption="Nick Rowley" link="" target="_blank" />
           <img src="nick-004.jpg" caption="Nick Rowley" link="" target="_blank" />
           <img src="nick-005.jpg" caption="Nick Rowley" link="" target="_blank" />
           <img src="nick-006.jpg" caption="Nick Rowley" link="" target="_blank" />
           <img src="nick-007.jpg" caption="Nick Rowley" link="" target="_blank" />
        </album>
        </gallery>


        If that doesn’t work, try:
        <?xml version='1.0' encoding='utf-8'?>
        <gallery>
        <album id="nick-photos" title="Nick Rowley" description="(null)" lgPath="/" tnPath="" tn="">
           <img src="tl4j2010/assets/images/lawyers/nick/images/nick-001.jpg" caption="Nick Rowley" link="" target="_blank" />
           <img src="tl4j2010/assets/images/lawyers/nick/images/nick-002.jpg" caption="Nick Rowley" link="" target="_blank" />
           <img src="tl4j2010/assets/images/lawyers/nick/images/nick-003.jpg" caption="Nick Rowley" link="" target="_blank" />
           <img src="tl4j2010/assets/images/lawyers/nick/images/nick-004.jpg" caption="Nick Rowley" link="" target="_blank" />
           <img src="tl4j2010/assets/images/lawyers/nick/images/nick-005.jpg" caption="Nick Rowley" link="" target="_blank" />
           <img src="tl4j2010/assets/images/lawyers/nick/images/nick-006.jpg" caption="Nick Rowley" link="" target="_blank" />
           <img src="tl4j2010/assets/images/lawyers/nick/images/nick-007.jpg" caption="Nick Rowley" link="" target="_blank" />
        </album>
        </gallery>

        In this one, the lgPath is the web server document root, and the img src is the relative path from the document root.

        It really depends on how the SWF handles the paths...
          • 26879
          • 53 Posts
          Shoot, neither worked! It is obviously still loading that image that I put in the root path...
          http://www.waskow.us/tl4j2010/nickrowley.html

          We’re adjusting this XML file, and it isn’t doing anything. So I wonder if it’s reading the WRONG xml file???
            • 26879
            • 53 Posts
            Alright... this is working now. However, it isn’t making much sense.
            http://www.waskow.us/tl4j2010/nickrowley.html

            I had to put all the image files into the "/" root, but in the file I have it pointing elsewhere?
            Since this is actually working, any work arounds considering I’ll be adding plenty other images for the lawyers?
            It’s almost like the XML file I’m editing isn’t doing jack squat?? So I deleted that file "images.xml" that it "reads" from apparently and it all still worked.
            Only thing running that damn thing is in the CHUNK I created. Just not sure why it’s pointing to the root to find the images??
            <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
            <head>
            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
            <title>nick-photos</title>
            <script language="javascript">AC_FL_RunContent = 0;</script>
            <script src="/tl4j2010/assets/images/lawyers/nick/AC_RunActiveContent.js" language="javascript"></script>
            </head>
            <body bgcolor="#ffffff">
            <!--url's used in the movie-->
            <!--text used in the movie-->
            <!-- saved from url=(0013)about:internet -->
            <script language="javascript">
            	if (AC_FL_RunContent == 0) {
            		alert("This page requires AC_RunActiveContent.js.");
            	} else {
            		AC_FL_RunContent(
            			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
            			'width', '549',
            			'height', '421',
            			'src', 'nick-photos',
            			'quality', 'high',
            			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
            			'align', 'middle',
            			'play', 'true',
            			'loop', 'true',
            			'scale', 'showall',
            			'wmode', 'window',
            			'devicefont', 'false',
            			'id', 'nick-photos',
            			'bgcolor', '#ffffff',
            			'name', 'nick-photos',
            			'menu', 'true',
            			'allowFullScreen', 'false',
            			'allowScriptAccess','sameDomain',
            			'movie', 'nick-photos',
            			'salign', ''
            			); //end AC code
            	}
            </script>
            <noscript>
            	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="549" height="421" id="nick-photos" align="middle">
            	<param name="allowScriptAccess" value="sameDomain" />
            	<param name="allowFullScreen" value="false" />
            	<param name="movie" value="/tl4j2010/assets/images/lawyers/nick/nick-photos.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />	<embed src="/tl4j2010/assets/images/lawyers/nick/nick-photos.swf" quality="high" bgcolor="#ffffff" width="549" height="421" name="nick-photos" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
            	</object>
            </noscript>
            </body>
            </html>
            
              • 26879
              • 53 Posts
              Even more confusion... http://www.waskow.us/tl4j2010/rebekahkrueger.html
              I added another lawyers info here.. and now her page just keeps loading Nicks gallery. Which is weird because I loaded the photos to a folder, and it worked for Nick. I then tried doing the same for Bekah, no go. I then deleted all photos in there, and Nick’s is continuing to work?? Something is seriously GOOFY! It’s almost like its storing info in hidden places?
              Anybody ever see something like this???
                • 26879
                • 53 Posts
                Simplified the CHUNK that houses the info for Bekah....
                <div class="mediacontainer">
                
                <object width="549" height="421">
                <param name="movie" value="assets/images/lawyers/bkrueger/bekah-photos.swf">
                <embed src="assets/images/lawyers/bkrueger/bekah-photos.swf" width="549" height="421">
                </embed>
                </object>
                
                </div>

                Still loading images of NICK? I think I need sleep, maybe I’m seeing things!?!?!?
                http://www.waskow.us/tl4j2010/rebekahkrueger.html
                  • 22303 MODX Staff
                  • 10,725 Posts
                  Why do you have different swf’s? Isn’t this one swf that accepts the xml input file?
                    • 26879
                    • 53 Posts
                    When I build that file, it just outputs another SWF.
                    The XML file seems to be what is confusing me, as I have edited it many times without any changes.
                    I can’t tell which specific XML file it’s looking at as I have a couple in different locations. I went through and deleted them all and that SWF still played?