<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="0.91">
    <channel>
        <title>FW 4 Expression engine and ebay style photos</title>
        <description>The 10 most recently added comments in the topic &quot;FW 4 Expression engine and ebay style photos&quot;</description>
        <link>http://www.freewaytalk.net/</link>
        <lastBuildDate>Sat, 04 Feb 2012 10:43:34 -500</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>Re: FW 4 Expression engine and ebay style photos</title>
            <link>http://www.freewaytalk.net/thread/view/65883#m_66456</link>
            <description>&lt;p&gt;code again&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;    &amp;lt;div id=&quot;PageDiv&quot;&amp;gt;
    &amp;lt;div id=&quot;photos&quot;&amp;gt;

    &amp;lt;div id=&quot;main&quot; class=&quot;main&quot;&amp;gt;
    &amp;lt;p&amp;gt;&amp;lt;img src=&quot;images/g8d20385.jpg&quot; alt=&quot;G8d20385&quot;/&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;

{exp:gallery_extended:entries gallery_name=&quot;watchlibrary&quot; type=&quot;weblog&quot; dynamic=&quot;on&quot; related_id=&quot;{entry_id}&quot; orderby=&quot;entry_date&quot; sort=&quot;asc&quot; }
 &amp;lt;div id=&quot;{gallery_entry_id}&quot; class=&quot;preview&quot;&amp;gt;
   &amp;lt;p&amp;gt;{exp:imgsizer:size &amp;lt;img src=&quot;{medium_url}&quot; width=&quot;400&quot; alt=&quot;{maker}-{modelnumber}&quot; id=&quot;{gallery_entry_id}&quot; class=&quot;centred&quot;&amp;gt;}&amp;lt;/p&amp;gt;
  &amp;lt;/div&amp;gt;
{/exp:gallery_extended:entries}


    &amp;lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&amp;gt;
    // &amp;lt;![CDATA[     $('photos').observe('click',function(evt){      var elm = evt.findElement('div.preview');      if(elm){       var main = $('main').down('p');       $('main').update(elm.down('p'));       elm.update(main);      }     });    // ]]&amp;gt;
    &amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Adam&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>ummedia</author>
            <pubDate>Wed, 03 Mar 2010 19:53:31 -500</pubDate>
        </item>
        <item>
            <title>Re: FW 4 Expression engine and ebay style photos</title>
            <link>http://www.freewaytalk.net/thread/view/65883#m_66454</link>
            <description>&lt;p&gt;Add a line with four or more tildes in a row before and after the code.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;some code
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Walter&lt;/p&gt;

&lt;p&gt;On Mar 3, 2010, at 2:19 PM, ummedia wrote:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;sorry, how do I add code tags my &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; didnt seem to work.&lt;/p&gt;
  
  &lt;p&gt;Adam&lt;/p&gt;
  
  &lt;hr /&gt;
  
  &lt;p&gt;dynamo mailing list
  email@hidden
  Update your subscriptions at:
  &lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>waltd</author>
            <pubDate>Wed, 03 Mar 2010 19:30:10 -500</pubDate>
        </item>
        <item>
            <title>Re: FW 4 Expression engine and ebay style photos</title>
            <link>http://www.freewaytalk.net/thread/view/65883#m_66453</link>
            <description>&lt;p&gt;sorry, how do I add code tags my &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; didnt seem to work.&lt;/p&gt;

&lt;p&gt;Adam&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>ummedia</author>
            <pubDate>Wed, 03 Mar 2010 19:19:53 -500</pubDate>
        </item>
        <item>
            <title>Re: FW 4 Expression engine and ebay style photos</title>
            <link>http://www.freewaytalk.net/thread/view/65883#m_66452</link>
            <description>&lt;p&gt;Sorry Walter, im trying to stay with you but im failing quite dismally. I dont really understand the divs or the code.&lt;/p&gt;

&lt;p&gt;Heres the code I have at present&lt;/p&gt;

&lt;p&gt;&amp;lt;code&amp;gt;
    &amp;lt;div id=&amp;#8221;PageDiv&amp;#8221;&amp;gt;
    &amp;lt;div id=&amp;#8221;photos&amp;#8221;&amp;gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;div id=&quot;main&quot; class=&quot;main&quot;&amp;gt;
&amp;lt;p&amp;gt;&amp;lt;img src=&quot;images/g8d20385.jpg&quot; alt=&quot;G8d20385&quot;/&amp;gt;&amp;lt;/p&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;

&lt;p&gt;{exp:gallery_extended:entries gallery_name=&amp;#8221;watchlibrary&amp;#8221; type=&amp;#8221;weblog&amp;#8221; dynamic=&amp;#8221;on&amp;#8221; related_id=&amp;#8221;{entry_id}&amp;#8221; orderby=&amp;#8221;entry_date&amp;#8221; sort=&amp;#8221;asc&amp;#8221; }
 &amp;lt;div id=&amp;#8221;{entry_id}&amp;#8221; class=&amp;#8221;preview&amp;#8221;&amp;gt;
   &amp;lt;p&amp;gt;{exp:imgsizer:size &amp;lt;img src=&amp;#8221;{medium_url}&amp;#8221; width=&amp;#8221;400&amp;#8221; alt=&amp;#8221;{maker}-{modelnumber}&amp;#8221; id=&amp;#8221;{entry_id}&amp;#8221; class=&amp;#8221;centred&amp;#8221;&amp;gt;}&amp;lt;/p&amp;gt;
  &amp;lt;/div&amp;gt;{count}
{/exp:gallery_extended:entries}&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&amp;gt;
// &amp;lt;![CDATA[     $('photos').observe('click',function(evt){      var elm = evt.findElement('div.preview');      if(elm){       var main = $('main').down('p');       $('main').update(elm.down('p'));       elm.update(main);      }     });    // ]]&amp;gt;
&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&amp;lt;/code&amp;gt;&lt;/p&gt;

&lt;p&gt;can you make head or tail of it?&lt;/p&gt;

&lt;p&gt;hopefully Adam&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>ummedia</author>
            <pubDate>Wed, 03 Mar 2010 19:14:53 -500</pubDate>
        </item>
        <item>
            <title>Re: FW 4 Expression engine and ebay style photos</title>
            <link>http://www.freewaytalk.net/thread/view/65883#m_66449</link>
            <description>&lt;p&gt;You could use a different technique altogether, more akin to the
normal Target Show/Hide Layer system in vanilla Freeway pages, but to
use the trick I showed you, you need to do things a certain way.
That&amp;#8217;s because this uses only four large images, but then squeezes
them into different-sized boxes to give the illusion of zooming and
swapping.&lt;/p&gt;

&lt;p&gt;If you wanted them to stay put, say like the image preview on eBay,
then you could modify my original code to be something like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$('photos').observe('click',function(evt){
    var elm = evt.findElement('div.preview');
    if(elm){
        $$('div.preview').invoke('setStyle','border:none');
        $('main').update(elm.down('p'));
        elm.setStyle('border:1px solid red');
    }
});
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Add a new preview image with the same picture as the default large
picture, and you should be all set. You can use the following
additional line of JavaScript to set the starting red border on that
first image:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$$('div.preview').first().setStyle('border: 1px solid red');
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Walter&lt;/p&gt;

&lt;p&gt;On Mar 3, 2010, at 1:34 PM, ummedia wrote:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;I can force the size of the thumbnails with the EE command but does
  this then effect the larger image? Can I not just have the
  thumbnails run along the bottom unsized? sorry for being a pain
  Walter I still havent worked out what is happening here. What I
  would like is three thumbnails along the bottom that when clicked on
  change the larger image above. Images can be different sizes.&lt;/p&gt;
  
  &lt;p&gt;Adam&lt;/p&gt;
  
  &lt;hr /&gt;
  
  &lt;p&gt;dynamo mailing list
  email@hidden
  Update your subscriptions at:
  &lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>waltd</author>
            <pubDate>Wed, 03 Mar 2010 18:56:28 -500</pubDate>
        </item>
        <item>
            <title>Re: FW 4 Expression engine and ebay style photos</title>
            <link>http://www.freewaytalk.net/thread/view/65883#m_66444</link>
            <description>&lt;p&gt;Yes, the preview image IDs are not significant in this case. They just
need to be page-unique.&lt;/p&gt;

&lt;p&gt;It looks like you just made a typo in the image path for the large
image. All the others are coming from images/ (plural) and the large
one is coming from image/ (singular).&lt;/p&gt;

&lt;p&gt;Walter&lt;/p&gt;

&lt;p&gt;On Mar 3, 2010, at 1:39 PM, ummedia wrote:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Does it matter what name the ids are as long as they are unique?
  What should the initial main image be? images/????&lt;/p&gt;
  
  &lt;p&gt;many thanks&lt;/p&gt;
  
  &lt;p&gt;Adam&lt;/p&gt;
  
  &lt;hr /&gt;
  
  &lt;p&gt;dynamo mailing list
  email@hidden
  Update your subscriptions at:
  &lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>waltd</author>
            <pubDate>Wed, 03 Mar 2010 18:46:52 -500</pubDate>
        </item>
        <item>
            <title>Re: FW 4 Expression engine and ebay style photos</title>
            <link>http://www.freewaytalk.net/thread/view/65883#m_66443</link>
            <description>&lt;p&gt;Does it matter what name the ids are as long as they are unique? What should the initial main image be? images/????&lt;/p&gt;

&lt;p&gt;many thanks&lt;/p&gt;

&lt;p&gt;Adam&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>ummedia</author>
            <pubDate>Wed, 03 Mar 2010 18:39:15 -500</pubDate>
        </item>
        <item>
            <title>Re: FW 4 Expression engine and ebay style photos</title>
            <link>http://www.freewaytalk.net/thread/view/65883#m_66442</link>
            <description>&lt;p&gt;I can force the size of the thumbnails with the EE command but does this then effect the larger image? Can I not just have the thumbnails run along the bottom unsized? sorry for being a pain Walter I still havent worked out what is happening here. What I would like is three thumbnails along the bottom that when clicked on change the larger image above. Images can be different sizes.&lt;/p&gt;

&lt;p&gt;Adam&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>ummedia</author>
            <pubDate>Wed, 03 Mar 2010 18:34:09 -500</pubDate>
        </item>
        <item>
            <title>Re: FW 4 Expression engine and ebay style photos</title>
            <link>http://www.freewaytalk.net/thread/view/65883#m_66439</link>
            <description>&lt;p&gt;Hmmm. Well first, you have three preview image containers with the
same ID, not sure how you managed that part. All IDs on a page must be
unique. Second, the image path in the main image is set as image/ 
filename, not images/filename (plural). So that&amp;#8217;s why the main image
isn&amp;#8217;t showing up.&lt;/p&gt;

&lt;p&gt;The only other thing I can see here is you need to fiddle with your
image proportions, and try to make your preview and main containers
the same rough proportions as the photos they&amp;#8217;re meant to contain.
They&amp;#8217;re getting some serious anamorphic scaling, which doesn&amp;#8217;t look
all that nice.&lt;/p&gt;

&lt;p&gt;Walter&lt;/p&gt;

&lt;p&gt;On Mar 3, 2010, at 12:49 PM, ummedia wrote:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Hi Walter I added it to a test page and then used expression engine
  to fill in the img src. It kind of works, but not as yours did. I
  know some bits have been changed. The page is here&lt;/p&gt;
  
  &lt;p&gt;&lt;a href=&quot;http://www.digitalwatchlibrary.com/DWL/entry/casio-h108/&quot;&gt;http://www.digitalwatchlibrary.com/DWL/entry/casio-h108/&lt;/a&gt;&lt;/p&gt;
  
  &lt;p&gt;If you have a chance could you have a look and tell me what I need
  to do with the main image and whether the one, two and three were
  important&lt;/p&gt;
  
  &lt;p&gt;many thanks&lt;/p&gt;
  
  &lt;p&gt;Adam&lt;/p&gt;
  
  &lt;hr /&gt;
  
  &lt;p&gt;dynamo mailing list
  email@hidden
  Update your subscriptions at:
  &lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>waltd</author>
            <pubDate>Wed, 03 Mar 2010 18:00:59 -500</pubDate>
        </item>
        <item>
            <title>Re: FW 4 Expression engine and ebay style photos</title>
            <link>http://www.freewaytalk.net/thread/view/65883#m_66437</link>
            <description>&lt;p&gt;Use the Protaculous Action to put the script into the page. That will
automatically put it in an unobtrusive &amp;#8220;listener&amp;#8221; function for you.
Watch the box names and add the classname to the smaller boxes where
needed (use Item / Extended for this part) and you should be good. You
will need to also change the dimensions of the images themselves using
the Extended dialog so that they are height:100% and width:100%. This
will get them to snap to the size of their container.&lt;/p&gt;

&lt;p&gt;Walter&lt;/p&gt;

&lt;p&gt;On Mar 3, 2010, at 12:32 PM, ummedia wrote:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Walter
  If use your code source, fill in the appropriate image src then
  insertmarkup item into the page would that work? I just need to get
  it to work then I can fiddle around with it.&lt;/p&gt;
  
  &lt;p&gt;regards&lt;/p&gt;
  
  &lt;p&gt;Adam&lt;/p&gt;
  
  &lt;hr /&gt;
  
  &lt;p&gt;dynamo mailing list
  email@hidden
  Update your subscriptions at:
  &lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>waltd</author>
            <pubDate>Wed, 03 Mar 2010 17:53:00 -500</pubDate>
        </item>
        <item>
            <title>FW 4 Expression engine and ebay style photos</title>
            <link>http://www.freewaytalk.net/thread/view/65883</link>
            <description>&lt;p&gt;This is a bit of can I do it?&lt;/p&gt;

&lt;p&gt;First of all can I create an ebay style photo listing where there is one large image and smaller thumbnails that you can roll over to show a larger version.
If I can, can I then use EE tags to populate the image files in the html?&lt;/p&gt;

&lt;p&gt;Thanks for any help&lt;/p&gt;

&lt;p&gt;regards&lt;/p&gt;

&lt;p&gt;Adam&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>ummedia</author>
            <pubDate>Mon, 22 Feb 2010 19:33:33 -500</pubDate>
        </item>
    </channel>
</rss>

