close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Page Refresh After Upload - Images do not update.

Thread began 5/05/2010 1:09 pm by Mikel Jones | Last modified 5/06/2010 9:12 am by Mikel Jones | 12564 views | 9 replies

Mikel Jones

More Information...

It seems to be related to the fact that the image file name does not change when the file is uploaded.

The way the page displays the image it just checks to see if the static image file exists "file_exists( 'filename.jpg' )" and if it does it displays it. I upload the same file names every time the user changes their head shot image or company logo. The file names never change, the images are just overwritten every time.

I created a page that changes the name when the file is uploaded and another page that keeps the file name static. The page with the name change updates correctly while the page with the static file name never updates at all unless the client forces a refresh of the page manually (ctrl+F5).

I don't have any idea how to solve this. It seems like a long way around the block to save the file name in the db and have it increment the name every time they upload a file. Not only is it a pain, but it is a waste of db resources.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...