468,272 Members | 2,048 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,272 developers. It's quick & easy.

Rebinding page after image is resized on server not showing new sized image

I have written a photo app that allows the administrator to resize photos in
an admin panel above the photo on the page. When the the new size is
entered, the data is saved into a datastore and the page is rebound. During
the rebining process, the size of the image on the server is phisically
changed to the new size (uses the photo master to size from). This
rebinding works fine for everything except the photo itself. The page does
not show the new size on the web page until the browser refresh button is
pressed. I assume this has something to do with caching but do not know how
to resolve it. If anyone has any ideas, please let me know.

Thanks

Earl
Nov 18 '05 #1
2 1164
"Earl Teigrob" <ea******@hotmail.com> wrote in message
news:O5****************@TK2MSFTNGP11.phx.gbl...
I have written a photo app that allows the administrator to resize photos in an admin panel above the photo on the page. When the the new size is
entered, the data is saved into a datastore and the page is rebound. During the rebining process, the size of the image on the server is phisically
changed to the new size (uses the photo master to size from). This
rebinding works fine for everything except the photo itself. The page does
not show the new size on the web page until the browser refresh button is
pressed. I assume this has something to do with caching but do not know how to resolve it. If anyone has any ideas, please let me know.

Instead of assuming that this is a caching issue, I'd recommend you look at
the resulting HTML and see if perhaps the size isn't changing in the <img>
tag.

--
John Saunders
John.Saunders at SurfControl.com
Nov 18 '05 #2
Thanks, john, but the size of the image is never set in the image tag to
start with, so that is not the issue. As I mentioned, the images are
phisically resized on the server itself and the tag just uses the actual
size of the image on the server. However, the width property of the table
that holds the image is set to the width of the image (using the width
property on the image itself) and this is being set correctly. For example,
when the width of the image is increased, the table the holds the image is
made wider, based on the new size of the image on the server, but the image
itself is not reloaded from the server to show the new size. (until a
refreash, of course)

I hope this helps to explain it better.

Thanks for your help

Earl
"John Saunders" <john.saunders at SurfControl.com> wrote in message
news:Oe**************@tk2msftngp13.phx.gbl...
"Earl Teigrob" <ea******@hotmail.com> wrote in message
news:O5****************@TK2MSFTNGP11.phx.gbl...
I have written a photo app that allows the administrator to resize photos
in
an admin panel above the photo on the page. When the the new size is
entered, the data is saved into a datastore and the page is rebound. During
the rebining process, the size of the image on the server is phisically
changed to the new size (uses the photo master to size from). This
rebinding works fine for everything except the photo itself. The page

does not show the new size on the web page until the browser refresh button is pressed. I assume this has something to do with caching but do not know

how
to resolve it. If anyone has any ideas, please let me know.

Instead of assuming that this is a caching issue, I'd recommend you look

at the resulting HTML and see if perhaps the size isn't changing in the <img>
tag.

--
John Saunders
John.Saunders at SurfControl.com

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

21 posts views Thread by DraguVaso | last post: by
7 posts views Thread by xiibweb | last post: by
3 posts views Thread by jason | last post: by
6 posts views Thread by Dave Keen | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.