Uploading/Changing Picture File on Joomla Website

Hi all,

I am working on the back-end of a website with Joomla as the platform. I don't have any real experience with Joomla, so this issue is giving me a bit of trouble.

Currently, there is a photo attached to a link for members to open and/or download. However, that is an old photo. I am attempting to upload a new copy of the photo with the most recent information. I was told that I needed to save the new photo file with the same name, delete the old file off of Joomla, and then upload the new one. This would allow the same file path and links to work and the photo would just be updated. That sounds good in theory, however that is not working.

I have saved the file under the same number, deleted the old file from Joomla, and attempted to upload the new one. Everytime I upload the new file, it simply reverts back to the old file. I can not understand why it's doing this. The file previews correctly when I am uploading, but then once it is actually uploaded to the site, it shows the old file in the images folder, on the back-end webpage, and on the actual site.

I have attempted to save the file in different destination folders and am still having the same problem.

I have changed the name of the file and re-routed all of the links. However, I would prefer to not have to do this in the future. Is there a way that I can keep the same file name and have it show the correct file in Joomla and not an older version of that file name that was previously uploaded on the website?

Thank you so much for your help!
KristinaCustomer Retention SpecialistAsked:
Who is Participating?
Peter HartCommented:
if you look at the image, I would right click on it in Chrome or Firefox and use the "inspect element" to see the real path of the image, then use filezilla to delete the image - then check i's gone in the website and then replace the image.

I recommend you to read the official Joomla documentation

Check the chmod/folder permission of the folder where the file is located.

You can use Filezilla to download the software: https://filezilla-project.org/
to verify the chmod/folder permission, you will probably need to change the permission folder
probably 755 or 757 to allow uploading file to the specific folder.

Start filezilla, log to your website using FTP, right click on the folder where you want to upload the file, the select File Permission you can change it from there.

For more info about file permission: https://docs.joomla.org/How_do_UNIX_file_permissions_work%3F

You can also transfer the file directly using filezilla (FTP).
KristinaCustomer Retention SpecialistAuthor Commented:
Hi lenamtl,

Thank you for your response! I have searched through the documentation but unfortunately haven't found my issue mentioned in there to rectify..

The Filezilla part is very helpful, but the permission turn out to be fine. I downloaded Filezilla and made sure all permissions are up to date. Uploading the file into the folder isn't an issue. It's just the text on the file that is changed (or rather, not changed to show the new file) that is the problem for me.

Do you happen to have any other ideas?
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Peter HartCommented:
Joomla also has a cache which should be empty-ed  if its enabled to see the changes  straight away.
if the page is using a module or plugin it may be keeping a copy of the photo in another folder.
if you provide a link we will be able to tell you where the photo is.
then I would use filezilla to delete the existing photo and replace it with a new one. (ie. don't use joomla to upload the photo)
KristinaCustomer Retention SpecialistAuthor Commented:
Hi ChilternPC,

The system cache is actually disabled on Joomla and it is also set to not use the browser cache.

Here is a link to the plugin page:

That makes sense, and that sounds like what is probably happening. However I can't see where it would be cached at.. I'm thankful for the help!
Peter HartCommented:
I can't see that link as its inside the administrator
what about a link to the image in the public part of the website?
KristinaCustomer Retention SpecialistAuthor Commented:

I apologize, forgot it is something to log into. Here is a link to the website where you can see the files:

I actually changed the name and uploaded the correct files to the website yesterday. I'm just trying to figure out a way to prevent constantly having to change the names and links when the picture changes. So I had to re-add the incorrect files to the website. The two links directly under "The Safari Club" header are the files that are giving me trouble (with the old file names).

I have also attached screenshots of what is going on. So it previews the correct, updated file (with the old name), however, after I upload it it shows the previous version of the file (with the same old name). Then when I select the file to link into the page, it previews correctly again. But once it's actually linked and you click on the link, it shows the same previous file.

File view when uploading picture
File view after picture has been uploaded
File view when inserting picture into link on website
File view after picture has been linked into website
Have you cleared your browser cache and history?
because when you don't change the file name you won't see the new image until you cleared the browser cache
Peter HartCommented:
maybe this is when you use the Joomla media manager to upload the file.
now you know the name of the file you can delete it using the joomla media manager and the upload the new image (same old name).  
maybe the media manager does more than just upload the image?
can you not edit the links to under "the safari club to what you want? (its probably an article or a module
KristinaCustomer Retention SpecialistAuthor Commented:
Hi lenamtl,
I have tried clearing my browser cache and history.

Filezilla is actually being blocked by my work, so I cannot use it to upload files. I have to stick with Joomla, for now at least. Editing the link is what I am trying to avoid having to do all the time though. I would like to keep the same file name and just upload the new file and have it work out. It seems like that isn't going to be what happens though. That is okay, just a little more work for me.

I appreciate the offers of help!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.