![]() |
|
Removing txt files - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Removing txt files (/thread-14002.html) |
Removing txt files - ctdlg - 24-11-2024 Hello, Some years ago, I did use txt files for java scripts. I stopped using txt files, because of codeblocks. And I removed some txt files, some are remaining, and removing them is quite long. I have 2 options : Is there a simple method to remove txt files easily ! What I can do : If a more simple and faster process exists, I will get rid of txt files. Thank you for any suggestion. Removing txt files - acrylian - 25-11-2024 The textobject files will be supported as they are now with the next major release. Just internal code strucutre will change. You need to understand that with the textobject plugin a txt file is "the image". If you delete it you delete the item just as you would delete a normal image. The image with the txt file is just the/a sidecar image that itself is neither an "item" nor in the database. This applies to all "non image" images. If you only remove the txt file the remaining image will become a new image for Zenphoto. Removing txt files - ctdlg - 25-11-2024 Thanks acrylian. I did understand the textobject plugin. Removing txt files - acrylian - 25-11-2024 For a textobject with an sidecar image both are the "Image" technically, they are tied together. You can remove the image but only via ftp and then you get the default textobject thumb. I don't think that the image metadata of a sidecar image file is added to the database as on a normal image since the txt is the "image" here. I have to check that myself actually… |