Photo Shop: Add filename ? Photo Shop: Add filename ?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Photo Shop: Add filename ?

Started by JohannM, July 10, 2007, 07:57:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JohannM

I want to add the filename to the photo shop table.

I added a field "filename" to the database table "cpg1410_shop".

Question:  Where and what pages to I need to add what to add the "filename" to this field ?

Thanx in advance

Stramm

Why? The filename is already stored in the pictures table. Use the pid as reference

JohannM

Hi Stramm

Yes, I know I can use the pid as reference, but to make to front end smoother I use the filename and title as reference.

Anyway, I figured it out, it's adding the filename to the table now.

The reason for this is I screwed up my picture table a while ago, and with that all orders.  I spend hours looking up old pid numbers for filenames, and then changed the pid to the new pid so that my users can have the correct and new details.

One lesson I learned:  MAKE BACKUPS !!!  lol

Stramm

yah, at least if you sell items ;)