Datagrid Image Renderer Broken in CS SDK but not Flex project

Within a Photoshop Extension, I have a DataGrid which has an inline custom image renderer whose dataprovider is an ArrayCollection called "photos"  representing a list of photos and some metadata properties.  One of the properties "fileName" is concatenated with a path to a thumbnail image such as source="{'LR_AUTO/imported/thumbs/' + data.fileName}".
The dataprovider is bound to a LCDS DataService. When the extension is first launched, the dataservice initializes the dataprovider with the existing values for the "photos" arraycollection.  The thumbnail images are correctly shown.
However, when the DataService receives a new row and updates the photos dataprovider, the datagrid's new row shows a broken image for the thumbnail even though the path is correct.  I have dumped the photos dataprovider and verified that all information is correct.  When I close Photoshop and relaunch it from Flash Builder, once again LCDS initializes the photos ArrayCollection and THEN the thumbnail that previously showed as broken show up correctly.
I have a ColdFusion Directory Watcher Gateway that watches a directory where Lightroom auto-imports images from a tethered capture session.  When the camera sends Lightroom a new image, the new image is processed by Lightroom and moved to a target directory, and since ColdFusion's Directory Watcher is watching that targeted directory, ColdFusion will create a thumbnail image in a subfolder and notifiy LCDS that of the new image and related metadata.
*** This is the interesting part *** When Lightroom places new images in the target directory, this is propogated to the Photoshop Extension's datagrid, and the new row shows up as described earlier, showing a broken image for the thumbnail.  BUT, instead of Lightroom, if I manually copy images to the folder where ColdFusion is watching, then exact same code path is exectuted and in the Photoshop Datagrid the new row appears and THE THUMBNAIL IMAGE shows up correctly.
The difference seems to be only in how the images are put in the original target location.  The problem is when Lightroom puts them there, but it works when I put them there as a user.
*** More Interesting Info *** I have the Flex code for the Photoshop Extension duplicated in a standalone, non-CSSDK project using Flex 3.4 which I launch in a browser.  I have mirrored the code in the Photoshop extension, but in this manner, the problem does not exist.  With plain Flex 3.4 in a browser, whenever LCDS notifies the datagrid of a new photo record, the datagrid's new row ALWAYS shows the thumbnail correctly.
A primary difference in how the thumbnail image is rendered is that in a browser, the Flex 3.4 project accesses the image assets over the network, however, in the Photoshop Extension, the image asset WITH THE SAME RELATIVE PATH is accessed over the local file system.
source="{'LR_AUTO/imported/thumbs/' + data.fileName}"
So in the case of the browser, this path is a relative URL and the image is retrieved over HTTP, however, in the PS Extension, the same path represents a file system path relative to the project folder.
Unfortunately, because the Flash Player (including APE) cannot access BOTH the network and the local filesystem, so I cannot change the Extension to use network access.
** The important part to remember is that when I stop the Flash Builder debug session and close Photoshop, then relaunch the debug with Photoshop, then all the images show up correctly in the Extension.
Your advice is appreciated.
Thank you!
Steve
====================================================
Environment
====================================================
Photoshop CS5 Extended 12.01 x32
Flash Builder 4
CS SDK 1.02
Extension Builder SDK 3.4
MacBook Pro / OS X 10.5 / Intel Core 2 Duo 2.66 GHz / Procs: 1 / Cores: 2 / Memory: 8 GB
App configured for Photoshop CS5 and Photoshop CS5 Extended
====================================================
NewsAgencyPhotoshop.mxml
====================================================
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="com.stevenerat.news.*"
                horizontalScrollPolicy="off" verticalScrollPolicy="off" verticalGap="0"
                layout="vertical" horizontalAlign="left"  backgroundColor="#353535"
                historyManagementEnabled="false"
                creationComplete="init();">
    <mx:Script>
            public function handlePhotoClick(data:Object):void {
                this.PreviewImageWindow = PreviewImage(PopUpManager.createPopUp(this,PreviewImage,true));
                var filePath:String = data.dirPath + data.fileName;
                PreviewImageWindow.addEventListener("imageOpenEvent",imageOpenListener);
                PreviewImageWindow.addEventListener("imageCloseEvent",imageCloseListener);
                PreviewImageWindow.addEventListener("imageSavedEvent",imageSaveListener);
                PreviewImageWindow.setFileName(data.fileName);
                PreviewImageWindow.setFilePath(filePath);
                PreviewImageWindow.y = 0;
                PreviewImageWindow.x = 0;
        ]]>
    </mx:Script>
    <mx:ArrayCollection id="photos"/>
    <NewsPhoto/>
    <mx:DataService id="ds" destination="NewsAgencyPhotos" autoSyncEnabled="true" autoCommit="true" conflict="conflictHandler(event)"/>
    <mx:Label text="News Agency Photos" fontSize="20" paddingBottom="30"/>
    <mx:Label text="Available Images" fontSize="15"/>
    <mx:DataGrid id="photoIPTC" dataProvider="{photos}" editable="true" width="220" rowCount="5" rowHeight="75" wordWrap="true">
        <mx:columns>
            <mx:DataGridColumn headerText="id" dataField="fileName" width="40" editable="false" sortDescending="true"/>
            <mx:DataGridColumn dataField="psLock" width="65" headerText="Status" editable="false" editorDataField="value">
                <mx:itemEditor>
                    <mx:Component>
                        <mx:ComboBox editable="false">
                            <mx:dataProvider>
                                <mx:String>New</mx:String>
                                <mx:String>Open</mx:String>
                                <mx:String>Edited</mx:String>
                            </mx:dataProvider>
                        </mx:ComboBox>
                    </mx:Component>
                </mx:itemEditor>
            </mx:DataGridColumn>
            <mx:DataGridColumn headerText="Photo" dataField="fileName" width="80" editable="false">
                <mx:itemRenderer>
                    <mx:Component>
                        <mx:HBox horizontalAlign="center" horizontalScrollPolicy="off" verticalScrollPolicy="off">
                            <mx:Image click="outerDocument.handlePhotoClick(data);" source="{'LR_AUTO/imported/thumbs/' + data.fileName}" width="75" height="75"/>
                        </mx:HBox>
                    </mx:Component>
                </mx:itemRenderer>
            </mx:DataGridColumn>
        </mx:columns>
    </mx:DataGrid>
</mx:Application>
====================================================
A DUMP OF THE DATAPROVIDER
in this case, one array item existed when launched, then a second was added
while running.  The first has its thumbnail show, the second item has broken image
====================================================
------------------DUMP----------------------------
(mx.collections::ArrayCollection)#0
  filterFunction = (null)
  length = 2
  list = (mx.data::DataList)#1
    fillParameters = (Array)#2
    length = 2
    localItems = (Array)#3
      [0] (com.stevenerat.news::NewsPhoto)#4
        aperture = "F10"
        cameraLens = "EF24-70mm f/2.8L USM"
        cameraModel = "Canon EOS 7D"
        city = ""
        copyrightNotice = "¬© Steven Erat 2011"
        country = ""
        creator = "Steven Erat"
        description = ""
        dirPath = "/Users/stevenerat/LR_AUTO/imported/"
        fileName = "ERAT_STEVEN_20110122_162.jpg"
        focalLen = "42.0 mm"
        headline = ""
        id = 1
        iso = "100"
        keywords = "Alt, Dramatic, Fashion, Girl, Glamorous, Glamour, Inked, Model, Portrait, SOPHA"
        psLock = "New"
        shutterSpeed = "1/128 sec"
        state = ""
      [1] (com.stevenerat.news::NewsPhoto)#5
        aperture = "F10"
        cameraLens = "EF24-70mm f/2.8L USM"
        cameraModel = "Canon EOS 7D"
        city = ""
        copyrightNotice = "¬© Steven Erat 2011"
        country = ""
        creator = "Steven Erat"
        description = ""
        dirPath = "/Users/stevenerat/LR_AUTO/imported/"
        fileName = "ERAT_STEVEN_20110122_163.jpg"
        focalLen = "42.0 mm"
        headline = ""
        id = 2
        iso = "100"
        keywords = "Alt, Dramatic, Fashion, Girl, Glamorous, Glamour, Inked, Model, Portrait, SOPHA"
        psLock = "New"
        shutterSpeed = "1/128 sec"
        state = ""
    uid = "8BAC025E-60D1-11F1-3654-44BDB0D218CE"
    view = (mx.collections::ArrayCollection)#6
      filterFunction = (null)
      length = 2
      list = (mx.data::DataList)#1
      sort = (null)
      source = (null)
  sort = (null)
  source = (null)
------------------END_DUMP------------------------

I expected that if my extension uses the local filesystem AND the network that I would get a Security Sandbox Exception as I recently described in this thread:
http://forums.adobe.com/thread/791918?tstart=0
However, I just tried changing my datagrid image renderer to access the thumbnail via HTTP and the thumbnail issue after Lightroom export does not happen.
            <mx:DataGridColumn headerText="Photo" dataField="fileName" width="80" editable="false">
                <mx:itemRenderer>
                    <mx:Component>
                        <mx:HBox horizontalAlign="center" horizontalScrollPolicy="off" verticalScrollPolicy="off">
                            <mx:Image click="outerDocument.handlePhotoClick(data);" source="{'http://localhost:8500/LR_AUTO/imported/thumbs/' + data.fileName}" width="75" height="75"/>
                        </mx:HBox>
                    </mx:Component>
                </mx:itemRenderer>
            </mx:DataGridColumn>
Furthermore, I can also open the image via the Photoshop DOM, and it does open correctly.  It seems that I do have a solution now, although I'm not certain as to why I'm not getting a Security Sandbox Exception as I described in the other post.
Thanks for reading.

Similar Messages

  • I use a mac ios and shoot raw in a cannon 5d mark ii and shortly upon import of my images lightroom darkens and changes my images. This has happened before but not every time. The strange part is my last shoot had the same camera setting but this did not

    I use a mac ios and shoot raw in a cannon 5d mark ii and shortly upon import of my images lightroom darkens and changes my images. This has happened before but not every time. The strange part is my last shoot had the same camera setting but this did not happen. The images i have now i can not use after lightroom has automatically altered them even if i try editing back to how they looked upon import

    First thing to do is to change the default camera profile applied in Lightroom to camera standard (assuming that you shoot Canon or Nikon). Also make sure that your camera is NOT set up to use any of the HDR modes. Nikon calls those Active Dynamic Lighting. On Canons you often see things like highlight priority mode or "Auto Lighting Optimizer". Make sure that the picture style is set to standard and that for newer Canons the HDR mode is turned off. Most of the HDR modes simply underexpose the image and then add an instruction in the raw file to compensate for this to prevent highlights from being blown out. This causes more noise in the shadows and if you know what you are doing there is no point to this as you should simply expose correctly and get the highest quality raw.
    Lastly, make sure that in Lightroom you have not checked "Apply Auto Tone Adjustments" in Preferences->Presets. This should make the default rendering of the raw files the same as the in-camera jpeg (what the camera shows on the back even if you shoot raw) but still give you all the latitude of raw files.

  • JQuery Cycle 2 Image Slideshow (Works (cycles) in Explorer, but not in Safari or Chrome??

    I am novice designer. I copied code for Cycle2 into my head (declaration or initializer?) and body (image source) of HTML document. The slider cycles through pictures in Explorer, but not in Safari or Crome. Any help, suggestions, alternatives would be appreciated. Thank you.
    I have tried
    Spry Content Slideshow- trouble being responsive when resized.
    FlexSlider2.2- trouble with image height/viewport sizing to big (kinda had workaround), but had trouble with getting HTML text and image together on one slide.
    WOWSlider- could not get rid of the gutter/margins surrounding the slider.
    Cycle2-won't work in all browsers (for me)
    Here is my code (on otherwise empty HTML and CSS pages) for Cycle 2
    <!doctype html>
    <!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
    <!--[if IE 7]>    <html class="ie7 oldie"> <![endif]-->
    <!--[if IE 8]>    <html class="ie8 oldie"> <![endif]-->
    <!--[if gt IE 8]><!-->
    <html class="">
    <!--<![endif]-->
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>HTML5 document with Cycle2</title>
    <!--Latest jQuery Core Library-->
    <script src="http://code.jquery.com/jquery-latest.min.js">
    </script>
    <!--Cycle2 Plugin Script-->
    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/20130409/jquery.cycle2.min.js"></script>
    <style>
    .cycle-slideshow, .cycle-slideshow * {
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin:0 auto;
    width:45%; /**adjust width as required**/
    .cycle-slideshow img {width: 100%;}
    </style>
    <title>Untitled Document</title>
    <link href="css/boilerplate.css" rel="stylesheet" type="text/css">
    <link href="css/stylesheet.css" rel="stylesheet" type="text/css">
    <!--
    To learn more about the conditional comments around the html tags at the top of the file:
    paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
    Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
    * insert the link to your js here
    * remove the link below to the html5shiv
    * add the "no-js" class to the html tags at the top
    * you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
    -->
    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="css/respond.min.js"></script>
    </head>
    <body>
    <div class="gridContainer clearfix">
      <div id="LayoutDiv1">Use Insert Panel for additional Fluid Grid Layout Div tags. Note: All Layout Div tags must be inserted directly inside the "gridContainer" div tag. Nested Layout Div tags are not currently supported. </div>
      <div id="top">This is the content for Layout Div Tag "top"</div>
      <div id="header">This is the content for Layout Div Tag "header"</div>
      <div id="navigation">This is the content for Layout Div Tag "navigation"</div>
      <div id="slider"><h1><a href="http://www.malsup.com/jquery/cycle2/">jQuery Cycle 2</a> Responsive Slideshow</h1>
    <!--begin slideshow-->
    <div class="cycle-slideshow"
        data-cycle-pause-on-hover="true"
        data-cycle-speed="700"
    >
    <!--your images go here-->
    <img src="http://malsup.github.com/images/beach1.jpg" data-cycle-title="beach1">
    <img src="http://malsup.github.com/images/beach2.jpg" data-cycle-title="beach2">
    <img src="http://malsup.github.com/images/beach3.jpg" data-cycle-title="beach3">
    <img src="http://malsup.github.com/images/beach4.jpg" data-cycle-title="beach4">
    <img src="http://malsup.github.com/images/beach9.jpg" data-cycle-title="beach9">
    <!--end slideshow-->
    </div></div>
      <div id="content1">This is the content for Layout Div Tag "content1"</div>
    </div>
    </body>
    </html>

    Resize/re-scale & optimize all images for the web in your graphics editor before you insert them into your web pages.  Saves bandwidth and reduces page load.
    Cycle2 is a responsive slideshow.  If you want all images to remain 400px and not responsive to layout,  you'll need to modify the CSS code a little.
    Details on using Previous & Next links are in the documentation.
    http://jquery.malsup.com/cycle2/demo/prevnext.php
    Nancy O.

  • Image looks grainy in Photoshop CC but not in CS5

    All of my images look grainy int he dark areas in CC, but not in CS5.  Is there a display setting that I'm missing?  Side note, the saved images look fine.  They only look bad in the CC UI.
    Screen shot of CC
    Screen shot of CS5
    Photshop CC and CS5 64-bit on Windows 7

    morganj_8 wrote:
    Oh and lastly, I really didn't appreciate how UTTERLY rude and completely unhelpful "station_two" was.  It seems he/she prefers to get on here and find ways to criticize and nitpick vs. actually try to help or find solutions for people. I wonder if that level of disdain could ever be necessary towards a total stranger who is just asking for help?  I hope their life improves and they don't feel the need to take it out others through tech support message boards.  Props to sharmstr for being so cool about it all.
    Well if that's how you are going to be!!!!        Station is OK, but this is an old thread, and there was a full moon back then.
    So is it a display problem rather than a performance one?  I think it was mentioned that the artefacts a not there on saved documents. It is also one of those issues that would be fixed by resetting preferences, because the cache levels would go back to four.  It actually says right there on Preferences > Performance in the History & Cache section  'Set cache levels to two or higher for optimum performance' .
    There is so much good information right there among the oficial help pages
    http://helpx.adobe.com/photoshop/kb/photoshop-cs6-gpu-faq1.html
    Which makes it very disappointing that Tech Support couldn't track it down.  I suspect they work more from Expert Systems than their own knowledge, so they have a bit of work to do there.

  • Paste image from clipboard works in Chrome but not in Firefox

    Hi there,
    I would like to know a bit more about the technical reasons why image pasting from clipboard works on Chrome but not Firefox.
    Steps to reproduce:
    1. Open the text editor on github.com, e.g. by commenting on an issue
    2. Copy an image to clipboard
    3. Put the mouse cursor into the text editor area
    4. Use CTRL+V to paste the image into the text editor
    On Chrome, the image is pasted and automatically uploaded on Github. On Firefox nothing happens.
    Can someone please shed light on this lacking feature?
    I would so much love to see support for this on Firefox as it is a very convenient functionality.
    Thank you!

    The best is to try it yourself I guess.
    Go to Github and try pasting an image into the compose editor.
    The editor definitely supports image pastings. They work directly in Chrome(ium).
    Thus I am wondering why Firefox does not support direct pasting from clipboard into the editor.
    See the attached screenshot regarding the editor I am talking about.

  • Image Capture connects to card reader but not camera

    Image Capture and iPhoto do not detect new connected Canon camera.  Will read card via card reader.  Camera will connect to older macbook iPhoto and Image Capture but not my iMac.  Image Capture in Mountain Lion has no perferences anymore.  Tried Repairing Disk Permissions but no success. Any ideas?

    Sorry, there is no setting on the AirPort Extreme card built-in your new iMac that can be tweaked to "force" a connection to the Netgear's "n" network.
    Does your Netgear allow for different Network Names (or SSIDs) for each of its radios? If so, you can try an experiment by renaming the 5 GHz radio's Network Name, and then, specifically connect the iMac to it.
    Also, since "n" can operate on either radio, it appears that your iMac is "locking" on the 2.4 GHz radio. Does your iMac have any trouble connecting to any other "n" Wi-Fis? If so, then there may be a problem with either the AirPort Extreme card or the internal antennae on the iMac ... and it would warrant a visit to your local Apple Store to have them take a look.

  • Background image displays locally in HTML5 template but not when published

    I have used an excellent HTML5 template which uses JavaScript to display background images. However while this file works locally it doesn't when published. The site structure is sound and I notice this happens with the source files I downloaded also so it's nothing I have done in my build which could have caused this.
    This is the link to my site, everything is fine except the background image not showing.
    http://www.khawkinsdesign.com
    Any ideas, as I say fine locally, not fine when published?
    Message was edited by: Kyle Hawkins

    Hi Kyle,
    I realise you posted your question a couple of days ago but it looks like your background image issue may now be fixed?
    In any case, your site has a few issues. Not sure who told you the template was HTML 5 but they might be yanking your chain. There is nothing HTML 5 about the code used and the DOCTYPE is from HTML 4. As such, some of the code you have used is throwing up errors - some related to the DOCTYPE and some where you haven't closed the tags:
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.khawkinsdesign.com%2F&charset=%28detect +automatically%29&doctype=Inline&group=0
    <ul id="footer-nav">
    <li><a href="index.html">Home</a></li>
    <li><a href="portfolio.html">Portfolio</a></li>
    <li><a href="about.html">About</a></li> /*The closing tag is missing in your code */
    <li><a href="contact.html">Contact</a></li> /*The closing tag is missing in your code */
    </ul>
    It would be best to amend the errors but some might disappear when you add the HTML 5 DOCTYPE in to your code. Things like your lack of "type" on the sources is a required v4 attribute, but not in v5.
    <!DOCTYPE html>
    Have a read through this for more info - this is a great resource for everything HTML 5. http://diveintohtml5.info/
    Rik
    EDIT:// It seems that the DOCTYPE is the 5 version on all but the home page so you may only have one to correct. However, there are still no HTML 5 elements used to take advantage of the new DOCTYPE.

  • Background image in template viewable in preview but not in compiled output

    A co-worker, using RH8 on Windows XP is having a problem with a template that has a background .jpg image.  In RH8 the background image is viewable in the preview, but when she compiles the project the background is not there.  This image had been viewable in the compiled project when she was using RH7.
    I'm at a loss for what to suggest as I don't use backgrounds in my projects.
    Any info/suggestions would be greatly appreciated.
    Thanks,
    Joe

    Hi there
    The most obvious solution would be to try adding the image to Baggage Files. I'd try that first and see if it changes anything.
    With RoboHelp 8, you have an option of overriding the Style Sheet. So it's theoretically possible that what has been specified in the project is being undone by a subsequent choice.
    Try the Baggage option first.
    Cheers... Rick
    Begin learning RoboHelp HTML 7 within the day - $24.95!
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Broken link in Mozilla but not in Safari

    New Mac User here and I'm hoping someone is willing and able to help me out.
    I've got a PHP based website that I modify from time to time with a Content Management interface. It is professionally important that it comes up clean and reads clean. It is hosted by the web hosting agency that I have my domain name residing.
    I noticed recently that the some images on some pages show up in Safari (I just migrated everything over) but it shows up as a broken link in Mozilla. I just cleared the cache, history and cookies and refreshed the page in Mozilla and no image.
    Is there a good explanation for this?
    I could try this in Explorer on the Mac and I'm wondering if there may also be some difference in terms of how this page shows up on these three browsers in /Windows.
    Is it possible that I need to check six versions 2 OS's and 3 browsers to verify that this page is coming up professionally?

    HI,
    does this sound like total malarkey to you?
    No, not at all. JPG is the commonly used format for images for the web.
    Open an image file in Preview. From the menu bar click File / Save As. Select JPG.
    As an example go here: http://www.google.com/images?hl=en&source=imghp&biw=1277&bih=566&q=flowers&gbv=2 &aq=f&aqi=g10&aql=&oq=&gs_rfai=
    Right or control click any image then click Inspect Element. Type in JPG in the search field on the right, press return or enter on your keyboard. You'll see JPG highlighted.
    Carolyn

  • PDF images that magnify when clicked? (but not in Preview)

    I'm viewing a 3-page PDF document received from elsewhere, using Acrobat 7.0 Standard on a MacBook running OS 10.4.11. The document contains 4 figures. When I run the pointer (the "hand") over 2 of these images, a short horizontal bar with a short arrow pointing downward from it appears inside the hand. Clicking once significantly magnifies the size of the image, up to full screen or full window width. What happens with further clicks is a bit confusing, but there is no further magnification, and eventually a demagnification back to the initial size.
    Nothing like this happens with the other two figures, and nothing like this happens if I view the document in Mac Preview. Only limited information on how this PDF document was created is available, except that maybe PowerPoint was involved at some stage.
    Any ideas as to what's going on here?
    Thanks for any info.

    Hi A.E. --
    If you're looking for a better response than you've gotten so far, I'd suggest the Mac Acrobat forums at http://www.adobeforums.com/webx/.ee6b2ed/
    There's a chance that someone here may know, but since it's clearly an Acrobat "feature" (given that it doesn't occur in Preview), someone will DEFINITELY know the answer over there.
    Best of luck!

  • Picture Library : upload image with same name overwrite the image in thumbmail or WebVersion view but not the actual image link points to the old image

    Hello,
    I am facing a wired issue with Picture Libraries in SharePoint.
    We created a custom field and added it to UserInfo list, the column based on custom field lets user upload their personal images to a Picture Library with the name <User ID>.<Image Extension> e.g. 1.jpg where UserID is internal Listitem ID of the UserInfo list and set its URL to the field value which we use to display the image on our custom user profile and some other WebParts.
    If the user uploads a different image, it will overwrite the existing one it keeping the same name.
    The field worked perfectly with sites using widows Based authentication, but as we move the field to sites with form based authentication we find that the field is able to upload the image properly first time but on each successive upload, although a new image gets uploaded with the name userid.imagextension and is shown in the allitems.aspx page in the thumbnail view and in the picture preview on the dispform.aspx page, but the link next to the name field and the image shown on clicking the preview points to the old image.
    To put it other way
    https://<Web URL>/Picture%20Library/_w/Upload_jpg.jpg
    https://<Web Url>/Picture%20Library/_t/Upload_jpg.jpg
    Would show the updated image
    but the actual URL
    https://<Web Url>/Picture%20Library/Upload.jpg 
    points to the old image
    what’s even more strange is that even after deleting the image the url still shows the old image at
    https://<Web Url>/Picture%20Library/Upload.jpg 
    I confirmed the same by actually repeating the same exercise on a picture Library in the User Interface
    Uploading an image say upload.jpeg in the picture library using SharePoint interface.
    Then uploading a different jpeg image keeping the same name upload.jpeg again in the picture library.
    In allitems.aspx thumbnail view and on dispform.aspx page preview filed image now show the newly uploaded image but when you click the preview image or click the link in the name field value it takes you back to the old image.
    I have seen this issue on environment where we have enabled form based authentication and the issue is not seen on another server where we have wss with windows based authentication.
    Has anyone noticed such behavior and is there any workaround to that!
    Thanks & Regards
    Saurabh Rustagi

    All,
    I had the same issue. 
    In my case, Blob Cache was enabled for the web application in which the image issue was occuring.
    I cleared blob cache, and after doing a hard refresh of my browser, the correct image was then displayed.
    To clear blob cache, do the following:
    Navigate to:   
    http://yourwebapp:port/yoursite/_layouts/objectcachesettings.aspx
    Select:  "Object Cache Flush"  and  "Force all servers in the farm to flush their object cache" check boxes
    Click the OK button
    Hope this helps.

  • Slow image downloads under 10.3.9, but not 10.4.9

    I am a Mac admin at a small publishing company. We have a number of Macs still running OS 10.3.9, and some running 10.4.x. When users attempt to download large, hi-res image files from sites like ArtRes.com, Corbis, Getty, etc. with Safari 1.3.x under 10.3.9, the download starts, but immediately begins to slow down and within a minute or so grinds to a halt.
    Under OS 10.4.x and Safari 2.x, the downloads do not exhibit this gradual slowdown and halt.
    Since earlier submitting this question to a Safari discussion, I've tested this under Firefox and Opera as well, and the same problem of halting downloads from these image sites occurs with these browsers as well, so it appears to be an OS X 10.3 issue, not a Safari issue specifically.
    Anyone have any suggestions on how to solve this? (Upgrading everyone to 10.4.x is an obvious fix, but we can't do it yet.)
    Thanks.
    G5   Mac OS X (10.3.9)  
    G5   Mac OS X (10.3.6)  

    Hi, that's really strange. I don't recall seeing that in my experiences with Firefox and large images, at all. I'd venture to guess that there's some networking configuration setting on the 10.3.9 machines, or further up the chain that's causing them to time out.
    I'd start by going to the terminal and doing a ping from one of the 10.3.9 machines to a remote site to see if you're getting any packet loss.
    HTH,
    ~Fifthwheel

  • How to request - Updating an embedded image in a PDF using Actions but not all actions are recorded

    i am trying to create an Action in CS3 but some of my actions are not been recorded.
    What i want to do is run the Batch option on a folder with a 1,000 PDFs in it. The PDFs
    (which were created in Illustrator CS3) consist of a single page with a single embedded
    image at the foot of the page. I am trying to update that embedded image.
    The Actions i am trying to record are...
    1) Select the single image in the Links palette.
    2) Choose the "Relink.." option in the drop down menu of the Links palette.
    3) Navigate to the new image and select "Place".
    4) Save and close document.
    But the first two actions are not been recorded.
    How do i get around this problem ?
    Note: From trying this manually the new image seems to take on the horizontal and
    vertical scaling of the previous image which is what i want. But if i am going to have to
    do a script then that is a factor that may have to be incorporated into the script.
    Any help appreciated.

    Give this a trial… It does a save as which is much safer than overwriting… At least you still have your originals should I get something wrong…? I did test but only with 3 files…
    #target illustrator
    function replaceImage() {
              var i, doc, fileList, inFolder, outFolder, opts, pic, rep, rip, saveFile, uIL;
              inFolder = Folder.selectDialog( 'Please choose your Folder of AI PDFs…' );
              outFolder = Folder.selectDialog( 'Please choose a Folder to save AI PDFs in…' );
              pic = File.openDialog( 'Please choose your replacement Image…' );
              if ( inFolder != null && outFolder  != null && pic != null ) {
                        fileList = inFolder.getFiles( /\.pdf$/i );
                        if ( fileList.length > 0 ) {
                                  uIL = app.userInteractionLevel;
                                  app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
                                  for ( i = 0; i < fileList.length; i++ ) {
                                            doc = app.open( fileList[i] );
                                            rip = doc.rasterItems[0].position;
                                            rep = doc.placedItems.add();
                                            rep.file = pic;
                                            rep.move( doc.rasterItems[0], ElementPlacement.PLACEBEFORE )
                                            rep.position = rip;
                                            rep.resize( 31.414, 31.414, true, true, true, true, 100, Transformation.TOPLEFT );
                                            doc.rasterItems[0].remove();
                                            rep.embed();
                                            opts = new PDFSaveOptions();
                                            opts.pDFPreset = '[Illustrator Default]';
                                            saveFile = File( outFolder + '/' + doc.name );
                                            doc.saveAs( saveFile, opts );
                                            doc.close( SaveOptions.DONOTSAVECHANGES );
                                  app.userInteractionLevel = uIL;
                        } else {
                                  alert( 'This Folder contained NO Illustrator PDF files?' );
    replaceImage();

  • Since Firefox 4, I can get a background image to work using base64 encoded, but not a local file, this worked in Firefox 3, how do I resolve this.

    Using either of the 4 examples shown below, to have a background image display inside about:blank worked in Firefox 3.x (using Stylish add-on), however since Firefox 4, only using the base64 encoded version of images works. Is there any way to fix this so I don't have to encode every image I wish to use? Encoding the image makes the stylish file absolutely huge, & a real pain to keep encoding whenever I want to change the image.
    body:empty { background: url("resource:/res/images/OnFire.jpg")
    body { background-image: url("resource:/res/images/OnFire.jpg")
    body:empty { background:url("data:
    body { background-image: url("data:
    I've also previously disabled most of the add-ons, except for Status-4-Evar, Stylish, & Firebug, in an attempt to see if something else was interfering, but no change.
    I can supply a copy of the previously working (FF 3.x) code to some of the about:blank styles if needed for testing purposes.

    Type '''about:addons'''<enter> in the address bar to open the '''Add-ons Manager.'''
    Hot key; '''<Control>''(Mac:<Command>)'' <Shift> A)'''
    On the left side of the page, select '''Plugins.'''
    Is it listed here? Select '''Disable.'''

  • Image displays in some jsp files but not others

    OK, I have a jsf jsp pages js tag for my application that occurs in several jsp pages:
    <tr>
       <td>
          <jsp:include page="/includes/footer.jsp"/>
       </td>
    </tr>     footer.jsp has an image tag like this:
    <td align="left"><img src="images/logo.jpg" alt="X Systems"/></td>     The jsp files are in a directory which is under the base directory like the include and image files. For some reason, in one jsp page the logo.jpg file does not get displayed. As I understand it, the application server jboss/tomcat resolves the image files. Why would it be displayed it in one page and not another?

    You are using a relative link to access your image.
    That means it will look for your image relative to the page it last served.
    If you ask for http://myapp/root.jsp, it will locate http://myapp/images/logo.jsp
    If you ask for http://myapp/module/index.jsp it will locate http://myapp/module/images/logo.jsp
    If you right click on your image / broken image placeholder and look at its properties, you should be able to see the url which it is trying to fetch the image from.
    The client will resolve relative links from the address url it last accessed. It knows nothing of any serverside forwards/includes that you might have done.
    So if you access http://myapp/action and forward to /moduel/accounting/balanceSheet.jsp it will still treat the url as http://myapp/action for resolving relative links.
    As far as the client is concerned, the root is /
    As far as your web application is concerned, the root is /myapp (or whatever your context name is)
    Because of this you can't give your images an static absolute url, because you would be hardcoding the context name into your jsp.
    Alternatives
    - use something like <img src="<%= request.getContextName() %>/images/logo.jsp"/>
    - use a tag library to hide the implementation of option #1 (like struts tag html:img)
    - only use relative links, and always specify a html <base> on your page to resolve relative links from.
    Hope this helps,
    evnafets

Maybe you are looking for