Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Found best bug ever!!! Image caching issue

Found best bug ever!!! Image caching issue

Scheduled Pinned Locked Moved Site Bugs / Suggestions
helpcomquestionannouncement
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raddevus
    wrote on last edited by
    #1

    I uploaded an image named : sqlstone-2_001.png It was too big so I delete it from the article. I resized the image (GIMP), added a little red box (highlight area of screen) and saved it. I then uploaded it to the article again with the same name. I then clicked the "insert" button to insert it into the article again. Now here's when it gets juicy. The thumbnail on the right, has the red highlight box, but the image in the article does not. I thought, ok, maybe I need to "flatten" the image. I did so, uploaded again. Still red box only shown in thumbnail. I thought, ok, maybe I need to remove the alpha channel in the image. I did so, uploaded again. Still red box only shown in thumbnail. At this point I'm going slightly insane. I then think, hmmm...maybe I need to rename the image so I named it sqlstone-2_001A.png and uploaded it. It worked. You can see (in the image I captured[^]) that the images on the right (thumbnails) show the red box but only one of the images on the left display the red box. Crazy, ain't it ?! I guess this is caching issue. But it drive a user crazy. I'm not sure how it can even cache that image like that, because keep in mind the first re-sized image (which is displaying in the article without the red box) actually had the red box also. :confused: Only the original (much larger image) didn't have the red box. I hope you can track this one down, cuz it crazy. UPDATE - ANOTHER CLUE In the article I'm editing I right-clicked the image with no red box and chose "open in new browser window" and saw this: https://www.codeproject.com/KB/Articles/5384295/Working/sqlstone-2_001.png[^] See the dimensions of that one? That's the original that has no red box. I then right-clicked and displayed the one named sqlstone-2_001A.png and I saw this: https://www.codeproject.com/KB/Articles/5384295/Working/sqlstone-2_001A.png[^] Summarized Issue The issue is that

    S 1 Reply Last reply
    0
    • R raddevus

      I uploaded an image named : sqlstone-2_001.png It was too big so I delete it from the article. I resized the image (GIMP), added a little red box (highlight area of screen) and saved it. I then uploaded it to the article again with the same name. I then clicked the "insert" button to insert it into the article again. Now here's when it gets juicy. The thumbnail on the right, has the red highlight box, but the image in the article does not. I thought, ok, maybe I need to "flatten" the image. I did so, uploaded again. Still red box only shown in thumbnail. I thought, ok, maybe I need to remove the alpha channel in the image. I did so, uploaded again. Still red box only shown in thumbnail. At this point I'm going slightly insane. I then think, hmmm...maybe I need to rename the image so I named it sqlstone-2_001A.png and uploaded it. It worked. You can see (in the image I captured[^]) that the images on the right (thumbnails) show the red box but only one of the images on the left display the red box. Crazy, ain't it ?! I guess this is caching issue. But it drive a user crazy. I'm not sure how it can even cache that image like that, because keep in mind the first re-sized image (which is displaying in the article without the red box) actually had the red box also. :confused: Only the original (much larger image) didn't have the red box. I hope you can track this one down, cuz it crazy. UPDATE - ANOTHER CLUE In the article I'm editing I right-clicked the image with no red box and chose "open in new browser window" and saw this: https://www.codeproject.com/KB/Articles/5384295/Working/sqlstone-2_001.png[^] See the dimensions of that one? That's the original that has no red box. I then right-clicked and displayed the one named sqlstone-2_001A.png and I saw this: https://www.codeproject.com/KB/Articles/5384295/Working/sqlstone-2_001A.png[^] Summarized Issue The issue is that

      S Offline
      S Offline
      Sean Ewington
      wrote on last edited by
      #2

      Are you publishing the article after uploading an different image of the filename, and if so, afterwards, are you viewing it in the same browser? What happens if you clear your browser image cache, or look at the published article in a different browser? Does the published article display the updated image? Or are we strictly talking about the article editor only, never leaving it, and not publishing?

      Thanks, Sean Ewington CodeProject

      R 1 Reply Last reply
      0
      • S Sean Ewington

        Are you publishing the article after uploading an different image of the filename, and if so, afterwards, are you viewing it in the same browser? What happens if you clear your browser image cache, or look at the published article in a different browser? Does the published article display the updated image? Or are we strictly talking about the article editor only, never leaving it, and not publishing?

        Thanks, Sean Ewington CodeProject

        R Offline
        R Offline
        raddevus
        wrote on last edited by
        #3

        Well, since I needed the correct image in the article, I never tried publishing the article with the wrong image showing in the edit area. However, I did do a preview and when I did the preview I still saw the incorrect image in the preview article. Also, it's all the same browser. I was just trying to get the article written. And, I definitely did not refresh the browser. I've lost articles doing that so I was too afraid to do that. I treat the editor with gentle kindess so it does not eat my unpublished article (as it has done in the past). :laugh:

        S 1 Reply Last reply
        0
        • R raddevus

          Well, since I needed the correct image in the article, I never tried publishing the article with the wrong image showing in the edit area. However, I did do a preview and when I did the preview I still saw the incorrect image in the preview article. Also, it's all the same browser. I was just trying to get the article written. And, I definitely did not refresh the browser. I've lost articles doing that so I was too afraid to do that. I treat the editor with gentle kindess so it does not eat my unpublished article (as it has done in the past). :laugh:

          S Offline
          S Offline
          Sean Ewington
          wrote on last edited by
          #4

          Nooooo. I wouldn't refresh the browser either :) What browser are you using?

          Thanks, Sean Ewington CodeProject

          R 1 Reply Last reply
          0
          • S Sean Ewington

            Nooooo. I wouldn't refresh the browser either :) What browser are you using?

            Thanks, Sean Ewington CodeProject

            R Offline
            R Offline
            raddevus
            wrote on last edited by
            #5

            MS Edge running on ubuntu 22.04.4 LTS.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups