| re: Rebinding page after image is resized on server not showing new sized image
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:OeKxTI$9DHA.3820@tk2msftngp13.phx.gbl...[color=blue]
> "Earl Teigrob" <earlt777@hotmail.com> wrote in message
> news:O5%23nxV99DHA.3880@TK2MSFTNGP11.phx.gbl...[color=green]
> > I have written a photo app that allows the administrator to resize[/color][/color]
photos[color=blue]
> in[color=green]
> > 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.[/color]
> During[color=green]
> > 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[/color][/color]
does[color=blue][color=green]
> > not show the new size on the web page until the browser refresh button[/color][/color]
is[color=blue][color=green]
> > pressed. I assume this has something to do with caching but do not know[/color]
> how[color=green]
> > to resolve it. If anyone has any ideas, please let me know.[/color]
>
>
> Instead of assuming that this is a caching issue, I'd recommend you look[/color]
at[color=blue]
> the resulting HTML and see if perhaps the size isn't changing in the <img>
> tag.
>
> --
> John Saunders
> John.Saunders at SurfControl.com
>
>[/color] |