Gallery Modification

I was wondering if you guys could help me out with this. I am
trying to implement an art gallery to show just an image and a next
and previous button and I have modified the gallery.js to exclude
the thumbnails. The data loads succesfully but the image and
current row are not working. Any help is deeply appreciated.
Script tags in the html file:
<script type="text/javascript"
src="includes/xpath.js"></script>
<script type="text/javascript"
src="includes/SpryData.js"></script>
<script type="text/javascript"
src="includes/SpryEffects.js"></script>
<script type="text/javascript">
var dsArt= new Spry.Data.XMLDataSet("gallery.xml",
"gallery/art");
var row = dsArt.setCurrentRowNumber(0); // to dynamically
call an artwork outside gallery.html
</script>
<script type="text/javascript"
src="includes/gallery.js"></script>
Gallery.js:
var gBehaviorsArray = [];
var gSlideShowTimer = null;
var gImageLoader = null;
function GetOpacity(ele)
var o = Spry.Effect.getStyleProp(ele, "opacity");
if (o == undefined || o == null)
o = 1.0;
return o;
dsArt.addDataChangedObserver("mainImage", { onDataChanged:
function(dataSet, odcType)
if (odcType != Spry.Data.DataSet.ODC_DataChanged)
return;
StopSlideShow();
setTimeout(function() { ShowCurrentImage(); }, 100);
function GetDimensions(element)
// Spry.Effect.getDimensions() returns offsetWidth and
offsetHeight
// which includes the dimensions of the element and its
padding.
// We need the dimensions of the content area without the
padding,
// so we look up width and height in style first. If we get
dimensions
// back in pixels, we use it. If not, we fall back to using
offsetWidth
// and offsetHeight.
dimensions = Spry.Effect.getDimensions(element);
if (element.style.width)
dimensions.width = parseInt(element.style.width);
if (element.style.height)
dimensions.height = parseInt(element.style.height);
return dimensions;
function GetOffsetPosition(element)
// Spry.Effect.getOffsetPosition() returns offsetLeft and
offsetTop
// which includes the position of the element content and
its padding.
// We need the position of the content area without the
padding,
// so we look up width and height in style first. If we get
position
// back in pixels, we use it. If not, we fall back to using
offsetLeft
// and offsetTop.
pos = Spry.Effect.getOffsetPosition(element);
if (element.style.left)
pos.x = parseInt(element.style.left);
if (element.style.top)
pos.y = parseInt(element.style.top);
return pos;
// Trigger the transition animation from the current image
// being displayed to the image at imgPath.
function SetMainImage(imgPath, width, height)
var img = document.getElementById("mainImage");
if (!img)
return;
CancelBehavior("mainImage");
Spry.Utils.SelectionManager.clearSelection("thumbnailSelection");
if (gImageLoader)
gImageLoader.onload = function() {};
gImageLoader = null;
gBehaviorsArray["mainImage"] = new Spry.Effect.Opacity(img,
GetOpacity(img), 0, { duration: 400,
onComplete: function()
gBehaviorsArray["mainImage"] = new
Spry.Effect.Size(img.parentNode, GetDimensions(img.parentNode), {
width: width, height: height}, {duration: 400, steps: 10,
onComplete: function()
// Use an image loader to make sure we only fade in the new
image after
// it is completely loaded.
gImageLoader = new Image();
gImageLoader.onload = function()
img.src = gImageLoader.src;
gImageLoader = null;
gBehaviorsArray["mainImage"] = new Spry.Effect.Opacity(img,
0, 1, { duration: 400, steps: 10, finish: function() {
gBehaviorsArray["mainImage"] = null; }});
gBehaviorsArray["mainImage"].start();
gImageLoader.src = imgPath;
gBehaviorsArray["mainImage"].start();
gBehaviorsArray["mainImage"].start();
// Cancel the animation behavior of the object with the given
id.
function CancelBehavior(id)
if (gBehaviorsArray[id])
gBehaviorsArray[id].cancel();
gBehaviorsArray[id] = null;
function SizeAndPosition(id, toX, toY, toWidth, toHeight,
callback)
CancelBehavior(id);
var effectCluster = new Spry.Effect.Cluster;
var ele = Spry.Effect.getElement(id);
var moveEffect = new Spry.Effect.Move(ele,
GetOffsetPosition(ele), { x: toX, y: toY}, { duration: 400 });
var sizeEffect = new Spry.Effect.Size(ele,
GetDimensions(ele), { width: toWidth, height: toHeight}, {
duration: 400 });
effectCluster.addParallelEffect(moveEffect);
effectCluster.addParallelEffect(sizeEffect);
effectCluster.finish = callback;
gBehaviorsArray[id] = effectCluster;
gBehaviorsArray[id].start();
// Show the image of the current selected row inside the
dsArt data set.
function ShowCurrentImage()
var curRow = dsArt.getCurrentRow();
SetMainImage("images/" + curRow["artist"] + "/" +
curRow["href"], curRow["width"], curRow["height"]);
// Utility function to advance (forwards or backwards) the
current selected row
// in dsArt. This has the side effect of "selecting" the
thumbnail and image
// of the new current row.
function AdvanceToNextImage(moveBackwards)
var rows = dsArt.getData();
var curRow = dsArt.getCurrentRow();
if (rows.length < 1)
return;
for (var i = 0; i < rows.length; i++)
if (rows
== curRow)
if (moveBackwards)
--i;
else
++i;
break;
if (!moveBackwards && i >= rows.length)
i = 0;
else if (moveBackwards && i < 0)
i = rows.length - 1;
curRow = rows;
dsArt.setCurrentRow(curRow["ds_RowID"]);
ShowCurrentImage();
// Start the slide show that runs forwards through all
// the rows in dsArt.
function StartSlideShow()
if (gSlideShowTimer)
clearInterval(gSlideShowTimer);
gSlideShowTimer = setInterval(function(){
AdvanceToNextImage(false); }, 6000);
var playLabel = document.getElementById("playLabel");
if (playLabel)
playLabel.firstChild.data = "Pause";
// Kill any slide show that is currently running.
function StopSlideShow()
if (gSlideShowTimer)
clearInterval(gSlideShowTimer);
gSlideShowTimer = null;
var playLabel = document.getElementById("playLabel");
if (playLabel)
playLabel.firstChild.data = "Play";
}

quote:
Originally posted by:
Keith Dodd
<snip>
Did you check this recently? I *thought* had fixed that
broken title tag this morning.
What seems weird now, that it seems sporatic. Sometimes on
first call to page, it comes up in IE. But then if refresh, it
hangs and doesn't show the picture.
<snip>
Keith
I re-used the
http://labs.adobe.com/technologies/spry/demos/gallery/
without change the code.
Only adaptation were
+ folder names, gallery names, and the individual picture
name
+ integration into my web page
+ display of the photographers name
Everything display fine in Opera and Firefox.
IE 6 and IE 7 are able to display the original demo, but not
my adapted site.
My investigations are not finished yet, but 1st indications
exist:
IE loads the data but refuses to display the gallery
selection.
First problem are blanks and other "special" characters in
the displayed gallery name.
I identified so far " ", "_", "(", ")" as trouble-makers.
example: lack of IE display at
http://www.percolators.de/pics/bild_med.htm
(status as of Nov 7 13:40 GMT)
--> a workaround is to put dashes between the words
example: partly working at
http://www.percolators.de/pics/bild_big.htm
(status as of Nov 7 13:40 GMT)
Second problem are special national characters (e.g.
"ä", "ü", "ö") in the "photographer" part of the
"photos.xml"
--> this hinders to display the respective gallery and the
subsequent one. The 3rd gallery after the troubled one enjoys a
resynch and is displayed again.
Maybe somebody can benefit from these observations - and
maybe somebody can explain additional rules / restrictions to obey
when catering for IE.
Juergen

Similar Messages

  • Bridge 4 html gallery modification

    I have been using a custom set of html templates for web photo galleries with CS3. The identical feature can be invoked from Bridge/Photoshop CS4 with the provided "extra" plugin.
    However, is there any way to tailor the "output / web gallery", html gallery template option of Bridge CS4 manually. I suspect that this should be a "style" option that I can create. For example, I wish to add buttons and other options to web gallery. I cannot find help information regarding this on Adobe's site.

    I have succeeded in doing some more extensive modification to the web gallery styles:
    By creating a new template style. In my case, I duplicated the html gallery style and giving it another name ("09myHTMLgallery"), then modifying the default settings within the file. The templates are located here: Library/Application Support/Adobe/Bridge CS4 Extensions/Adobe Output Module/mediagallery/resources/templates
    By modifying/hacking the master.css file, which is located here: Library/Application Support/Adobe/Bridge CS4 Extensions/Adobe Output Module/mediagallery/resources/htmlgallery
    Note that the above is based on using Photoshop/Bridge CS4 on a Mac.
    Step 1 is fairly straightforward. What i was able to do with Step 2 is change some of the default styles like ths size of the image numbers, which was really bugging me, and i was also able to add in an image/logo header at the top by inserting it as a background image into the sitetitle div.
    Definitely NOT an elegant work-around. And it doesn't address the image caption issue. But better than nothing.
    Hope this helps someone out there...

  • Gallery modifications (hints wanted)

    Hi,
    I'm a newcomer in the area of web development but I've spent
    a few years in VB development so I thought I'd give the Gallery a
    try.
    I've setup up my own gallery based on the demo example and it
    works just fine. The web is not public yet, but it looks more or
    less just like the samle with china/egypt/paris.
    I'd like to make a few changes to it and I hope someone could
    give me a few hints.
    How do I:
    1. generate the
    xml automatically? I have thousands of photos that I'd like
    to add to the gallery and so far I've created the xml files
    manually in notepad. This question goes both for the galleries.xml
    and most important the photos.xml.
    2. Make the
    thumbnails grow even more when I hover them?
    3. Modify the
    size and appearance of the PREV/PLAY/NEXT buttons?
    4. Keep the html/js/css code separated from my photos? I
    already have all my
    photos stored on another drive. Is it possible to load the
    pictures from where they are today= I've tried, but failed a few
    times - it seems like it can't reach the files on E:\Pictures\...
    when the html codes lies on D:\Web\Inetpub\Photos\.
    Sorry if the level of the questions is a bit low but I hope
    to get up to speed once I've spent some time in code land!

    Hi Mik,
    To generate the XML automatically, use server side scripting.
    What I do in ColdFusion is use CFDirectory to read all the images
    in the photos directory. This makes a query that I can them use to
    dynamically generate the XML.
    I can use this query to either use the CF page as the source
    for the data set or the CF can generate the static XML page. I
    prefer the former as it lets me add new photos to the directory
    without having to regenerate the XML. But, if you want more meta
    data in the XML, generating a static file might be better.
    <cfset
    path="#GetDirectoryFromPath(GetCurrentTemplatePath())##url.id#\images">
    <cfdirectory directory="#path#" action="list"
    name="photos" recurse="yes">
    <!--- Create an XML document object containing the data
    --->
    <cfxml variable="mydoc">
    <gallery>
    <photos path="<cfoutput>#url.id#</cfoutput>"
    title="<cfoutput>#url.id#</cfoutput>" >
    <cfoutput query="photos">
    <photo caption="#name#" src="#name#" />
    </cfoutput>
    </photos>
    </gallery>
    </cfxml>
    <!--- Displays the XML output. Use this option to use this
    cfm page as the source.--->
    <cfprocessingdirective suppresswhitespace="yes">
    <cfcontent type="text/xml" reset="yes">
    <cfoutput>#mydoc#</cfoutput>
    </cfcontent>
    </cfprocessingdirective>
    <!--- Write the XML file to this directory. Use this
    option to create a XML file. --->
    <!---<cffile action="write"
    file="#GetDirectoryFromPath(GetTemplatePath())#artists.xml"
    output=#toString(mydoc)#>--->
    Similar things can be done with PHP or ASP.
    For the thumbnail size, check the gallery code. The initial
    size is set in the IMG tag. The growth size is set in the
    onMouseOver behavior. 'thumbwidth' and 'thumbheight' are stored in
    the XML file and dropped in by Spry. They can be hardcoded or
    stored in the XML.
    The image style is done with CSS. Check the CSS for the
    #transport a:link rules. If you have Dreamweaver, click on a button
    and check the CSS Panel.
    One of the goals of Spry is that the markup is clear and
    styling is done with CSS.
    To have your photos stored on another drive, you are going to
    have to configure the webserver to see the other drive as part of
    the webroot. Depending on how the virtual web folder is set up, you
    will have to use an absolute path to the other drive. Just depends
    on the config.
    Hope this helps.
    Donald Booth
    Adobe Spry Team

  • N9 Photo Gallery sort order - based on what?

    Hello,
    I am thrilled with my N9, but have one problem: I want to use the phone to keep not only photos made with it. I therefore saved extra photos in the Pictures folder. They appear in the gallery, but in a weird order, not based on either the name, EXIF date, modification date or creation date. Is there a possibility to sort them on either of these? All I want is to control the sort order. After all, it is MY gallery...
    On my previous phone (N8) sorting was based on the last modification date. Also not optimal (EXIF date would have been perfect) but still controllable.
    Solved!
    Go to Solution.

    Well, maybe those pictures were never edited outside the phone, I don't know.
    Anyway, I believe I found the explanation: I exported the photos from Picasa, maxing them to a resolution of 1600xXXX. This way all files were created... today. Nevertheless the EXIF information is correctly saved by Picasa, so Date Image Taken was preserved. Although I modified in all files the creation date to be equal to EXIF Date Image Taken (ACDSee/batch/AdjustTimeStamp) , and then also renamed all pictures based on that, the "new" creation date still remains saved somewhere in the picture files and the Gallery sorts the pictures on it! The pictures were sorted in the reversed order I exported them from Picasa... Bad.
    Anyway, since this is not a request forum, it would be futile to say (again) that Nokia should use the EXIF Date Picture Taken for picture sorting. So I don't say it (!).

  • Master Page Gallery contents renders in old Sharepoint 2007 style after upgrade

    I have a site collection that is still rendering the Master Page Gallery items in the Sharepoint 2007 style instead of the Sharepoint 2013 style, and I can't pinpoint where this is coming from.  I'm sure it's from a resource that was customized some
    time before our Sharepoint 2010 upgrade, preventing the view from upgrading properly at this point.  I'm looking for advice on where to look to get to the root of this issue.
    Possibly other libraries are affected, but it is most apparent in the Master Page Gallery.
    Here's what the items should look like in Sharepoint 2013.  In html, the item name column dropdown menus are populated with div elements, and it has a blue background dropdown arrow when hovering over it.
    Here's what this site collection renders.  In html, the item name column dropdown menus are populated using table elements, and it has a solid border with a different dropdown arrow when hovering over it.
    Functionality wise, this is preventing master pages and page layouts from being checked in and checked out and approved from this view.  I'm only able to do these changes using the sitemanager page for this site collection right now.
    Other information:
    - There are other site collections and web applications in this same farm that are not affected, so I don't believe it is a modification made in the hive files
    - I've tried making new views of the master page gallery with no success
    - I've compared the contents of the AllItems.aspx form in this collection with the AllItems.aspx in a working collection and could not find any difference.
    - I suspected that the ListViewWebPart is not current, but I can't find where I can check on this and possibly reset it to site definition.  I reviewed all webparts in the _catalogs\wp gallery but can't find a webpart in there that is named ListViewWebPart.
    So, the million dollar question is where else should I be checking to get to the bottom of this?  Thanks!

    Hi Brad ,
    For your issue, you can view the Upgrade Status page in Site Settings to verify that upgrade has succeeded for a site collection.
    To view upgrade status in Site Settings 
    1.Verify that the user account that performs this procedure is a site collection administrator.
    2.On the Site Settings page for the site collection, in the Site Collection Administration section, click Site collection upgrade.
    3.On the Site Collection Upgrade page, click Review Site Collection Upgrade Status.
    4.The Upgrade Status page for the site collection is displayed.
    For more information, see
    Manage site collection upgrades to SharePoint 2013
    Also you can  go to _layouts/15/reghost.aspx (Site Settings -> Site Actions -> Reset to site definition) and reset the master page gallery to site definition version.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Modify Web Gallery - Paypal Integration - Filename Extraction

    Hi Everyone,
    I'm embarking on a mission to try and create a custom web template that will integrate Paypal's "Add to Cart" buttons on the "Details" page of an exported Web Gallery. It only requires modifying a Web Gallery template file and adding the below code to the footer of the Details Page:
    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="image" src="https://www.paypal.com/enUS/i/btn/btn_cartSM.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
    <input type="hidden" name="add" value="1">
    <input type="hidden" name="cmd" value="_cart">
    <input type="hidden" name="business" value="[email protected]">
    <input type="hidden" name="item_name" value="Purchase Standard Resolution Image">
    <input type="hidden" name="item_number" value="imagename">
    <input type="hidden" name="amount" value="3.00">
    <input type="hidden" name="shipping" value="0.00">
    <input type="hidden" name="no_shipping" value="0">
    <input type="hidden" name="no_note" value="1">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="lc" value="US">
    <input type="hidden" name="bn" value="PP-ShopCartBF">
    </form>
    The problem is, I need to substitute the image's filename for the "imagename" variable in the above code. I'm looking to extract the filename, but I'm unsure of how Aperture populates that. I'm sure there's a div name that they use that I could slip in there, but has anyone who has modified a Web Theme done this before? I know CSS modifications are easy, but I'm talking extracting certain field names that Aperture uses.

    I'm not seeing an "Add To Cart" button on your page - just a "View Cart" one.
    The reply from PayPal is correct in that there is no code that specifies the image size. The image itself dictates the size as you will discover if you use a custom button hosted on your own site.
    Here's the code:
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="Value-Code-Here">
    <input type="image" src="http://www.domain.com/Folder-Name/Button-Image.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
    However, PayPal buttons do work on iWeb built sites so I don't know about the relevance of their reference to CSS.

  • Photoshop Web Gallery shtml output?

    Hello,
    I would like to make a portfolio web site with my works.
    I've already implemented the design code in the Photoshop Wen Gallery, but the only problem I have is that everytime I want to change my menu, I have to refresh the code and all the galleries (I mean delete all the galleries and remake them with the new code, wich is pretty annoying).
    What I mean, is that the menu within my photoshop gallery isn't flexible enough for modification.
    The easiest solution were the SSI (server side includes for my menu), and that's where I get stuck...
    In my Photoshop CS2, I can't see any possibility to export the web gallery in shtml, so that the SSI could work.
    Does anyone know, if this is possible in CS3? Or perhaps any other method?
    Any help would be appreciated.
    Regards

    I want to do the same thing. Did you ever find out?

  • Replace vertical navigation in custom master page from snippet gallery

    Hi.
    I'm creating a new master page from seattle.master and I'm trying to implement a customized snippet from the snippet gallery into the master page code without success.  The following line is straight from a seattle.master page:
    <div id="sideNavBox" class="ms-dialogHidden ms-forceWrap ms-noList">
    From here, I see where I think the replacement snippet should go; however, there are discrepancies between the structure of the snippet and the code I'm replacing.  Also, the snippet from the gallery is calling some ASP registrations that I
    don't see in the original master page code.
    How can I insert my custom vertical navigation snippet into this master page? 

    Hi,
    You want to replace the entire <div id="sideNavBox" /> found in your custom HTML Master Page. Your custom vertical navigation will need to replace the entire container and all of its child controls.
    Your custom vertical navigation snippet should start similar to:
    <div data-name="QuickLaunch">
    <!--CS: Start Vertical Navigation Snippet-->
    <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--SPM:<%@Register Tagprefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation" Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <div id="sideNavBox" class="ms-dialogHidden ms-forceWrap ms-noList">
    Design Manager's snippet manager adds the Register tags into the snippet so that the snippet is self-contained. Your HTML Master Page likely contains these Register tags already but you can leave them as Design Manager will handle any duplicates for you.
    The structure of the snippet itself appears different because the seattle.html HTML Master Page includes modifications.
    Eric Overfield - PixelMill -
    ericoverfield.com -
    @EricOverfield

  • How do I modify the template used in the Photo Gallery module

    I notice the Photo Galleries are rendered as an HTML table and I would like to make a small modification to the way the gallery is rendered on the page.
    Basically I just want to wrap a DIV around the <img> tag so I can control the look of the image via my own CSS.
    I see there is the ability to modify Module Templates, but the photo gallery module is not listed there.
    Where can I access the template used for a photo gallery?
    Alternatively I will need to display the images myself using an XML feed and jQuery, but I would rather use BC's own modules when I can.

    Hi David,
    There is no template for the photo Galleries. But if you are using Firebug you can find out the css values and add your own modification by adding CSS by the same selector as the current gallery to your own page and use the !Important value to over write the gallery css.

  • How to add Web Gallery in Bridge CS5

    Hi there,
    I am creating a photo album with web gallery in Bridge CS5. I find out that Is it possible to enable vertical scroll in to the portrait pictures? Usually portrait pictures  are too small when they are diminish to the screen. Here is an example of an portrait with vertical scroll, and I think they work better that way. Or what do you think?
    Is it possible to find third party template to Bridge CS5 web gallery software that has scrollable slide area? Or is it possible to make couple of modifications to the basic templates?
    Thanks in advance.
    P.s. Here's one tutorial how to make web galleries with PS CS 5 Bridge.

    You should move this post to the new Bridge forum as this one will soon die.  Here is link http://forums.adobe.com/community/bridge/general

  • Responsive gallery and DW template

    I've been trying to find a way to add a "responsive image gallery" into my CS6 DW template.
    Actually, I need to create around 100 image galleries - each gallery will have around 70 images.
    I thought I had the answer with "JuiceBox" running the "script" thru CS6 PS and creating the gallery and posting that gallery with no modifications to the page - and it looked fine on my mobile phone (Kyocera Hydro VIBE running Andriod v4.3) - checked the page in the Chrome browser and whatever the un-named browser is that comes on the phone, looked great.
    Page is at: http://www.wakeupgraphics.com/ici_tt/current/500/index.html
    But the page I used/added the gallery onto with the DW template doesn't work right on my mobile phone.
    Page is at: http://www.wakeupgraphics.com/ici_tt/current/500/index2.html
    What's really odd is the DW page with the "JuiceBox" gallery in it looks fine on my desktop, in three different browsers. Reduce the browser window and it responds nicely.
    I tried the "Apply Template" function in DW then tried using the "JuiceBox" steps for adding it to a DW page by putting in the "script" to the page.
    Posted the resulting pages - Results were pretty much the same - doesn't work right on my mobile phone.
    The gallery can not use "Flash" because of the issues with Apple mobile products.
    I would rather not build them manually because of all the time it would take to do each.
    Maybe this isn't the proper place to ask this question so maybe someone can point me to the right Forum.
    Thanks,
    Cliff

    OK - on my mobile phone in the un-named browser, when the page first loads I have a large image that is "skewed" (either orientation) with the "Title" verbiage of the gallery and under it the verbiage "View Gallery" - when you hit/touch the "View Gallery" all images disappear including the "Nav-Menu" - an image from the gallery will show briefly when you touch the screen and then it disappears. You can "scroll" left and another image shows but again just briefly then disappears.
    On my mobile phone in the Chrome browser it works somewhat but you really have to "fiddle" with it. In "Portrait" orientation you can see an image and "scroll" thru by "swipping" across screen but the "Nav_Menu" that shows doesn't respond when touched. However in the "Landscape" orientation the image covers the "Nav-Menu" when you hit/touch the "View Gallery".
    It's very strange cause it all works great in any browser and any viewport (narrow or wide) on my desktop Mac

  • Gallery Demo and IE7 Z-Index Bug

    What is the workaround that corrects the problem in IE7
    whereby Spry's Grow function shows enlarged images behind (not on
    top) of their adjacent micro thumbs. Thanks in advance.

    I'm confused. The example for Spry gallery DOESN'T use an
    anchor tag around the thumbnails... In your article and in some
    posts, you say that the structure is:
    <div id="thumbnails">
    <div class="thumbnail">
    <a href="image.jpg"><img src="image.jpg"
    /></a>
    </div>
    </div>
    However, I downloaded Spry_1_6_1_022408 and copied the
    example thumbnails element & content verbatim:
    <div id="thumbnails" spry:region="dsPhotos dsGalleries
    dsGallery">
    <div spry:repeat="dsPhotos"
    onclick="HandleThumbnailClick('{ds_RowID}');"
    onmouseover="GrowThumbnail(this.getElementsByTagName('img')[0],
    '{@thumbwidth}', '{@thumbheight}');"
    onmouseout="ShrinkThumbnail(this.getElementsByTagName('img')[0]);">
    <img id="tn{ds_RowID}" alt="thumbnail for {@thumbpath}"
    src="galleries/{dsGalleries::@base}{dsGallery::thumbnail/@base}{@thumbpath}"
    width="24" height="24" style="left: 0px; right: 0px;" />
    </div>
    <p class="ClearAll"></p>
    </div>
    NO ANCHOR TAG. Even if you look in the generated source,
    there's no link surrounding the thumbnail image.
    So I guess I am unclear as to how to apply your fix? Using
    the 1.6.1 version, the sample function code you show doesn't match,
    nor does it seem to reflect your modifications...
    Any ideas? I managed to track down your post about the bug in
    IE 7 (it exists in IE6, too) [the demo link (
    http://mad.sweepingdesign.com/index.html)
    goes to a page that says "It works!"]
    The actual article can be found here, though the demo link
    shows nothing:
    http://www.sweepingdesign.com/wordpress/2007/11/18/spry-gallery-demo-and-ie7-z-index-bug/

  • Advanced Web Gallery CS4

    I have recently upgraded from CS2. I have a handful of these galleries on the same site I created using CS2. I have modified them heavily from what CS2 would do. In reality I only used the Thumbnails, Images and the XML file that were created. Even then I wrote a php file that rewrote the xml file to my needs.
    When upgrading to CS4 I found that I liked the Lightroom Flash gallery. It is better than what I created in the past it is, well, Flashier .
    I can modify it almost enough to get it to do what I want it to except one thing: Create more than a 'view' menu item.
    Without decompiling the swf file is there a way to modify the Events?
    When creating the gallery there are 3 XML files created:
    style.xml <!-- Defines CSS Styles
    group.xml <!-- In addition to containing all info leading to images within the gallery it contains some Info:
            <custom>
                <siteTitle>My Site Name Here</siteTitle>
                <groupTitle>This is the title of the gallery</groupTitle>
                <groupDescription>This is the description.....</groupDescription>
                <contactName>This is the name Displayed</contactName>
                <contactEmail>This is the email you get when clicking the above displayed name</contactEmail>
            </custom>
    These can be changed to change the text that is displayed on the Gallery.
    localText.xml <!-- Contains:
    <localization>
        <galleryMenus>
    <!-- I created the following Menu Item and it shows up. It just doesn't
    do anything without an event -->
           <menuitem label="Awwww" event="MenuView">
                <menuitem label="Come On!!!!" type="radio" event="MenuViewSomething"/>
            </menuitem>
    <!-- End -->
            <menuitem label="View" event="MenuView">
                <menuitem label="Gallery" type="radio" event="MenuViewGallery"/>
                <menuitem label="Slideshow" type="radio" event="MenuViewSlideshow"/>
                <menuitem label="Separator" event="Separator"/>
                <menuitem label="About this Gallery" type="radio" event="MenuViewAbout"/>       
            </menuitem>
        </galleryMenus>
    </localization>
    The javafiles files need no modification to help me in my aim.

    I think the problem is that the options in the output module are too limited in how far they can be customised without getting into the code.
    Personally I use other programs to generate sites quickly or create them myself.

  • Default HTML Gallery: How to make Slider for 'thumb.width' & apply output sharpening on thumbnails

    Hi,
    I am in the process of teaching myself the LRWebengine by modifing the file 'galleryInfo.lrweb' which is default HTML Gallery.
    I am intensively reading and using SDK 3.0.
    Not sure whether I am asking in the right forum but give it a try anyway.
    What I'd like to achive is to have a slider allowing to change the width of the thumbnails in the section for Grid Pages and later to apply output sharpening on thumbnails.
    Currently the size for the thumbnails width & height is set to 130px (["photoSizes.thumb.height"] = 130)
    There is no problem to change the size for all thumbnails manually by changing this and its associated values at lines 96, 110, 114, 134, 138 in galleryInfo.lrweb.
    What I'd like to find out is the following:
    - how to properly include a slider row in the section for 'Grid pages' (presumably right after line 358)
    - how to create a variable (eg. $sliderThumbWidth) from the selected slider-value
    - so that this variable can be used to replace the current preset values at lines (96, 110, 114, 134, 138)
    - later and in addition, apply sharpening 'high' (level=3) on output for thumbnails
    First I thought I'd be able to figure it out by myself, but after two days of fiddling it seems that I can't. I am stuck with the creation of the variable '$sliderThumbWidth' and assume that the new 'slider_row' is not coded properly.
    Hope someone can give me hints and will help me out on this.
    Thanks for your attention.

    ... have a slider allowing to change the width of the thumbnails in the section for Grid Pages ...
    Got this one worked out alright. Yeah, thumbs can now be dynamically adjusted in the WEB-UI.
    Remains the problem to find out how to apply output sharpening on thumbnails.
    Has someone ideas how to achieve this?
    Thanks for replies.
    Message was edited by: snahphoto

  • Web-Gallery behaving strange: multiple pictures inside!

    Just having subscribed to MobileMe, I am trying iPhotos Web-Gallery feature for the first time. But I am experiencing some strange behaviour: When selecting a number of pictures and creating a Web Gallery, the pictures upload perfectly. In the gallery on the Web I see the right number of pictures. Every pic is there just once - as it should be. But in iPhoto's appropriate Web Gallery folder, some of the pictures have miracleously multiplicated, I see two, three or even five identical pics there.
    I have no idea why this is happening. It' not happening with all of the Web Gallery albums in iPhoto, just one. I deleted it, created it new from scratch, gave it a different name ... all to no avail. Still I see multiple identical pictures inside iPhoto's web gallery folder.
    Any idea?
    OS X 10.5.4 & iPhoto 08 (7.1.3)

    it used to be that this only appeared to occur if you made modifications to a web gallery while it was updating - if you have made changes during an update that may be it
    It also is possible that the switch to mini me or mobile me or what ever it is created some new issues - this is the first I've heard with the set up
    LN

Maybe you are looking for

  • Add Operating Unit Field in Assets Assignments Window

    Hi everyone, I have a query to add an Operating Unit filed in Assignments window which would be only used for information purposes and have not to do with financial information. I want to make myself clear that;             1) If I add a segment in L

  • I am unable to open the latest update (10.4) iTunes not properly configured

    when I attempt to open it says iTunes was not properly configured and then close - I can't reinstall 10.2 since 10.4 in installed; it won't repair because mid-way thorugh it pops up "itunesresources is not an accessible file... make sure you have acc

  • How do I install print drivers

    I want to print to my home printer on my home network, which is wireless. I download an installer for MAC from HP for the printer and can't locate the HP printer in the add a printer function. What do I do?

  • Using standard node functions

    Hi all, i am newbie i want to knwo how can i convert following source message to target message using standard node functions? Source Message <devices>     <device>         <sn>123</sn>         <city>Berlin</city>     </device>     <device>         <

  • Remove IOS from LMS repository

    Dear *, How to remove IOS from LMS RME repository? Thanks, Aamir