Refreshing image ( and not displaying the one in the cache )

Hello , I made an app with many galleries stored locally but i made another section with a daily image, and this image is located on an ftp server http://XXXXX.com/image.png for example so everyday i upload the new one with the SAME name as the older one
( that is replaced by the newest ) , however the app is always displaying the older one , even if i restart the app , the computer or kill completely the app.
How could i do please?
Could i add something next to the image url (in a gallery module) to make it refresh everytime the app loads?
PS : if you couldn't solve this problem could i put a button to refresh the image?
Thanks
EDIT : I reinstalled my app and changed several times the image and now it's working?
Is it temporarily so this image will be cached and the issue will appear once more or was it a bug?

Hello
I don't believe you can without addressing/changing the way the image is loaded on your server.
You have several options to remove the caching even from files you upload.
You can for example use a .htaccess file in the folder where your image is uploaded
(assuming your webserver is an apache server)
<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On
# Default directive
ExpiresDefault "access plus 1 day"
# Images
ExpiresByType image/gif "access plus 1 minute"
ExpiresByType image/png "access plus 1 minute"
ExpiresByType image/jpg "access plus 1 minute"
ExpiresByType image/jpeg "access plus 1 minute"
</IfModule>
You can also set the header using a loading script in php, asp or whatever language your server supports (e.g. showimage.php?img=blabla.png which allows you to set the no cache header (or limited cache header) in the php header before loading it in your
applications (works also for asp, etc.). Any searchengine will give you some inspirational examples.
Regards
StonyArc

Similar Messages

  • Create an image and not display it but saving it as a gif

    hi there,
    i want to save an offImage as a gif. i have something like this (just the main lines)
    JPanel jp = new JPanel()
    Image img = jp.createImage(w,h);
    Graphics gph = img.getGraphics();
    gph.draw...
    I've got an encoder class (GifEncoder) which works just fine with an image created as in the example above.But I don't want to display the image. Just create it, draw on it and save it
    Unless i display the image (in the Panel, e.g. jp) I cannot save the picture as a gif. So I must register it with a component. Is there a way I can avoid this?
    Thank you

    I use the following which is for JPEG encoding but should work for GIF:
                                  BufferedImage tempBImage = new BufferedImage(320,240,BufferedImage.TYPE_INT_RGB);
                                  Graphics2D g = tempBImage.createGraphics();
    g.draw~~~(~~~); //do your stuff here
         //Create a fileoutputstream.
         FileOutputStream fos;
         fos = new FileOutputStream(thumbDirString+ "\\" + picName);
         JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(fos);
         encoder.encode(tempBImage);
         fos.flush();
         fos.close();

  • My edit text & Images does not display the options

    The Font family, size, alignment box does not appear anymore. What happened?

    Hi champsters,
    Is this occurring with a specific pdf?
    What version of Acrobat are you using?
    Have you tried updating it to the latest patch and checked?
    Regards,
    Rave

  • Resizing Image and Not Keep Aspect Ratio

    Is there a free program to resize images and not keep the original aspect ratio?
    I need to resize loads of images to 100x100 pixels and have tried Image well and IResize yet they do not seem to have an option to not keep the original aspect ratio.
    Thank you
    20" Intel 2GHz Core Duo imac, 2GB Ram, 250 GB HD    

    Hi, Downsize does not seem all that great according to reviews. Why not see if you can buy PS E' 3 mac -- maybe ebay/amazon (if I remember I only paid about $70 for PS E3) As PS E4 just came out I'm sure someone has PS E3 for sale. You will then have no problems completing your image resizing.
    2 other questions for you..are you using the Mac side of your intel or Windows?
    if your using the Windows side I can let you have PS 6 (PC) ..freegratus.

  • I save two copies of an image, one jpg, one tiff.  LR will not display the jpg or let it be available, only the tiff.   When I try to put another copy of the jpg into the folder LR says the jpg is already there.e

    I converted an rgb image into a grayscale image and saved two copies, one jpg, one tiff, into my chosen folder.
    I tried to import both into LR, which only showed the tiff in the import dialogue.  After import LR only shows the tiff in the folder but when I try to insert the jpg into the folder using Explorer LR reports that the jpg is already in folder.
    How can I get LR to display this jpg image?

    Hi,
    I have an example here that is intended to demonstrate the difference between Positioned and Flowed subforms: http://assure.ly/i8pSdy.
    This shows how you can use a slider to change the dimensions of the image object.
    I have extended this to an example with buttons to scale the image: http://assure.ly/i8ZI5Y
    This may not be fine enough for your purposes, but it may give you some ideas.
    Good luck,
    Niall
    Assure Dynamics

  • I try to insert some images on a website but the images are not in the right color mode. I do not know what to do? and also I have 1200 images to insert so I can not change one after one. So I need to set up an action, but I donot know how to do it... Tha

    I try to insert some images on a website but the images are not in the right color mode. I do not know what to do? and also I have 1200 images to insert so I can not change one after one. So I need to set up an action, but I donot know how to do it... Thanks

    What is the problem specifiaclly?
    If the images are intended for web use I would recommend converting them to sRGB which could be done with Edit > Convert to Profile or with File > Save for Web, but as including a Save step in Actions and applying them as Batch can sometimes cause problems I would go with regular converting.
    You could also try Image Processor Pro.
    Scripts Page

  • LR 5.6 on Mac desktop all of a sudden will not read any card from any reader but will work on my laptop. I can work on previous images but not import new ones. Even if I create a catalog on laptop and import to my desktop on a thumb drive, the images are

    LR 5.6 on Mac desktop all of a sudden will not read any card from any reader but will work on my laptop. I can work on previous images but not import new ones. Even if I create a catalog on laptop and import to my desktop on a thumb drive, the images are only accessible as long as the thumb drive is inserted.

    Sounds like you may need to repair the Disk Permissions on your drive where your images are stored.

  • Image content type in Site Asset Image library: The Preview and Thumbnail Preview columns do not display the picture of the item.

    I have two different Site Asset libraries.  The Site Asset Picture library has items of
    content type picture.  The Site Asset Image Library has items of
    content type image. 
    1) I do not quite understand the different between a picture content type versus an image content type. 
    2) the thumbnail and preview columns do not display the image in the Site Asset
    Image Library.  (the image does display in the thumbnail column of the Site Asset Picture library.)  I expected the image to display in the Site Asset Image Library the same as it does in the Site Asset Picture library. 
    Why doesn't it?
    Betty
    Betty Stolwyk

    I have subsequently found out that our "Site Asset Images" library is a Document Library to which someone must have replaced the Document content type with an Image content type.  I also found out that picture previews/thumbnails cannot be displayed
    in Document libraries.  So the problem was the library type, not the content type.
    So I simply created a new Picture Library (whose content type = picture) and copied the files into that and the thumbnails displayed just fine!
    I bet what led to this is the default "Site Assets" library that is created for a new Team site.  It is just a document library but sounds very similar to the "Assets" library.  I can imagine someone thinking the "Site Assets" library was a standard
    container for images, and simply changed the name to better identify the content! 
    As far as 'image' vs 'picture' content types, I noticed that a new Picture Library contains a content type of 'picture', but an Asset Library contains a content type of 'image' (as well as audio and video).  Although the 'image' content type has a few
    more fields than the 'picture' content type (picture content type does not have thumbnail), the actual Picture Library contains pretty much all the same fields, including the thumbnail.  So for all practical purposes, either library type can be used for
    storage of pictures.  I am guessing that the Pictures Library which uses the picture content type is for backwards compatibility purposes, and that the 'image' content type is newer, being derived from the new "Rich Media Asset" content type and used
    in the new Asset Library which can hold audio and video in addition to pictures.  
    Microsoft Help also mentioned that a Picture Library has a slide view which an Asset library does not.  So my take on that is that if you want the potential of seeing your pictures as a slide show, put them in a Picture library which is still using
    the 'picture' content type of previous SharePoint versions.  If you want to keep pictures organized with audio/video files, then put them into an Asset library which uses the  'image' content type derived from the new Rich Media Asset content type.
    Betty Stolwyk

  • Firefox page images do not display only text and links

    New desktop (not this one) with windows 8.1 Pro, Firefox 29, Norton Internet security. When I go to many of the Firefox pages images do not display, only text and links. This is true for the "get add-ons" page. I can search for add-ons, but when I try to install one, the installation fails. Is there a security setting in windows or NIS that is blocking Firefox images and installations? The Firefox installation went smoothly without error. Other sites do not have this problem.

    Wow! I never would have thought of that! My time settings were incorrect when I set up the PC, and I thought I set them. I did have the day, date, and time set correctly. But I did not have AM/PM set right. So, I was off by 12 hours. I corrected it and, voila, all works well.
    I'm so happy now, because I can now get all the security extensions I've grown to love:
    - NoScript
    - Ghostery
    - Better Privacy
    - Adblock Plus
    You guys are great! Thank you so much for your help.

  • When I attach images to an email they show as the image and not an icon.  Is there a way to make the attachment an icon?

    When I attach images to an email they show as an image and not an icon.  Is there a way to have them attached as an icon?
    When I send attachments this way some people can't save them.   They can see them but not save them.
    Any ideas?

    They are received as attachments, i.e. icons. What you see is the real image on your disk, and only if small enough to be displayed. Otherwise, they are small icons inserted in the text.
    Additionally, when you place an image in the message, you will find an option in the lower right corner, otherwise absent. Use it, if need be.

  • TS3899 "cannot get mail" in iphone5 suddenly. been using iphone to check 2 email accounts for months now, one is gmail and not troubled. the other is thunderbird and i get this error message now. no settings have been changed or anything! ideas?

    hey all, I have been getting the "cannot get mail" error message on my iphone5 suddenly.
    ive been using iphone to check two email accounts for months now, one is gmail and not troubled. the other is mail from thunderbird and i get this error message now saying it is not responding. no settings have been changed or anything, it just suddenly stopped receiving mail on my device as of Tuesday afternoon.
    Does anyone have iny ideas about why? i have yet to update to the new OS7 yet, could that be it?

    'The installer has insufficient privileges to modify this file C:\Program Files (x86)\Common Files\Apple\Apple Application Support\Web kit.resources\inspector\Images\Spinner Inactive Selected.gif.'
    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Images were not displaying in the B2B web shop for the products

    Hi,
    We have an issue with Product catalog images.we maintained images for the products and replicated(Initial) to TREX server,replication was successfull,but the images were not displaying in the b2b webshop for the products.
    Anyone suggest what could be the problem?
    Regards,
    PV.

    Hi,
    The problem could because of following issues.
    1) The replication is not done properly
    2) The XCM doesn't have Image server's settings(URL)
    3) The Image server is not reachable from ISA application.
    4) The image server is not connected through HTTP.
    Please check.
    Regards,
    Sateesh Chandra

  • Creating that blur using my brush my entire image changes too and becomes blurry. Not only that but the area I painted also becomes over exposed. What can I do am I missing something here all I want is to blur a section and not change the rest of the area

    Creating that blur using my brush. When I paint the area, which highlights in red, I bring the clarity down to create more of that blur but what ends up happening is that my entire image changes too and becomes blurry. Not only that but the area I painted also becomes over exposed. What can I do am I missing something here all I want is to blur a section and not change the rest of the area I am painted by automatically becoming over exposed. Does anyone else have this problem that can help me?

    Quote
    Do you think I should try to find a cheap mobo to OC my current CPU?  How about trying to find one (mobo) used?  I fear that my only realistic choice will be to scrap the CPU and eventually buy a new mobo and CPU, but as the CPU was only released just under two years ago I would value being over to overclock it with a cheap enough mobo to last me another year or so.
    Who knows what additional problems may be run into by switching mainboards & such. The OS would have to be reinstalled fresh, etc. Money wise, it wouldn't make a lot of sense to invest more into a system that is rather outdated. The small performance gain making the switch to another board using the CPU you have, just doesn't really make much sense, especially if what you have now is completing the tasks asked of it. Save up some money, set it aside for a future build. There are plenty of new platforms in the works.

  • SAP Webdispatcher :Images are not displayed after using the URL filtering

    Hello,
    I have installed the SAP webdispatcher 7.3 on Linux redhat 5.4 in front of the Portal 7.3.
    I wanted to restrict the access just for the IRJ prefix so for this i used the parameter wdisp/permission_table = PermFile
    with Permfile as follows:
    #Denial of the useradmin URL from the WebDispatcher
    P /irj*
    P /irj/*
    The filtering is working well except that for IRJ the images are not displayed so i was using so i added the following line to disply the images to the logon page
    icm/HTTP/auth_
    P /logon_ui_resources/*
    P /logon_ui_resources*
    but i still have the same issue for the irj page where no icons are displayed and i can do nothing.
    The same issue also happened when using the icm/HTTP/auth_xx
    Do you have an idea how to deal with this issue?
    Thanks in advance;
    Hassan

    Hello,
    After checking the HTTP code of the irj page on IE,  i foud the needed URL to permit so i modified the permision table and it works fine for the moement
    P /irj*
    P /irj/*
    P /logon_ui_resources/*
    P /logon_ui_resources*
    P /AFPServlet/*
    P /AFPServlet*
    P /com.sap*
    P /com.sap/*
    P /webdynpro/resources*
    P /webdynpro/resources/*
    Thanks for you help,
    Hassan

  • Windows could not display the images available for installation

    I am trying to perform unattended installation of windows which I created with Windows AIK. When I add answer file on USB's with windows installation root I get "windows could not display..." message. Problem is there even when there are just a
    few simple lines (oobe, microsoft international core-WinPe).
    I replaced install.wim file of standard windows installation iso with customized install.wim and then created catalog file with windows system image manager.
    Kind people of world, please help!

    Hi bugili,
    Could you help us post the complete error information, it will more helpful when we locate the issue. I am not quite understand “add answer file on USB's with windows
    installation root”, do you mean the answer file and install file on the external device? Please try to confirm this image has the same Security permission with
     others image in WDS image share folder,  the WDS default image location is like
    x:\RemoteInstall\Images.
    If it not work please post the WDS error log,
    How to enable logging in Windows Deployment Services (WDS) in Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, and in Windows Server 2012
    http://support.microsoft.com/kb/936625/en-us
    The simlar thread:
    Windows could not display the images available for installation.
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/07fe03dd-9798-4583-8d0b-dc963c95434c/windows-could-not-display-the-images-available-for-installation?forum=winserversetupMore
    information:
    How to Add a Boot Image to WDS Server
    https://social.technet.microsoft.com/wiki/contents/articles/11643.how-to-add-a-boot-image-to-wds-server.aspx
    I’m glad to be of help to you!
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • Eject key not working with MBA Superdrive

    For MBA owners with MBA Superdrive, could you please let me know if the Eject key is working? I just bought a MBA Superdrive but the Eject key on the keyboard is not ejecting disc. When i press the Eject key, i don't see the gray Eject icon on the sc

  • Update Evernote in Mac App store will not install

    1 update available, but it has already the status "Installed". I removed the entire Evernote app and tried to dowwload a full new version from the store in order to wipe this update. This did not work, I also downloaded a full version direct from Eve

  • LabVIEW 8.0 Run-Time engine & shared variables

    Has LabVIEW 8.0 Run-Time Engine the shared variable's support, I wonder? The thing is that .exe with globals/locals runs alright, but beeing replaced with shared variables it refuses to run. What's wrong? May be need in library(s) absend? Thanks.

  • Windows 2008 R2 Print Server DRP

    Hi all, I have two servers Windows 2008 R2 with the print server rol on different sites. One of the server is productive and has around 600 printers and the second one should be the DRP server on another data center. I need a way to synchronize the c

  • Building JEE apps with JFX

    Based on recent interest in the topic, I'm putting together a blog series on building business applications with JavaFX 2, using popular JEE technologies: http://zenjava.com Currently the focus is on using Spring (annotation based config - ZERO XML)