How Do I Replace an Image With Another Image File?

Discuss phpwcms here, please do not post support requests, bug reports, or feature requests! Non-phpwcms questions, discussion goes in General Chat!
Post Reply
olleolleolle
Posts: 24
Joined: Mon 18. Apr 2005, 21:35
Location: Copenhagen, Denmark
Contact:

How Do I Replace an Image With Another Image File?

Post by olleolleolle »

Hi,

Let's say my family's website "Our Car" needs updating when we buy a new vehicle. I need to remove the picture of the Volvo we used to drive, and replace it with an image of the SAAB we just bought.

For the sake of the example, let's say the Volvo image is used in 250 places on this car-crazed website.

I would like to replace the Volvo image using the CMS.

Do I need to hack the image upload function to do this? (Rough idea: Adding a selector which pulls the file table row for "image to replace", and saves the newly uploaded image with some of this infomation.)

How have you guys coped with such a situation?

What are some of the thoughts, the philosophy behind the hash.ext file handling? I'm curious about the whole thing. Think of it in lists of features:

Pros:

1. no filename clashes (everyone can call all their files DSP0001.JPG)

Cons:

1. harder to implement "replace image" functions.

Thanks for reading, now I want to hear some of your thoughts on this,

Olle
Olle Jonsson
olleolleolle
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

versioning is planned.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply