Image swapping with correct dimensions

Hi all,
Hovering over a row of thumbnails, I swap the full size photo following this code :
  var photo = new Image();
  photo.src = 'images/'+fileName; // parameter of the function
  console.log(fileName+' L= '+photo.width+' H= '+photo.height);
  sym.$('toile').attr({
      width: photo.width,
      height: photo.height,
      src: photo.src
The full size photo swaps, but retaining the dimensions of the first one (initially on the Edge stage).
Even more puzzling, as you can see in the following screen capture, sometimes I can get the correct photo.width and photo.height (even if it isn't correctly assigned to the 'toile' element), and sometimes those values are zero ! And I feel so lost that this seems random. Surely it is not and someone has an idea. Thank you.
Gil
PS : An idea just springing while writing. May be it has to do with loading delay, asking the width and height information before it is available ? Should I necessarily preload the images ?

So, preloading is part of the solution.
An associative array is used to store the twelve full size photos susceptible to be displayed when their thumbnail is hovered over :
var twelvePhotos = new Object();
Inside the loop that fills the row of thumbnails, each corresponding picture is also preloaded and pushed into the associative array :
var photo = new Image();
photo.src = 'images/'+series+index+'.jpg';
twelvePhotos[index] = photo;
Now the width and height are available and always traced by console.log() :
var photo = twelvePhotos[index];
console.log(fileName+' L= '+photo.width+' H= '+photo.height);
The image swap, but width and height still remain the same. I tried in vain :
sym.$('toile').attr({
      'width': photo.width,
      'height': photo.height,
      'src': photo.src
sym.$('toile').attr('width', photo.width);
sym.$('toile').attr('height', photo.height);
sym.$('toile').attr('src', photo.src);
sym.$('toile').attr('width', parseInt(photo.width));
sym.$('toile').attr('height', parseInt(photo.height));
sym.$('toile').attr('src', photo.src);
Clearly, I miss the good syntax. Anyone sees my mistake ?
Gil

Similar Messages

  • Image swaps with fade out and in

    I am new to Dreamweaver, in fact only got into it to do my
    own website. I want to create image swaps with a fade out and then
    fade in with the new image. Nowhere can I find out how to do this
    so far. Can anybody point me in the right direction. Many thanks
    for your help now and in the past.
    Perspectivist

    This is a multi-part message in MIME format.
    --------------000605070301090808040601
    Content-Type: text/plain; charset=ISO-8859-1; format=flowed
    Content-Transfer-Encoding: 7bit
    i see! well, that's good to know. i didn't realize you could
    do
    transitions on image swaps (of course, i've rarely used them
    so far).
    and i just assumed the OP was actually trying to do a
    slideshow, which
    could still be the case i guess. i suppose he's covered
    either way!
    Nancy O wrote:
    > There are several image transition scripts on this page:
    >
    http://www.brothercake.com/site/resources/scripts/transitions/
    >
    >
    >
    > --Nancy O.
    > Alt-Web Design & Publishing
    > www.alt-web.com
    >
    >
    >
    > "Perspectivist" <[email protected]>
    wrote in message
    > news:[email protected]...
    >
    >> I am new to Dreamweaver, in fact only got into it to
    do my own website. I
    >>
    > want
    >
    >> to create image swaps with a fade out and then fade
    in with the new image.
    >> Nowhere can I find out how to do this so far. Can
    anybody point me in the
    >> right direction. Many thanks for your help now and
    in the past.
    >>
    >> Perspectivist
    >>
    >>
    >
    >
    >
    --------------000605070301090808040601
    Content-Type: text/html; charset=ISO-8859-1
    Content-Transfer-Encoding: 7bit
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html>
    <head>
    <meta content="text/html;charset=ISO-8859-1"
    http-equiv="Content-Type">
    </head>
    <body bgcolor="#ffffff" text="#000000">
    i see! well, that's good to know. i didn't realize you could
    do
    transitions on image swaps (of course, i've rarely used them
    so far).
    and i just assumed the OP was actually trying to do a
    slideshow, which
    could still be the case i guess. i suppose he's covered
    either way!<br>
    <br>
    Nancy O wrote:
    <blockquote cite="mid:[email protected]"
    type="cite">
    <pre wrap="">There are several image transition
    scripts on this page:
    <a class="moz-txt-link-freetext" href="
    http://www.brothercake.com/site/resources/scripts/transitions/">http://www.brothercake.com /site/resources/scripts/transitions/</a>
    --Nancy O.
    Alt-Web Design &amp; Publishing
    <a class="moz-txt-link-abbreviated" href="
    http://www.alt-web.com">www.alt-web.com</a>
    "Perspectivist" <a class="moz-txt-link-rfc2396E"
    href="mailto:[email protected]">&lt;[email protected]&gt;</a>
    wrote in message
    <a class="moz-txt-link-freetext"
    href="news:[email protected]">news:[email protected]</a >...
    </pre>
    <blockquote type="cite">
    <pre wrap="">I am new to Dreamweaver, in fact only got
    into it to do my own website. I
    </pre>
    </blockquote>
    <pre wrap=""><!---->want
    </pre>
    <blockquote type="cite">
    <pre wrap="">to create image swaps with a fade out and
    then fade in with the new image.
    Nowhere can I find out how to do this so far. Can anybody
    point me in the
    right direction. Many thanks for your help now and in the
    past.
    Perspectivist
    </pre>
    </blockquote>
    <pre wrap=""><!---->
    </pre>
    </blockquote>
    </body>
    </html>
    --------------000605070301090808040601--

  • Next / previous image swap WITH larger image popup

    Very simply what I need to do is almost identical to what you
    see here:
    http://www.java-scripts.net/javascripts/Slide-Show-Script.phtml
    (scroll down to the animal pictures)
    When you click "next" and "previous" the images swap through
    a series
    called "img1.gif" "img2.gif" and "img3.gif"
    So far so good. However let us assume there is also a set of
    images called
    "img1_lrg.gif" "img2_lrg.gif" and "img3_lrg.gif" which are
    larger
    versions of those little thumbnails. I need for the
    appropriate associated
    large image to popup in its own window when the thumb is
    clicked.
    Has anyone a lead on something like that?
    Thanks very much.

    On Thu, 28 Sep 2006 17:59:37 +0000 (UTC), [email protected]
    (Clay)
    wrote:
    >Very simply what I need to do is almost identical to what
    you see here:
    >
    >
    http://www.java-scripts.net/javascripts/Slide-Show-Script.phtml
    >
    >(scroll down to the animal pictures)
    >
    >When you click "next" and "previous" the images swap
    through a series
    >called "img1.gif" "img2.gif" and "img3.gif"
    >
    >So far so good. However let us assume there is also a set
    of images called
    >
    >"img1_lrg.gif" "img2_lrg.gif" and "img3_lrg.gif" which
    are larger
    >versions of those little thumbnails. I need for the
    appropriate associated
    >large image to popup in its own window when the thumb is
    clicked.
    >
    >Has anyone a lead on something like that?
    >
    >Thanks very much.
    That sounds simple, where are you stuck? Do you not know how
    to open a
    popup? BTW, the JustSo Picture Window extension would be
    perfect for
    the popups.

  • Web gallery large images not at correct dimensions

    LR 2.1 on MAC 10.4.11 when LR outputs large web gallery images they are sized at 240ppi and not at 72ppi. The pixel dimensions specified are correct but the file dimensions in inches are not correct. Using the "Lightroom HTML Gallery" with a user template which I have re-saved as a new version.

    ppi is completely and utterly irrelevant for the web.

  • Image files with large pixel dimensions display out of focus in a Bridge viewer?

    I Create image files with pixel dimensions 2048x1365. When I display these files from Bridge on my Mac, either by pressing the space bar or in a slideshow, the images are out of focus. If I left click or click/hold and move the images slightly on screen they display in sharp focus. Unfortunately, although landscape-orientation images display correctly with no change in position or size, portrait-orientation files are enlarged and display with top and bottom off the screen. The pixel dimensions of my monitor are 2450x1600 so, yes, if portrait images are displayed at 100% they should display off screen, but this does not excuse the out of focus display of landscape files on this large screen. Nor does this explain why the portrait files are out of focus when they fit on screen. When the same files open in a Camera Raw window they are in focus. When they open in Photoshop at 100% the files are in focus.

    Hi, Clay. Photoshop.com has its own forum, so you might want to post this there:
    http://forums.adobe.com/community/photoshopdotcom

  • Change a link with Image Swap?

    Okay so far I have my website designed. Here is what I have so far...
    ... I have successfully managed to have all the thumbnails keep their rollover behaviors while also making the main image change whenever any of the thumbnails are clicked. So that takes care of the main image problem. Now I need to find a way to get the "click image for larger" action to work. The problem I have is that in Dreamweaver CS3 the main image stays put. It is sort of the anchor that holds the Image Swap behavior in place. So in a web browser if anyone were to actually click on that main image it would not open a new browser window that is specific to the new main image they see. No matter what the main image switched to, if anyone clicked on it, the new browser would always open a window for the big PEARL STREET GYM flier.
    I am wondering if there is a way to get the main image link to swap along with the image so that the new browser window will also follow along with the coinciding main image that is shown. Is there a way to do this (without using spry)?
    (the reason I don't want to use spry is because I am still learning and so far spry just confuses the hell out of me. I'm sure I'll learn it one day... but just not right now)

    if anyone reads this... turns out this can be done with the Set Text behavior.
    Basically, you make your "click here for larger image" text and apply the Open Browser Window behavior.
    Then with the text highlighted you go to Code View and copy the code that makes this behavior function.
    Then you redo these steps for all the thumbnails you have. In my case I have 8 thumbnails so I need to adjust the Open Browser Window 8 times, one time for each of the large pictures i want to pop open, copying the code for each and pasting each code into a blank word document for later.
    Then you clear this behavior and click on the container that is holding your "click here for larger" text. Give this container an ID in the attributes panel.
    Okay so now you click on the first thumbnail you want to use. Give that thumbnail a Set Text in Container behavior. Direct the drop down menu to the container ID you just applied. Then in the new HTML box copy and paste the code you copied from the Open Browser Window behavior.
    Go through each of your thumbnails and repeat these steps, being sure to paste in the correct Open Browser Window code for each thumbnail.
    After you get done with adding all of your Set Text behaviors preview your site in a web browser. When you click on any thumbnail the "click for larger" text should look the same but when you click on the text your browser should pop open a new window that matches the corresponding thumbnail. (unless i left out a step here)
    it isn't exactly what i was looking for when i asked if there was a way to make the image itself clickable. but the small line of text under the image working as a link accomplishes the same task.

  • Drop down menu with image swap

    I have a drop down menu that I need some help with.  The page is here: http://www.healthquestpt.com/lwh/
    The default menu as you see it is the way I want it: gray tab background, white text that is centered on the image.  What I want to make happen with it is when you mouseover the link to have the image swap from:  to: and I want the text in this "tab" to remain centered and change to blue
    For the dropped down links I just want a plain white background, the links to be aligned left and the default color to be blue.  I want the text hover color to be gray.
    Ive tried various things and I cant seem to figure how to get style attributes assigned correctly.
    All help is GREATLY appreciated!!!
    My css file is here:  http://www.healthquestpt.com/lwh/styles.css
    and the dropdownmenu.js file is here:  http://www.healthquestpt.com/lwh/scripts/dropdownmenu.js
    P.S. I'm using DW CS6

    You might want to try out the Spry menus which ship with Dreamweaver.
    Below is the code for the menu BUT you'll have to make sure the SpryMenuBar.js file is in your site folder for the sub-menus to work.
    Best way of doing that is to open a blank page. Go to Insert>Spry>Spry Menu Bar>Horizontal>save page which will create a folder named SpryAssets into your site folder. Open up the SpryAssets folder and delete the file - SpryMenuBarHorizontal.css
    Copy and save code below into a new Dreamweaver document and save it to your side folder. Run it via a browser.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <style>
    ul.MenuBarHorizontal
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 13px;
        cursor: default;
        width: auto;
        font-family: Tahoma, Arial, Helvetica, sans-serif;
        font-weight: bold;
    ul.MenuBarActive
        z-index: 1000;
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        position: relative;
        width: 140px;
        float: left;
        margin-right: 4px;
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        width: 8.2em;
        position: absolute;
        left: -1000em;
    ul.MenuBarHorizontal a
        display: block;
        background-color: #666;
        text-decoration: none;
        text-align: center;
        padding: 4px 0;
        color: #fff;
        border-top: 1px solid #666;
        border-right: 1px solid #666;
        border-left: 1px solid #666;
        -moz-border-radius: 10px 10px 0 0;
        -webkit-border-radius: 10px 10px 0 0;
        -khtml-border-radius: 10px 10px 0 0;
        border-radius: 10px 10px 0 0;
    ul.MenuBarHorizontal a:hover
        background-color: #fff;
        color: #39C;
        border-top: 1px solid #666;
        border-right: 1px solid #666;
        border-left: 1px solid #666;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        width: 140px;
    ul.MenuBarHorizontal ul li a
        background-color: #FFF;
        color: #666;
        border: none;
        text-align: left;
    ul.MenuBarHorizontal ul li a:hover
        border: none;
        color: #39C;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;
    </style>
    </head>
    <body>
    <ul id="MenuBar1" class="MenuBarHorizontal">
    <li><a class="MenuBarItemSubmenu" href="#">Office Supplies</a>
    <ul>
    <li><a href="#">Item 1.1</a></li>
    <li><a href="#">Item 1.2</a></li>
    <li><a href="#">Item 1.3</a></li>
    </ul>
    </li>
    <ul>
    <li><a href="#">Item 1.1</a></li>
    <li><a href="#">Item 1.2</a></li>
    <li><a href="#">Item 1.3</a></li>
    </ul>
    <li><a href="#">Paper &amp; Printing</a>
    <ul>
    <li><a href="#">Item 3.1.1</a></li>
    <li><a href="#">Item 3.1.2</a></li>
    <li><a href="#">Item 3.1.2</a></li>
    </ul>
    </li>
    <li><a class="MenuBarItemSubmenu" href="#">Filing</a>
    <ul>
    <li><a href="#">Item 3.1.1</a></li>
    <li><a href="#">Item 3.1.2</a></li>
    <li><a href="#">Item 3.1.2</a></li>
    </ul>
    </li>
    <li><a href="#">Mailing &amp; Shipping</a>
    <ul>
    <li><a href="#">Item 1.1</a></li>
    <li><a href="#">Item 1.2</a></li>
    <li><a href="#">Item 1.3</a></li>
    </ul>
    </li>
    <li><a href="#">Furniture</a>
    <ul>
    <li><a href="#">Item 1.1</a></li>
    <li><a href="#">Item 1.2</a></li>
    <li><a href="#">Item 1.3</a></li>
    </ul>
    </li>
    <li><a href="#">Audio Visual</a>
    <ul>
    <li><a href="#">Item 1.1</a></li>
    <li><a href="#">Item 1.2</a></li>
    <li><a href="#">Item 1.3</a></li>
    </ul>
    </li>
    </ul>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>

  • Swap Image Behavior with Text

    I am trying to figure something out but can't seem to find
    it. I'm sure it must be pretty simple, but I'm stumped. Basically,
    I have a main image and a few thumbnail images below it. I've
    attached the Swap Image behavior to each thumb to change the main
    image to a different photo and then changed the onMouseOver to
    onClick.
    The problem is I want to also have some photo text or caption
    below the main image to change. Does anyone know how to do this
    with more or less stock DW behaviors? Or if not, how to do it in
    the most efficient way possible?
    Thanks in advance.
    -Bill

    You could always embed the caption information in the image,
    you know? That
    would be the simplest way. Is that possible?
    Alternatively you could create a series of stacked
    containers, each hidden,
    in the location where you want your captions. Then you would
    make your
    onclick event do both the image swap and the Show/Hide on the
    associated
    caption container (*and* a hide on all the rest of the
    caption containers).
    This can be pretty tedious when there are lots of images, and
    you are using
    only the DW User interface (as opposed to Code view). It will
    also take you
    into the realm of positioned elements (probably) which can be
    troublesome
    themselves.
    Finally, if this is all too much for you, there are EXCELLENT
    alternatives
    over at projectseven ($) for doing something like this right
    out of the box.
    http://www.projectseven.com/
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "captcashew" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am trying to figure something out but can't seem to
    find it. I'm sure it
    >must
    > be pretty simple, but I'm stumped. Basically, I have a
    main image and a
    > few
    > thumbnail images below it. I've attached the Swap Image
    behavior to each
    > thumb
    > to change the main image to a different photo and then
    changed the
    > onMouseOver
    > to onClick.
    >
    > The problem is I want to also have some photo text or
    caption below the
    > main
    > image to change. Does anyone know how to do this with
    more or less stock
    > DW
    > behaviors? Or if not, how to do it in the most efficient
    way possible?
    >
    > Thanks in advance.
    >
    > -Bill
    >
    > <p><img src="images/215-suite-2.jpg" alt="Main
    Photo" name="mainImage"
    > width="300" height="225" id="mainImage" /></p>
    > <p> </p>
    > <p> </p>
    > <p><img src="images/215-suite-2.jpg"
    alt="Thumbnail Photo 1"
    > name="thumb1"
    > width="100" height="75" id="thumb1"
    >
    onclick="MM_swapImage('mainImage','','images/215-suite-2.jpg',1)"
    />
    > <img src="images/renovations_02-after.jpg"
    alt="Thumbnail Photo 2"
    > name="thumb2" width="100" height="75" id="thumb2"
    >
    onclick="MM_swapImage('mainImage','','images/renovations_02-after.jpg',1)"
    > />
    > <img src="images/renovations_03-after.jpg"
    alt="Thumbnail Photo 3"
    > name="thumb3" width="100" height="75" id="thumb3"
    >
    onclick="MM_swapImage('mainImage','','images/renovations_03-after.jpg',1)"
    > /></p>
    >

  • How to Watermark multiple images with different dimensions in Photoshop ?

    Is there any way that I can place a watermark on the right bottom of multiple images, no matter what dimension the images are? I have tried using Photoshop Scripts > image processor, but it works only for images of same dimension. I want to put watermark on multiple images of different dimensions. This is the output i got.
    For the first image the watermark got placed correctly, but for the second image watermark got distracted. As you can clearly see the dimensions are different. Please suggest me some solution.

    Open an image to watermark. We must have this open before we start recording an action or else it will keep opening this image and watermarking it over and over again.
    In Photoshop go to Windows >> Actions
    At the bottom of the Actions Palette you will see a little folder icon, click on it and create a new folder to hold you action in.
    Once you have a folder to hold your action we need to hit the Create New Action button (next to the new folder Icon we just used.)
    Give our new action a name and set a function key (if required.)
    If the record button is not already depressed which it should be by default, hit it now to start recording our action. (located near the folder icon again but this time to the left)
    Now that our action is recording go to File >> Place
    When the dialog box comes up navigate to your previously created watermark file.
    Hit the Place button
    Position the watermark as you would normally have it (default is dead center) and hit enter.
    Go to File >> Save as,navigate to where you want your watermarked images to finish up and hit save. DO NOT CHANGE THE FILE NAME if you do when you play the batch it will name all the files it saves the same over-writing each other.
    Close the image we just watermarked.
    when a save dialog comes up do not save the image.
    On the Actions Palette hit stop recording.
    Our Action is now recorded.
    To process an entire folder of images we go to File >> Automate >> Batch
    Select the folder in which your images are currently
    Select the folder you wish to save the watermarked copies too.
    Hit OK
    Photoshop is now watermarking all the Images in the selected folder for you.

  • Correct image rotation with CameraRoll

    At the moment I'm implementing CameraRoll in my app.
    It's a great class, but the images do not rotate correctly on Android. Other apps seem to be able to determine if the picture was taken in landscape or portrait mode, and view the image in the correct orientation.
    As for now the users in my app will have to rotate their image manually...
    Does anyone know a fix/workaround for this?

    well, the easiest way for rotating an image through the sdk is by using transform_word().
    it takes a matrix (or matrices for motion blur), so you can do any transform operation concievable via a matrix.
    here's a thread with some detail about this function:
    http://forums.adobe.com/message/1970939#1970939
    as for line by line transformations...
    there are some toos in the SDK, but they're available only for AEPGs of type "artizan" (the plug-ins that render whole comps),
    so if you're planning a layer effect, these tools are out of the question.
    you can do that calculation manually in a few ways.
    you can create a tranformation matrix and run each pixel through it, which would probably be the fastest most versitile way.
    or you can use trigonometry, which would probably be the easiest to implement but the slowest to process.
    using the sdk's subpixel sample functions would complete the tools you need, but keep in mind that this would be the slowest possible way of rotating an image.

  • Help with Editable Regions and Image Swap

    I need some assistance for a project I am working on, and I don't know a short way to describe.  Hang with me, here it goes....
    I am working with the sites 'Navigation' links.  I want to use a MouseOver behavior so that the image swaps when moused over.  I want the MousedOver image to remain when you are on that page.  I can manually make this happen, but I am running into difficulty because I want the Navigation to be located in an un-editable region so when I add new pages, the entire site will update as I make changes to the template.
    I don't know how to create this effect without manually swapping all the images via behaviors on each and every page, and when I need to do these edits, the region needs to be in an UnEditable region so that the template will update all the pages.
    I guess the question is, how can I customize images from page to page in an Un-Editable region in a Template driven page?
    Thanks.

    Image swaps are clumsy for navigation because you have to re-craft your menus every time you edit your site.  This gets very old in a hurry.
    CSS styled menus are not only easier to maintain in DW they are web friendly for all devices -- especially Smartphones who may have images disabled to save on bandwidth charges.
    DW comes with Spry Menus which you can customize with CSS
    http://labs.adobe.com/technologies/spry/samples/menubar/MenuBarSample.html
    Additionally, there are some excellent DW extensions you can use to build professional looking CSS menus in seconds.
    http://www.projectseven.com/products/menusystems/pmm2/index.htm
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Batch processing images with different dimensions

    Hi all!
    I've been trying to do this for a while and I'm stumped, so I'd like to know if it's even possible. I'm trying to fathom out how to create an action which…
    Takes a jpg
    draws a shape
    masks the image
    adds another shape
    So I can batch process a ton of images.
    I managed to do something like what I'm after but the thing I'm having trouble with is that the original images will have different dimensions.
    I have attached (via link) an example image which would be the original (start.jpg), one which would be the desired end result (done.jpg) and the .psd
    IF there needs to be a step in the middle of the action where I need to intervene and resize the flat image slightly to fit the canvas it'll still save a load of time.
    I know that opening and saving will be taken care of using the batch feature and the result only needs to be a jpg.
    Any input will be welcomed!
    Here are the working files - http://mikeebee.com/dl/action-test.zip
    Many thanks

    That's an interesting action, but I thought the expected output was different than what this action produces. First, I didn't think image cropping would have been ok (maybe the OP expects this or is ok with cropping). Secondly, I kept getting caught up in how the right edge was going to actually be skewed (as decreasing in size perspectively off into the distance). This action appears to just visually trick the eye (again which may be what the OP wanted or is ok with). Like I said, just that aspect alone is where I kept getting stuck in how this would be possible without some manual manipulation.
    If you take this image http://www.shan-dysigns.com/userForums/photoshop/stripes.jpg and perform this action, you will see how the right side doesn't actually get skewed (as I thought was part of the visual effect wanted). Still, this action is quite nice.

  • Image not displayed correctly in image control at small zoom level

    I am displaying an image in an image control with a zoom factor of ~0.015 and it appears as shown in image 1.jpg.  When I zoom in a little more to ~0.016 the image is displayed correctly as shown in image 2.jpg.  Both images are attached.
    Why is the image displayed as a "grey strip" in the first image?  What do I need to do to have the image displayed correctly at any zoom factor?  I am using LV 2011 with the associated vision development module on Windows 7.
    Thanks,
    Jonathan-LV
    Solved!
    Go to Solution.
    Attachments:
    Image 1.jpg ‏133 KB
    Image 2.jpg ‏152 KB

    Hi Jonathan,
    Did you try resizing your image dimensions, as I suggested in my previous post? Anti-aliasing is an expected behavior; as you zoom out, the image has to be resampled in order to be displayed properly. At some point, LabVIEW assumes that the image has been resampled to the point where it no longer resembles the initial image, and so it greys the image out. In the case of your image, that is not the case. As I said, I believe an acceptable workaround would be to use IMAQ resample to half or quarter the pixel dimensions of your image, at which point it should be able to be displayed at a higher zoom factor. 
    Best,
    Dan N
    Applications Engineer
    National Instruments 

  • I'm using the latest photoshop cc 2014 with most updated camera raw... i am having A LOT/REPEATED trouble getting files to "synch" with corrections, no matter what i options i select (i.e. "everything")... WTH is wrong with me/my computer/adobe?! help. fa

    I'm using the latest photoshop cc 2014 with most updated camera raw... i am having A LOT/REPEATED trouble getting files to "synch" with corrections, no matter what i options i select (i.e. "everything")... WTH is wrong with me/my computer/adobe?! help. fast. please

    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Spry Image Slideshow with Filmstrip (1.0) - strange behavior

    I am developing a fairly simple website based on Adobe's fixed two-column, header & footer template.  The left column is now 180 px wide, with the right column being 630 px.  When I place the Lightbox Gallery Widget into the editable region of the main content area, it works fine.  When I place the Wanderlust theme Spry Content Slideshow, it works fine.  When I place the Spry Image Slideshow Basic, it works fine.  But when I place the Spry Image Slideshow with Filmstrip, it works sorta...  The navigation buttons work but are displaced toward the top of the image area and the photos are significantly below them.  It works, but it look terrible.  (see below) When I place the same widget into a blank HTML page it works fine, there is no displacement.  I have tried resizing just about everything including the main content area width, the view port, etc.  It does not matter if I use the default or an edited version of the widget.  What am I doing wrong?  Or what do I need to change?  I really like the way the widget looks, but cannot get it to work.
    I am doing all of this in CS5 on a Mac (10.6.4).

    vw2ureg,
    Thanks for your help.  I, too, was able to get it to work with a page with the default two-column, fixed template.  I must have made an error in resizing the template and/or am resizing the widget incorrectly.  I think my dimensions for the template are as follows: left column (180 content, 20 left padding, 10 right padding, 210 total) and main content (210 left margin, because the left column is floated; 630 content, 20 left, 20 right padding, 670 total).  Which both fit into a container of 880px.  Correct?  Yet even when the widget view port is sized to 600, I still get the effect shown in my original post.  FYI, in order to reduce sources of error I have stuck with the demo images rather than inserting my own at this point. 
    Once again, I do appreciate your help.  Although I'm very much the newbie at this, I'm finding it very interesting.

Maybe you are looking for

  • Can't connect Azure Database in SQL Server

    Hi, I completed setting up the database and server on Azure, but when i tried to connect it using SQL Server 2012. I got an error. TITLE: Connect to Server Cannot connect to tcp:*******.database.windows.net,1433. ADDITIONAL INFORMATION: A network-rel

  • SQL Server Agent - Email on job failure

    Hi, I have a SSIS package that is scheduled to run every midnight. Is there a way to send an email to a particular user when the package fails to run? I know there is a Notification on the package, I tried once but it didn't send anything. Is there a

  • Trouble deleting apps

    How do I delete apps from an iPhone 4 updated to i05? ie no X's... I have tried deleting in iTunes on my Macbook and syncing my phone, but to no avail. Help please?

  • Upgrading crystal reports professional 8.5 to crystal reports profess 11

    When using sms to install crystal reports professional it has the evaluation copy key in it.  I went in the license manager changed to the correct key and registered it and it is coming up with We hope you are enjoying your evaulation copy of Crystal

  • IMessage Glitch!

    I sent an iMessage from my Macbook Pro using the Messages app, and it was far too long. Now my Messages app won't load on my computer and my iPod Touch. Any help? I've already tried resetting by holding the home and power buttons on my iPod.