This is a update of the guide to move from CF image host to Chevereto 2.2 but this time I will be more detailed about the process.
What we are going to do?
We will do a little set-up to make Chevereto run the update tool with the CF image files. This files will be work as usual and they will get moved to the /old directory (just like update from Chevereto 2.0).
First step: Move the files
You will need to move the uploaded files to the Chevereto image dir. The default dir is /images but this is up to you (your folder could be /i, /img, etc). So the result is that a file like /di-file.png which is actually /file.png on the disk will be now in /images/file.png
Second step: Run the update tool
At this point Chevereto will believe that this files comes from 2.0 and not from this CFcrap image host script. Once the process is completed, all the files will be in /old and Chevereto will map the /images/file.png request to /images/old/file.png
Third step: Do the .htaccess magic
So, thing is that the images are there on the dB but what about the old request? No problem, you will need to add a rule in the Chevereto's root .htaccess (place it just below the api rule).
Take care to use the correct images folder.
Done!, You should be on the killer Chevereto!
PS: This guide is a Work in Progress. Please try it and ask me if you got any problems with it. Also if you have managed to do the migration please post your success history.
What we are going to do?
We will do a little set-up to make Chevereto run the update tool with the CF image files. This files will be work as usual and they will get moved to the /old directory (just like update from Chevereto 2.0).
First step: Move the files
You will need to move the uploaded files to the Chevereto image dir. The default dir is /images but this is up to you (your folder could be /i, /img, etc). So the result is that a file like /di-file.png which is actually /file.png on the disk will be now in /images/file.png
Second step: Run the update tool
At this point Chevereto will believe that this files comes from 2.0 and not from this CF
Third step: Do the .htaccess magic
So, thing is that the images are there on the dB but what about the old request? No problem, you will need to add a rule in the Chevereto's root .htaccess (place it just below the api rule).
Code:
RewriteRule ^di-(.*)?$ images/old/$1 [L]
Take care to use the correct images folder.
Done!, You should be on the killer Chevereto!
PS: This guide is a Work in Progress. Please try it and ask me if you got any problems with it. Also if you have managed to do the migration please post your success history.