No, it indicates that the directory “uploadimages” is needed. But it is better to keep that directory outside of the phplist code, which makes updating phplist simpler. The directory is controlled by the setting UPLOADIMAGES_DIR in config.php.
I did not notice that you have to check off the three things after the body of the template:
Check that all links have a full URL
Check that all images have a full URL
Check that all external images exist
I then checked the off.
After trying to save, it showed the errors in the code of the template:
Errors after saving:
Image images/55901595937351573.jpg => not full URL
Image images/50431595938948520.jpg => not full URL
Image images/50101595938963977.jpg => not full URL
Image images/50041595938975346.jpg => not full URL
Copde for the template:
I did not make the template. But, the way that it is written, it seems to be looking for the folder with in the PHPList folder.
Another note. I can understand that the links do not work. Is it also normal that none of the images uploaded into the uploadimages folder?
You need to use full URLs in the template because relative URLs do not make sense in an email. I think that phplist might try to convert relative URLs to full URLs when it creates each email to be sent but it is probably simpler to use full URLs to begin with.
Thanks for confirming that the “images” subdirectory identiued by the UPLOADIMAGES_DIR is where the files are uploaded.
So, my UPLOADIMAGES_DIR is defined correctly. As you suggested, I put the define(‘UPLOADIMAGES_DIR’, ‘images’); line in my config.php at the end of the file. The folder itself i slocated at the main directory of the domain.
But, when uploading the images, the images were not being uploaded.
That is why I added the images by FTP, just to test the template.
I do not want to have to do it this way in the future.
So, the question remains, why do the images not upload? What can I look at to fix this?
@smokinjo You are now raising different problems to the original one about the image directory. Just leave those checkboxes unchecked, then send a campaign with that template to see whether it is working.