littlelio wrote:Is there any more details information source I could check about how to upload the images to FTP? Or just throw folder and images into content folder?
It's quite logical, and you can pretty much just drop folders and images into the content folder. Your X3 website's page/menu structure will simply be a reflection of the folders within content directory.
If uploading directly by FTP, you should consider your image resizing strategy (since the X3 panel cannot resize for you on upload). It would be counter-productive to upload 5 megapixel images at 5MB, since that is not web-friendly, and depending on server memory allocation, X3 might have problems resizing to preview sizes. It would be best if you transferred images anywhere from 1280 px to 2400 px (long size), as that is within "web friendly" parameters.
littlelio wrote:So we need a trigger such as touch command to the content folder... I am wondering what is my best way to upload the images to the server... in Windows, I used to write a power shell script, to use command to upload a new file to FTP. It is quite basic method but it works... maybe adding touch command after them?
Or some software may help. The main thing I need is to monitor a folder (assuming I use windows), if a new image comes, process it, then upload, then, add touch command in the end. In Linux this may be more straightforward.
Not sure I can offer any more advice. For uploading (synching) new images/folders, ANY process will do as long as the images/folders arrive within the X3 content directory. FTP, SSH or some "synch" application that synchs between local=>server.
As for the
touch command, yes you would need to incorporate it into your workflow somehow. I am not familiar with power shell script, but surely it would have some command or other that can touch a file/dir and modify the date? Or upload a file /config/touch.txt with random content?