Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
I am trying to include an image on my Contact page (ultimately want this on the About page as well). Following Rod Barbee's excellent tutorial, made an "img" folder inside the Custom folder inside Backlight, uploaded images to it, then included the simplest version of his recommended text in the About page's Page Copy area. But image doesn't show - the "alternate"/error text shows instead.
OK, looking into it a bit more, I think it may be related to how I have set up 3 different sections for my site - "Art" "Commerce" & "Personal". They each display galleries, etc. just fine, and I have tweaked the navigation to make them seem like 3 different sites. But when I use Rod's technique to display an image inline, it seems like I'm getting tripped up by how I have separated the 3 areas.
My backlight folder is at the root of my domain, as in the tutorial. This is the text I pasted into the Page Copy block:
<img src="backlight/custom/img/SmallThings03LR.jpg" width="500" alt="Uh oh, image should display here!">
when I dig out the image address info from the empty image block on my site, I see not the source info I specified, but this:
<http://jwlimages.com/Contact_Art/backli … gs03LR.jpg>
- the addition of the "/Contact_Art/" apparently causes the fail.
How do I get Backlight to not add this error to the file path?
Oh yeah, here's an example of the problem page: <http://jwlimages.com/Contact_Art/>
Thanks!
John
Offline
The img src url is wrong.
It should probably be /backlight/custom/img/filename.jpg (with the slash first)
But this depends on the site setup.
When in doubt, provide the full url to the image (http://yoursite.com/backlight/....)
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Hi Rod,
Thanks for the quick response. Yes, it was as simple as including the slash in front of the url. I don't know how I managed to leave that out.
I trip over the simplest things sometimes!
Regards,
John
Offline
Pages: 1