Page 1 of 1

script to add pics

Posted: 04 Jan 2009, 09:47
by jeanjan
Hi,

I have a lot of pics, approx 20000.
I 'd like to resize them and insert the needed info in the database quickly. I did some "/usr/bin/convert -size -resize...", some "INSERT INTO jos_phocagallery..." in a shell script but I have problems, thumbnails don't seem to be ok.

What must be inserted in the database?

Can you help me please?

Re: script to add pics

Posted: 05 Jan 2009, 21:10
by Jan
Hi, just insert some image via Phoca Gallery, and you will see the stored data e.g. via phpMyAdmin

Jan