Error message when I upload template

Hi everyone,

I am getting the following error message after I upload this template:

The following images were not found in the included zip. You may want to include these files in the zip and reimport.

file:///mycomputer/Users/myname/Sites/nameofclient/nameofproject/campaign

That is just part of the path to the zip file. There is no image called campaign.
The full path is:

file:///mycomputer/Users/myname/Sites/nameofclient/nameofproject/campaign monitor/nameofproject/images.zip

And yet the template does make it up in full to my Current Templates collection.
Does this mean that it will not work when it is sent out?

thanks!

Suzy

Mathew Mathew, 7 years ago

Hey Suzy,

Campaign Monitor won't be able to reference images on your local computer, so your best option is to simplify things by putting the HTML and images all in one folder. Change your HTML to use relative references, like src="header.jpg" and then zip up just the images.

That should work fine.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
vermillion, 7 years ago

I get the same thing. I don't have a way to .zip anything - I'm on a Mac and don't have stuffit or anything. And I also get the error that its looking for these images:
<$imagesrc link='true'$>

That is a tag and I will never have actual images in my template or my .zip file with this name so will I never get this template uploaded?

Thanks

Stig Stig, 7 years ago

Hi vermillion,
to zip the images on a Mac, just select them, right click and choose "Create Archive of ...".

Do you still get that error when you include the zip file?

Stig


The Campaign Monitor Blog – HTML email smarts to go with your good looks.
vermillion, 7 years ago

So, yes, that worked. Took me a while to remember that only folders can be archived, not files.

But I still get the error regarding the tags:

<$imagesrc link='true'$>

It says this image isn't found. What could I create as a fake image or whatever else you think might work?

Stig Stig, 7 years ago

Hi,
are you uploading under the templates tab, or as a campaign? If you're using <$imagesrc link='true'$> you should upload it as a template.

Stig


The Campaign Monitor Blog – HTML email smarts to go with your good looks.
phoenixmassey, 7 years ago

It's me again and I am still having trouble. I too have a Mac and I followed your instructions Stig about archiving the images. I am getting the same error message:
   
"The following images were not found in the included zip. You may want to include these files in the zip and reimport.
file:///mycomputer/Users/myname/Sites/nameofclient/nameofproject/campaign"

My template and images are in the same folder with the paths to the images redone the way Matthew recommended (src="header.jpg"). I even tried moving the folder that contains the template and the images to my desktop and uploading it from there. I get the identical error message with the same path. And yet, and yet... when I look at my list of templates, it is there. Is it really?

thanks!

Suzy

vermillion, 7 years ago

Hi Stig,

I'm definitely uploading under Templates. I'm using Camino. Maybe I should switch browsers.

I've been uploading campaigns for months so I'm done with that.


Sorry, there's a problem with your template

Please make the changes we suggest below and then re-import your template.

Problem
Images not found    

The following images were not found in the included zip. You may want to include these files in the zip and reimport.

    * <$imagesrc link='true'$>
    * <$imagesrc link='true'$>
    * <$imagesrc link='true'$>

Stig Stig, 7 years ago

Suzy, you'll have to remove the local folder references from your img-tags. The src-paths need to match the structure of the zip file. If your zip file doesn't have any subfolders, just change the src to the actual filename.

vermillion, this should work the same regardless of which browser you're using. If you email the files to support@campaignmonitor.com, we can have a closer look.

Stig


The Campaign Monitor Blog – HTML email smarts to go with your good looks.
vermillion, 7 years ago

Ok, I will email them. They are essentially the exact same files as are provided in the "Example Template" in the "how to" section.

vermillion, 7 years ago

Got it to work. It seems I had the code:

<img src="&lt;$imagesrc link='true'$&gt;" width="160" height="151" align="right" hspace="10">

with &lt; and &gt; messing it up. I replaced those with <> and its fixed!

Unfortunately isn't validating or anything, and that would be perfect.

Stig Stig, 7 years ago

Hi,

nice work finding that. Validating isn't all that important when coding HTML emails, as long as it works and looks right in email clients.

And in this case, this isn't the final markup, so once the Campaign Monitor tags have been replaced, the HTML may very well validate.

Stig


The Campaign Monitor Blog – HTML email smarts to go with your good looks.

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098