Adding a "static" image to selected gallery

Hi there,
I've been working with the gallery with great success so far,
but I'm stumped on trying to add another feature. As you can see in
this example:
http://www.thirstymango.com/troupehipnotica/mardi_screenshot.gif
where the big red asterisk is, I want an image to display (in
my case, an image of the flyer for this event) for each event. So,
there will be a different large image (say, 150x200px) for each
gallery selected. I can't figure out how to insert an image. I
tried the following in the photos.xml for a particular gallery
(here, "mardi.jpg"):
<sitename>Mardi Love "Smooth and Simple"
Show</sitename>
<photographer1>Eric Denson</photographer1>
<photographer2>Dina Lydia</photographer2>
<image>mardi.jpg</image>
<contactinfo>
http://flickr.com/photos/wordofmouth/</contactinfo>
<email>[email protected]</email>
<security><![CDATA[]]> </security>
-tried placing the {image} in the html document, and still no
luck. I feel like I'm really close.. -or, maybe not! Can someone
please help?
Thanks so much!
Lisa

Thanks so much for looking at this!! I'm still having trouble
with the image display. The image (mardi_love.jpg) lives in the
same location as the photos.xml file, so I believe I'm referencing
it correctly. Am I missing a little detail of some kind? Here is
what I have in the html document:
<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><p id="albumName"
spry:region="dsGallery"><img src="{flyerimage}" width="250"
height="306"><br />
Photographs by:<br />
{photographer1}<br />
{photographer2}</p>
see <a href="links.html">Links page</a> for
photographer info.
</div>
and here is the .xml source (I took Kin's advice on renaming
to flyerimage):
<sitename>Mardi Love "Smooth and Simple"
Show</sitename>
<photographer1>Eric Denson</photographer1>
<photographer2>Dina Lydia</photographer2>
<flyerimage>mardi_love.jpg</flyerimage>
<contactinfo>
http://flickr.com/photos/wordofmouth/</contactinfo>
<email>[email protected]</email>
<security><![CDATA[]]> </security>
What I'm seeing is a broken image with the dimensions I've
set in the html document.. Here's a screen shot:
http://thirstymango.com/troupehipnotica/site/mardi_screenshot.gif
I really appreciate your help!
Lisa

Similar Messages

  • Adding static images to map at specific points in time

    Hello,
    I am trying to create a power map animation and I am having difficulties figuring out how to go beyond simply animating the data over time.  let's say I want to add a little image of the space needle in Seattle when the animation gets to the point in
    time when it was built.  Obviously, I will be in the process of animating my normal data when this image gets added.  Also, if you know of any tutorials that might be relevant please mention them.
    Thanks,
    Bob

    You can add static images at a point in time and these are done by adding an annotation to a specific point that is plotted on your map.  Once you pause the tour at a specific time you might want to add a scene to the tour and then add your annotation.
     In order to add an annotation you will need to select the point and then right-click and select 'Add Annotation'.  You will then be able to add a title along with either text, a field from data set, or an image.  At this point you can continue
    to plat the tour and/or add another scene and continue to build out your tour.
    Check out this article on inserting annotations to Power Maps for additional information
    http://office.microsoft.com/en-us/excel-help/add-an-annotation-to-my-power-map-HA104106344.aspx

  • Every time I right click on an image and select Download image Firefox crashes . I have reinstalled; uninstalled and deleted folders and then reinstalled; added

    Every time I right click on an image and select Download image Firefox crashes . I have reinstalled; uninstalled and deleted folders and then reinstalled; added no plugins; checked I can DL the same images in IE-works good.I use Win7 pro and it works in other profiles in Windows 7. I created a new profile in Windows and that worked for about 2 months and now that has gone the same way as my admin profile has done. I deleted the sqlite download file-still same prob..Please help. I use Firefox 13.0.1

    That sounds very frustrating.
    By the way, does it say "Download image" or "Save Image As"? Just checking whether you have an add-on downloader in the mix that might be relevant. If you do have an add-on, try using the built-in command.
    Do you also crash if you save from here:
    right-click page > View Page Info > Media tab > (select image) > Save As
    I assume you have seen this article and tried these things: [[What to do if you can't download or save files]].
    Have you tried the new Reset feature in Firefox 13? This duplicates certain key data from your active settings folder into a new one, bypassing some add-ons and custom settings. Your plugins will still be active, but could be disabled manually if you like.
    More information in this article: [[Reset Firefox – easily fix most problems]].
    If the new settings folder has the same problem, you can switch back if you like using Firefox's Profile Manager.
    Does it make any difference?

  • Unable to upload static images and files

    Hello everyone. I configured Oracle Apex 3.2.1 with apex listener. The problem is that I can not make the upload of a static image in the table wwv_flow_files. Thanks to those who will be kind enough to give me a hint

    If i upload a static image from shared component>images i get an error from apex because it is unable to find the file even if i selected it with the browse button.
    I apologize for my English.

  • Problem printing static images vs camera tool snapshots

    Hi.
    This question might be a matter of formatting instead of a developer question but since it is related to some VBA code I am using I thought it would be appropriate to post here.  If it isn't, can someone let me know which forum would be more appropriate?
    Here's the situation.  I have a workbook that has many tables on separate worksheets.  Then I have couple "summary" type of worksheets which contain camera tool snapshots of tables from different worksheets for easier viewing/printing. 
    Because of the heavy lag in recalculation time created by using camera tool snapshots, I have turned the snapshots into static images by removing the source range from their formula.  Instead, after making whatever changes I need in the data, I use a
    VBA macro to loop through each snapshot and briefly restore the source range formula so that it updates to reflect the latest table changes then clear the source range formula again, returning the snapshot to a static image.  This seems to work fine when
    I view the worksheets and makes the recalculation of the tables much faster when changing the data.
    However, I have encountered a new problem.  If I print the summary worksheets with the static images, each table is printed as smaller than when they are snapshots.  In other words, when the source range formula is set to the appropriate range
    and I print the sheet, everything looks fine.  When I clear the source range formula and print the sheet, each table is now horizontally smaller and some information in the last column is being cut off.  The images/snapshots have their size set to
    100% of the original and I have tried keeping "Relative to the original" checked and unchecked with no difference.  Does anyone know why this is happening?

    It may not be the images.  It may be the print options are set to auto scale the worksheet.  Try manually printing a one test page and try different print scale options.  Use Print Preview which will allow you to scale page sizes. 
    Often issues like this occur when you are trying to print more than one page at a time.  The scale on one page may be different from a second page.  Sometimes adding page breaks (horizontal and vertical) helps solves these issues.
    jdweng

  • No Thumbs or Main Image with Spry Gallery Demo

    Hi everyone, DW CS3 newbie here.
    I hope this topic hasn't been beaten into the ground yet.
    I'm trying to put together a site
    (members.cox.net/rangersbu9/gallery.html) for my son's soccer team
    and am running into a wall getting the original, dynamic Spry
    gallery demo to work. I've done my best to collect and modify the
    required files and place them appropriately but, when the files are
    loaded on the live server (the wrap div contents are all but
    invisible when I view with IE7 locally, apparently due to the PC
    not be set up as local server) the thumbs are 'x's and the main
    image is a 1px x 1px dot.
    The controls will highlight between the empty thumbs and the
    gallery pull-down will select between the two options I've put in
    the XML file but that's about it. Perhaps it is my ignorance, but
    it seems like a ( src= ) tag is missing in the 'mainImageOutline'
    div because I cannot understand where the main picture is coming
    from otherwise.
    Any insight from the source at the link above? Please keep in
    mind I have two week's experience with DW and website building but
    do have a programming background (from a few decades ago :->). I
    believe I have the un-updated CS3 Spry version, if that matters.
    Many thanks to Don and others here for posts that have helped
    me get this far.
    -Kurt

    Update:
    Got the thumbs to appear. Had them physically sized larger
    than the XML fields stated. However, they will not grow/shrink. In
    digging through gallery.js, I see that those two functions call
    Spry.Effects.SizeAndPosition() - I cannot find that function in any
    of the includes (i.e. SpryEffects.js). Spry.Effects.Size yes, but
    not SizeAndPosition. Wondering if this gallery.js calls a later
    version of SpryEffects.js than I currently have installed (it's
    Spry 1.4). I will download 1.6 and check it out but if anyone has
    any other input, please let me know.
    Still no main image. In gallery.js I found ShowCurrentImage()
    which had a hardcoded path to the images that did not match mine.
    Corrected the path but no change.
    Any suggestions?
    Thanks.
    -Kurt

  • Adding links to Images

    How do I add links to images? Unfortunately, I am unable to add a link to an image in my document.  I selected the image but the "add link" option is grayed out.  The inspector feature is very different in this new version and I am unable to figure out how to add links. Please help.  This is very frustrating.
    Thanks for your help in advance :-)

    This isn't theory, it works.
    Place a Text Box over the top of your image. To do this, you will need to select the Text Box, and from the right-panel Arrange tab, select Move with Text, and for Wrap, turn it off entirely.
    With your text box still selected, use the Arrange tab to reduce the size of the Text Box until it fits inside your image with perhaps a 1/4 inch margin from the image edge. Type a @, #, or * character, then select a font-size large enough that multiple characters expand to just fill, but not overflow, the Text Box. You are creating a fog of characters that you can assign your link too. Still in the Text Box, select All, and then right-click, and choose Add Link. Once you have typed in your link, click outside of the link dialog to set it, otherwise, it will launch your browser to that link destination. Select your textual link again (command+A), and changing to the Style tab on the right-panel, reduce the opacity of this text content to zero. You now have an invisible link inside your Text Box.
    Check your final Text Box positioning over your image, then select both, and from the Arrange tab, group and final position your Text Box/Image combo where you want it in your document. Save. Export to PDF, and the linked image still works.
    The same principle applies to Text Boxes and Shapes where an image has been set to fill the background of the object. When you add text over the image within the shape, follow the process for adding hyperlink and reducing its opacity.

  • Static image

    quick question please,
    I want to add my company logo to the application.
    where in windows do I need to put the actual file (for development purpose)
    and where in Unix does the file go (for production and hosting)
    this is forms 6i
    thanks!!

    Hi,
    In Forms 6i more easy method is available for static image. Go File > Import > image. Select the image you
    want to import. You have done it now. The benefit of this is that you don't have to read the file from database and nor from thr operating system. This image will be a part of forms and will always be there unless and untill you manually delete it. Try it.

  • How to click on a image on main page to open a image inside a gallery on another page.

    This may seem a bit odd but it's what the client wants
    OK i have a gallery from one of the standard slideshows in Muse (I'm editing the HTML in Dreamweaver) on the main page.  then i have a Gallery page where there is another Muse gallery of the same items in the previous gallery they just have more content in the image (so basicly a simple image and a complex image of the same thing)
    What he wants is for somone to be able to brows the slideshow on the main page, click  an  image on it,   for it to open the gallery page and select automaticly the same image in that gallery to display.
    Is there a way i can do this or a workaround of somekind to produce a simular effect?

    I don't use Muse so I'm not familiar with the "standard slideshows in Muse."  That said, I think this Gallery1 to Gallery2 scheme is very clumsy and not going to provide a good user experience for your site visitors.   When visitors click on an image, they should immediately see the full size image and not be directed to yet another gallery page with same or similar content.  Make this simple for your site visitors.  Put a Fancybox viewer on the parent page like this:
    http://alt-web.com/TEMPLATES/CSS-Semi-liq-photo-sheet.shtml
    Nancy O.

  • TTG Selection Gallery 2.0 released

    TTG Selection Gallery has been updated to 2.0. This is a major update and marks the gallery's transition to a Lua architecture. The gallery utilizes TTG Slimbox Gallery 2.24 as a foundation, and therefore exists in feature parity with that version, supporting annotations, color labels, ratings, ID plate, a wealth of customization options and more.
    TTG Selection Gallery is constructed with the photographer-client relationship in mind. The gallery allows clients to mark selected photos, and to submit them with a message/comments to the photographer as an email form. Selections and then be easily isolated in the LR Library using by copying and pasting and selected filenames en masse into the Library's Find pane.
    The gallery employs Slimbox, allowing clients to view large-size images in an overlay without disrupting their selections.
    Get it:
    http://theturninggate.net/blog/ttg-selection-gallery
    Cheers,
    Matthew

    Matthew,
    As ever, you are correct about the lack of spam resulting from the PHP file.
    My next question is, following the discussion with Judith in a
    different thread, I can see what she means about the desirability of being able to annotate the thumbnails, however briefly.
    I've hacked transformer.xslt thus:
            <tr>
                    <td class="imgShadowLeft"></td>
                    <td valign="middle" class="checkBoxBg">
                    <input type="checkbox" class="checkbox" name="image[]" value="{$filename}"/>
    +               <p class="galleryCaption"><xsl:value-of select="$title"/></p>
                    </td>
                    <td class="imgShadowRight"></td>
            </tr>
    and now it adds the content of the web module title field in below the pictures. So by editing the web title field I can put in more or less anything, and of course turn it on and off.
    However, try as I might I can't typeset it using the <ag:formatted> method that appears in the same thread referenced above.
    I realise it gets used as the "alt" field for the images in the thumbnail view, I'm more than happy to hack that to just the filename for my purposes; am I missing something about why I can't typeset it?
    I tried the same trick in Slimbox and it works but it rather upsets the proportions a bit, so I doubt I'll ever use it. However, it could be a "feature for the next release"; I like it because it means I can use the Web Module Title field for the thumbnail caption and the Web Module Caption field for the preview caption, either or both of which can contain the actual image caption and/or title.
    I think it's a good step in flexibility, anyway! I'll be continuing to hack and dabble at it, but my question about typesetting it remains!
    Damian

  • TTG Selection Gallery

    TTG Selection Gallery is made with hired photographers in mind. It provides an interface through which a client can review and select photos from an event, submitting their choices directly to the photographer's inbox.
    Get it:
    http://theturninggate.com/blog/ttg-selection-gallery
    Version 1.0 focuses on functionality. Look forward to version 1.1 for enhanced customization options, aesthetics and more.

    Matthew,
    As ever, you are correct about the lack of spam resulting from the PHP file.
    My next question is, following the discussion with Judith in a
    different thread, I can see what she means about the desirability of being able to annotate the thumbnails, however briefly.
    I've hacked transformer.xslt thus:
            <tr>
                    <td class="imgShadowLeft"></td>
                    <td valign="middle" class="checkBoxBg">
                    <input type="checkbox" class="checkbox" name="image[]" value="{$filename}"/>
    +               <p class="galleryCaption"><xsl:value-of select="$title"/></p>
                    </td>
                    <td class="imgShadowRight"></td>
            </tr>
    and now it adds the content of the web module title field in below the pictures. So by editing the web title field I can put in more or less anything, and of course turn it on and off.
    However, try as I might I can't typeset it using the <ag:formatted> method that appears in the same thread referenced above.
    I realise it gets used as the "alt" field for the images in the thumbnail view, I'm more than happy to hack that to just the filename for my purposes; am I missing something about why I can't typeset it?
    I tried the same trick in Slimbox and it works but it rather upsets the proportions a bit, so I doubt I'll ever use it. However, it could be a "feature for the next release"; I like it because it means I can use the Web Module Title field for the thumbnail caption and the Web Module Caption field for the preview caption, either or both of which can contain the actual image caption and/or title.
    I think it's a good step in flexibility, anyway! I'll be continuing to hack and dabble at it, but my question about typesetting it remains!
    Damian

  • Automator images to mobileme Gallery in iPhoto??

    I have numerous images that I may want to place in a .me gallery for clients to view. Or should they be on a web page or some other folder? it is ok if many view different images. But I prefer to do it with automator.
    I can send them now to an iphoto album and drag the images to a gallery. But it is awkward.

    Do you have your MobileMe gallery setup so others can upload to it? If so then iPhoto is checking the site to update the gallery in iPhoto.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • When I try to move from one selected image to selecting a different image, lightroom (new install of Lightroom 5.5) will keep the previous image selected, so I always end up with two selected images - why?

    For example, I will select the first image in my grid view, then let's say I want to work on the fifth image. When I click on the fifth image, Lightroom leaves image one selected, as if I have held down the Command or the Shift key to select multiple images.  This is not what I expect. Then I am forced to command click the image I no longer want selected - this happens every time I try to move to any new image - the previous one(s) stay selected.  I have tried a reboot of my machine but still this happens.  Also, as a further bug, if I leave my grid with no images selected at all, after a few seconds Lightroom automatically selects the first two images in my library and highlights them - without my even pressing a key!  This is really weird behaviour. It's really frustrating as I like to use my keyboard arrow keys to move through my library of images, but when Lightroom keeps two images selected it just ping pongs between those two images.  I deselect and try to move on, and it again leaves the previous image selected!  By the way - I am not in Compare mode while this is happening - just in standard browsing of the library...  Help please!
    kind regards,
    oMac

    For example, I will select the first image in my grid view, then let's say I want to work on the fifth image. When I click on the fifth image, Lightroom leaves image one selected, as if I have held down the Command or the Shift key to select multiple images.  This is not what I expect. Then I am forced to command click the image I no longer want selected - this happens every time I try to move to any new image - the previous one(s) stay selected.  I have tried a reboot of my machine but still this happens.  Also, as a further bug, if I leave my grid with no images selected at all, after a few seconds Lightroom automatically selects the first two images in my library and highlights them - without my even pressing a key!  This is really weird behaviour. It's really frustrating as I like to use my keyboard arrow keys to move through my library of images, but when Lightroom keeps two images selected it just ping pongs between those two images.  I deselect and try to move on, and it again leaves the previous image selected!  By the way - I am not in Compare mode while this is happening - just in standard browsing of the library...  Help please!
    kind regards,
    oMac

  • Adding a new field to selection screen -Effect on variant

    Hello,
      If we add a new (non obligatory) field to a slection screen, is there any impact on existing variants? Does SAP regenerate each variant when the screen change transport get applied? We had a DB lock jam situation in our PRD system for VARI table and the previous day some program changes with a added selection screen parameter ( a check box) had moved).
    Regards,
    Hari.

    Adding a field to the selection screen shouldn't affect existing variants (but the field will be blank for all variants). However, if there is a problem, you should be able to retrieve variants with program RSVARDOC_610.
    Rob

  • Using a static option with select dropdown

    I have a <select> dropdown menu in a Spry (master)
    region which controls the content in a Spry detail region. Both
    regions are based on the same dataset. When I select an option from
    the dropdown, additional details about the record are displayed in
    the detail region. So far, so good.
    I want to have the first option in the <select> be a
    static one like "Please select . . ." It's easy enough to add that
    option, but when the dataset is loaded, Spry displays the details
    for the first record of the dataset in the detail region -- even
    though only the static option is selected in the master region. (I
    guess that when the dataset is loaded, Spry sets
    ds_CurrentRowNumber to 0 which is the reference for the first
    record.) What I want to have happen is that when "Please select . .
    ." is displayed in the <select>, I want the fields for the
    detail region to be blank (instead of loading information from the
    first record). How can I accomplish this?

    This is a Spry-driven widget I wrote. Unfortunately it's not
    documented:
    http://www.massimocorner.com/libraries/spry/spry_select/sample.htm
    Maybe it's worth a try
    Massimo Foti, web-programmer for hire
    Tools for ColdFusion and Dreamweaver developers:
    http://www.massimocorner.com

Maybe you are looking for

  • Attachments not in Mail app iOS 7

    We switched to a new server. And imported all mails form the old account. Now in Mail all the attachments are shown. But on the iPad, the icon is shown that there is a attachment, but no attachemt is in the mail. This is only with the imported mails,

  • Datapump - expdp.open creates tables in schema

    Hi      i am using datapump in Oracle 10g to archive old partitions from the main schema to another schema. i notice that when dbms_datapump.open is called that a new table is created by dbms_datadpump for internal purposes. This is verified in the o

  • Basic archive space requirements question from NON DBA :)

    I am a storage admin trying to get a better understanding of RMAN. My question is for backuplevel.1 does RMAN require free space to write archive information or archive logs to to complete this backup? My DBA says "no" after I requested that he clean

  • Will this Cable Allow HD Media to be Displayed on the 27" iMac

    http://www.monoprice.com/products/product.asp?cid=102&cp_id=10246&cs_id=1024603&pid=5994&seq=1&format=2 I read somewhere people said that there are no HDMI to mDP, but I just found one. Would this not work? If so, then there is no need to buy those 1

  • Upgrading from CS2 'Premium' to Photoshop CS5

    I have CS2 Premium and find that I have no use for much of the suite's products, though I use Photoshop quite a bit. I would like to upgrade to the new Photoshop CS5 and was wondering if I can do this from CS2 Premium? All I see in the "upgrade from"