Or to make Phoca Gallery II number 1 option for Gallery for Joomla 1.5, should be good if support import/conversion from everything Native/Legacy to Phoca II
ZOOM to Phoca II ?
- ep98
- Phoca Professional

- Posts: 163
- Joined: 12 May 2008, 12:00
- Contact:
ZOOM to Phoca II ?
Wondering is it planned a Import script from unsupported galleries like ZOOM/ICE, Datso, Pony, slowly developed (almost with state frozen) RSGallery, buggy and ugly like Morpheo show ?
Or to make Phoca Gallery II number 1 option for Gallery for Joomla 1.5, should be good if support import/conversion from everything Native/Legacy to Phoca II
Or to make Phoca Gallery II number 1 option for Gallery for Joomla 1.5, should be good if support import/conversion from everything Native/Legacy to Phoca II
May The Source Be With You !
- Jan
- Phoca Hero

- Posts: 49181
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: ZOOM to Phoca II ?
Hi, no planned yet, Phoca Gallery has utils to add images into the system very fast, just save your images on your PC, create folder tree and move it to the server, the go to Multiple Add and Phoca Gallery will automatically make categories and subcategories from folders (subfolders) and will create thumbnails at once...
I don't know the previous galleries, so it is not possible for me to do some transformation scripts ...
Jan
I don't know the previous galleries, so it is not possible for me to do some transformation scripts ...
Jan
If you find Phoca extensions useful, please support the project
- ep98
- Phoca Professional

- Posts: 163
- Joined: 12 May 2008, 12:00
- Contact:
Re: ZOOM to Phoca II ?
But for some advanced users here will be possible, such Import scripts will prevent people from picking anything else. Your way is good, when there is no tons of description which each photo. Datso for example gives users ability to type unlimited number of lines as content in the description box. Also several stupid and abandoned galleries already, convert images during the upload and the 'picture_of_my_new_car.jpg' becomes _abc234.jpg, and who will know what the hell is what
.
Also yesterday I've noticed bug which is present from 1.3.0 when I've start translating Phoca Gallery and it's extensions, the upgrade script is not working on MySQL 5.0.x the full bug and debug info will be posted in another topic.
Also yesterday I've noticed bug which is present from 1.3.0 when I've start translating Phoca Gallery and it's extensions, the upgrade script is not working on MySQL 5.0.x the full bug and debug info will be posted in another topic.
May The Source Be With You !
- Jan
- Phoca Hero

- Posts: 49181
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
-
Gruz
- Phoca Enthusiast

- Posts: 61
- Joined: 26 Dec 2008, 19:09
- Location: Ukraine
- Contact:
Zoom Media Gallery to Phoca gallery converter
Zoom Media Gallery to Phoca gallery converter
I have:
Zoom Media Gallery ver 2.5 beta3
Phoca gallery 2.1.0 RC
What this converter does not do:
To convert ZMG to Phoca Gallery you need to pass several steps.
Let's imagine you have 2 sites - 1.0.x with ZMG (http://www.old.com) and 1.5 with Phoca Gallery fresh install (no categories and images) (http://www.new.com)
0.
Backup everything. Twice.
Better make all tries at a local copy of your web-site.
1.
Copy all image directories from old site (the directories have names like BXNTIO, NXTSWM, YRSTWK)
www.old.com/images/zoom/
to
www.new.com/images/phocagallery/
2.
OPTIONAL
Open every directory in www.new.com/images/phocagallery/
(something like www.new.com/images/phocagallery/YRSTWK)
and manually delete there 2 Zoom Gallery directories with all files in them (you don't need them anymore)
www.new.com/images/phocagallery/YRSTWK/thumbs
www.new.com/images/phocagallery/YRSTWK/viewsize
3.
Extract the attached script to a directory at you old website (e.g. www.new.com/converter/index.php)
Edit the script to enter correct database connect options (at the top of the file )
Run link http://www.new.com/converter/index.php in you browser and copy the content of textarea. It's the needed SQL-script.
4.
Open new web-site's database in PhpMyAdmin or any other MySQL editor and execute the SQL-script.
5.
Open www.new.com's backend administration and enter
Components - Phoca Gallery - Images
This will start thumbnail creation for all the added images. Wait and after the process ends, it's DONE
NOTE: If it doesn't start thumbnail creation, go to, Components - Phoca Gallery - Images and open Settings button at the right-top of the window. In the newly opened modal window choose Thumbnail creation settigns and enable them. Then go to Components - Phoca Gallery - Images once more to start thumbnal creation.
That's all.
If have any questions ir troubles, ask me. Always glad to help.
My ICQ 21971586
P.S. I think it's possible to write a conveter component for joomla 1.0.x to make a migration SQL-script and a component for joomla 1.5 to import the migration SQL-script (I have not done it only because I needed to convert only one gallery).
I'm not sure how to copy the images other than manually.
I have:
Zoom Media Gallery ver 2.5 beta3
Phoca gallery 2.1.0 RC
What this converter does not do:
- - convert images' statistics (Because in ZMG each image has statistics, but in Phoca Gallery the statistics concerns only Categories)
- convert image comments (because of the same reason, as statistics)
- user permissions and so on
- - converts category structure, images and descriptions
To convert ZMG to Phoca Gallery you need to pass several steps.
Let's imagine you have 2 sites - 1.0.x with ZMG (http://www.old.com) and 1.5 with Phoca Gallery fresh install (no categories and images) (http://www.new.com)
0.
Backup everything. Twice.
Better make all tries at a local copy of your web-site.
1.
Copy all image directories from old site (the directories have names like BXNTIO, NXTSWM, YRSTWK)
www.old.com/images/zoom/
to
www.new.com/images/phocagallery/
2.
OPTIONAL
Open every directory in www.new.com/images/phocagallery/
(something like www.new.com/images/phocagallery/YRSTWK)
and manually delete there 2 Zoom Gallery directories with all files in them (you don't need them anymore)
www.new.com/images/phocagallery/YRSTWK/thumbs
www.new.com/images/phocagallery/YRSTWK/viewsize
3.
Extract the attached script to a directory at you old website (e.g. www.new.com/converter/index.php)
Edit the script to enter correct database connect options (at the top of the file )
Code: Select all
$dbname_old="plast";
$dbuser_old="root";
$pwd_old="12345";
$table_prefix_old="jos_";
$table_prefix_new="jos_";4.
Open new web-site's database in PhpMyAdmin or any other MySQL editor and execute the SQL-script.
5.
Open www.new.com's backend administration and enter
Components - Phoca Gallery - Images
This will start thumbnail creation for all the added images. Wait and after the process ends, it's DONE
NOTE: If it doesn't start thumbnail creation, go to, Components - Phoca Gallery - Images and open Settings button at the right-top of the window. In the newly opened modal window choose Thumbnail creation settigns and enable them. Then go to Components - Phoca Gallery - Images once more to start thumbnal creation.
That's all.
If have any questions ir troubles, ask me. Always glad to help.
My ICQ 21971586
P.S. I think it's possible to write a conveter component for joomla 1.0.x to make a migration SQL-script and a component for joomla 1.5 to import the migration SQL-script (I have not done it only because I needed to convert only one gallery).
I'm not sure how to copy the images other than manually.
Last edited by Gruz on 12 May 2016, 15:35, edited 1 time in total.
- ep98
- Phoca Professional

- Posts: 163
- Joined: 12 May 2008, 12:00
- Contact:
Re: ZOOM to Phoca II ?
Thanks a lot, I'll give it a try next weekend and will report any issues
May The Source Be With You !
-
Gruz
- Phoca Enthusiast

- Posts: 61
- Joined: 26 Dec 2008, 19:09
- Location: Ukraine
- Contact:
Re: ZOOM to Phoca II ?
Hi. Does anybody have the converter? It's gone from the forum because of the migration. I have no the file at my comp. Maybe someone else has?
Last edited by Gruz on 12 May 2016, 15:35, edited 1 time in total.
-
whoey
- Phoca Newbie

- Posts: 2
- Joined: 15 Oct 2010, 12:19
Re: ZOOM to Phoca II ?
noone has a copy of this?
I'm attempting to migrate a very old mambo site (already migrated to joomla 1.0) running Zoom Media Gallery to Joomla 1.5 & Phoca
we have A LOT of pictures to migrate... as well as names, comments etc... thoughts?
I'm attempting to migrate a very old mambo site (already migrated to joomla 1.0) running Zoom Media Gallery to Joomla 1.5 & Phoca
we have A LOT of pictures to migrate... as well as names, comments etc... thoughts?
- Jan
- Phoca Hero

- Posts: 49181
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: ZOOM to Phoca II ?
If you find Phoca extensions useful, please support the project
-
piotrwielecki
- Phoca Newbie

- Posts: 1
- Joined: 18 Jan 2011, 12:05
Re: ZOOM to Phoca II ?
Where can I find this cript?