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.
OK, that makes sense. I will be honest, and say that I did not know what the “extended” was for. Until now:)
Now, it says to copy it, as you confirmed.
Where do I put it?
There is t emain section for the connection t the DB.
There is also the section for the mailing of the message.
There is th esection for hanlding bounces.
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:
src=“images/55901595937351573.jpg”
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.
This was in reference to when you upload the images. After I “uploaded” the images, I expected to see copies of the in the uploadedimages folder. They are not there.
Are they not there because the URLs are wrong? If not, why might the uploading of the images not work?
@smokinjo It wasn’t clear to me exactly what you were doing. The image browser/uploader in the phplist editor stores images in the ‘image’ subdirectory of the directory identified by UPLOADIMAGES_DIR.
If you want to use ftp to upload images and then browse those within phplist then you need to upload into the ‘image’ subdirectory.
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?
No, you misunderstand. The phplist image browser looks in “/images/image” directory. Try uploading an image using the image browser, then use ftp to confirm where the image has been placed.
I removed all my images, so that I could upload them again.
I can save the template. Then, I go and check up that the URLs for images and links are all good.
I save it again, but it does not ask me to upload the images like it did before. It skips that part and goes to give me the error that the images are not there.
I did not touch the config files defining the upload folder.
@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.