Skip to content

Locally hosted images not showing....

edited November 2012 in Questions
Hi Ben,

Sorry to hassle you again today but I think I'm nearly there.....

Locally hosted images aren't showing up in my emails, just a red x. They are uploaded to the uploads folder but they aren't visible within the email or the preview.

If I view the image source from the preview page I get - http://green.hgluk.com/w/uploads/1352904626.jpg which seems to be unavailable. I've set permissions on the uploads folder to 777, full access for all.

Comments

  • No worries. Can you verify that the image, 1352904626.jpg is in the uploads folder?
  • http://green.hgluk.com/uploads/1352904626.jpg is available....

    I'm not sure what the w refers to...
  • Yes it's in there
  • I just tested the image again and it's loading now.
  • ok, I just created a new campaign, again the local image doesn't show in the preview. If I view source it gives the address http://green.hgluk.com/w/uploads/1352905618.jpg which doesn't work, error 404.

    However, if I remove the /w and try http://green.hgluk.com/uploads/1352905618.jpg I can see the image.
  • If you don't mind, can I log back in to your installation and find some clues?
  • Yep, help yourself.
  • Here's what I found.

    Your image HTML code doesn't include the full path to the image:

    <p><img src="uploads/1352905618.jpg" style=""></p>

    I uploaded a test image via the WYSIWYG editor and here's my HTML code:

    <p><img src="http://green.hgluk.com/uploads/1352906900.jpg" style=""></p>

    You need to include the full path to your images. If you send newsletters to your subscribers with relative path images, all images will not be loaded.
  • Yes, I see that, when I upload via the wysiwyg it only puts in the partial path.......I can edit it myself but I don't think the end users will be able to. Is there something in my config that's causing only the partial path to be entered?
  • The image that you see in my test is uploaded using the WYSIWYG editor, and it includes the full path though.

    As you can see I've attached a screenshot of the code here:

    image

    It includes the application path APP_PATH.
  • ok, I've got it, I've been testing it out on a mac this afternoon, works fine on my PC. The guys using it are pc based so that's fine with me.

    I've just seen a link appear saying version 1.1.0 is out, smtp sending?
  • I'm using a Mac though.

    Yes 1.1.0 is out, with SMTP sending.
  • odd then, it must be something to do with the setup on my mac. In anycase it seems sendy is running ok.
  • Good to hear. I'll now close this thread.
This discussion has been closed.