Hello!
doing different trials to optimize phoca to my site, i'm uploading, deleting, importing from g+ , deleting again and so on....
so now i've messed up the image numbering, and i've id's from 100 even if I have in total just 50....
i'm wondering if there is the possibility to reset the id counter (of course starting all back).
also.... is it not possible to recreate thumbnails for g+ imported images....why?
thank you in advance
reset image ID's
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: reset image ID's
Hi, this is the database counting - auto increment, so the only way is to "restore" the table in database with "truncate" command - and of course all data will be removed by this command:
The best method is to do it in phpMyADmin: TRUNCATE "your_prefix_phocagallery"
Jan
The best method is to do it in phpMyADmin: TRUNCATE "your_prefix_phocagallery"
Jan
If you find Phoca extensions useful, please support the project
-
lucas3001
- Phoca Member

- Posts: 43
- Joined: 10 Feb 2015, 15:44
Re: reset image ID's
Thank you!
It worked great!
It worked great!
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: