DVD Register Forum

For the elite home video enthusiast

You are not logged in.

#1 2013-09-29 20:47:47

laborde
Moderator
Registered: 2013-08-25
Posts: 20

Problems updating cover images in 2.0

I am trying to change some cover images for disc entries in 2.0. I delete the current front cover image and select a new front cover image. When I specify to upload the new image, the old image I thought I deleted is put back in the record.

Offline

#2 2013-09-29 20:52:11

laborde
Moderator
Registered: 2013-08-25
Posts: 20

Re: Problems updating cover images in 2.0

Addendum: I discovered that if I clear my browser cache, then it works. It looks like the program goes after the cached image no matter what file you specify. I am using Firefox 24 as my browser.

Offline

#3 2013-10-05 23:34:06

modorlofsky
Moderator
Registered: 2013-08-23
Posts: 275

Re: Problems updating cover images in 2.0

Mike,

I replicated the issue you mention above. I noticed that I did not have to clear the browser cache. I merely had to request a refresh of the page and the correct image would be shown after replacing a deleted image.  The replacement image is correctly uploaded to the server but the older image is displayed from the local browser cache.  The browser does not recognize the replacement image because the server gives the image file the same name regardless of the name on the local PC.

I made a change to the user  image upload page to force the browser to "no-cache" the images on this page.  I tested this with Windows 7 64bit and IE10.  This change is currently on the development server at www.dvdregister.biz  Please test with Firefox and let me know if the issue is resolved on your end.  If the page is working I will move the change to the production server.

Tom Orlofsky

Last edited by modorlofsky (2013-10-05 23:35:07)

Offline

#4 2013-10-06 13:07:43

laborde
Moderator
Registered: 2013-08-25
Posts: 20

Re: Problems updating cover images in 2.0

With Firefox I still had to refresh the page for the new image to take. I also tested IE 10 and the refresh was not needed.

Offline

#5 2013-10-06 14:43:38

modorlofsky
Moderator
Registered: 2013-08-23
Posts: 275

Re: Problems updating cover images in 2.0

Mike,

Confirmed. Firefix did not respect the no-cache directive as I had coded it. I made a tweak to the page. I retested in WIn7 64 bit and Firefox 24 and the refresh is no longer needed for me.

Please confirm on your end.

Tom Orlofsky

Offline

#6 2013-10-06 15:15:57

laborde
Moderator
Registered: 2013-08-25
Posts: 20

Re: Problems updating cover images in 2.0

Nope. I still have to refresh the page in Firefox 24 to see the new image. When I just upload the new image, I still get the old one.

Last edited by laborde (2013-10-06 15:16:22)

Offline

#7 2013-10-06 15:48:21

modorlofsky
Moderator
Registered: 2013-08-23
Posts: 275

Re: Problems updating cover images in 2.0

Mike,

Did you test on www.dvdregister.biz ? I cannot replicate the issue with Firefox on my end.  I will move the page over to the production server later on Sunday.

Tom Orlofsky

Offline

#8 2013-10-06 18:53:23

laborde
Moderator
Registered: 2013-08-25
Posts: 20

Re: Problems updating cover images in 2.0

Yes, I tested in the development server. Just tried it again and it seems to work OK now. Thanks for the fix.

Offline

#9 2013-10-06 21:02:50

modorlofsky
Moderator
Registered: 2013-08-23
Posts: 275

Re: Problems updating cover images in 2.0

Mike,

I moved the updated image upload page to the production server on Sunday 10/06/2013.

Tom Orlofsky

Offline

Board footer

Powered by FluxBB