Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-04-21 08:15:53

geoffhlbuzz
Member
Registered: 2012-09-26
Posts: 33

Inline Images in Text block

I am currently converting my website from CE3 to CE4.

Mostly this is going well but Images within the text block are not appearing - just the original html instruction. (which worked under CE3).

The website is http://turning.geoffhawkins.me.uk
The problem can be seen in the Galleries>Member Galleries. 
The text block intro should show a picture.

Can you point me towards a solution?

Regards

Last edited by geoffhlbuzz (2015-04-22 05:41:17)

Offline

#2 2015-04-21 08:35:18

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Inline Images in Text block

make sure you've got a line break after the h2 heading. That is, make sure you've done the space, space, CTRL-Enter thing in lightroom after ##Member Galleries. Then add the html


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2015-04-21 09:07:54

geoffhlbuzz
Member
Registered: 2012-09-26
Posts: 33

Re: Inline Images in Text block

I've tried that but it made no difference.  (Mac - opt + return for new line).

This is being done within Publisher.

Offline

#4 2015-04-21 09:19:12

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Inline Images in Text block

have you tried first writing it in a plain text editor and then pasting it in?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2015-04-21 09:28:02

geoffhlbuzz
Member
Registered: 2012-09-26
Posts: 33

Re: Inline Images in Text block

No - what I have there is as automatically imported by the CE3/CE4 conversion process.

I'll try re-working them in Coda tomorrow and let you know..
Thanks for your help.

Offline

#6 2015-04-21 09:47:05

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Inline Images in Text block

It would be helpful to see what you're entering into Publisher and how its formatted.


Matt

The Turning Gate, http://theturninggate.net

Offline

#7 2015-04-21 15:21:29

geoffhlbuzz
Member
Registered: 2012-09-26
Posts: 33

Re: Inline Images in Text block

This is the block pasted directly from Coda - as created for the CE3 version of the site...

Quote
##Alwyn Moorbey Gallery##

<img alt="Alwyn Moorbey photo"
src="http://turning.geoffhawkins.me.uk/galleries/member_galleries_2013/GalBlock_thumb/AlwynMoorbeyGallery2013.jpg"
style="width: Auto; height: 185px; margin: 5px 20px 5px 10px;"
class="float-left" />

Alwyn regularly shows high quality pieces.  He is currently working on a 30inch high goblet...

Included in his gallery are goblets, platters, salt and pepper shakers, Saturn Rings boxes, pens, hollow forms, mushrooms, toothpick holder, bowls and lidded boxes.
Unquote

I tried re-importing with the same result.  My current thought is that a setting needs to be changed in the Gallery template or the AutoIndex template to permit the image in the Block...

Tried something else - perhaps the URL is wrong...  I am using 1&1.
Using Transmit ...
Copy of URL from CE4 site:
sftp://geoffhawkins.me.uk//turningclub/galleries/007_member_galleries_2013/GalBlock_thumb/AlwynMoorbeyGallery2013.jpg

Note the //    is this perhaps a sub-domain marker?

If I enter http://turning.geoffhawkins.me.uk/galle … ry2013.jpg as an address in my Safari browser I get a 1&1 message that "the domain has just been registered"

The sftp rings a bell with earlier problems resolved by Ben ???


Update - 29/Apr/2015 -   the class="float-left" of CE3 has been superceded by the class="alignleft" in CE4 (this again allows multi line text within the height of the image).

Last edited by geoffhlbuzz (2015-04-30 02:19:34)

Offline

#8 2015-04-21 17:58:41

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Inline Images in Text block

For starters, Markdown isn't like HTML; it doesn't need to be terminated. So your H2 should simply be:

## Alwyn Moorbey Gallery

Note the space following ##.


Matt

The Turning Gate, http://theturninggate.net

Offline

#9 2015-04-21 22:05:54

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Inline Images in Text block

two problems:

First, there are extra line breaks in the code. Copy it all into a text editor.
remove the second set of ##
take out the line break after the heading so that the next line comes directly after ##Alwyn Moorbey Gallery
use space, space enter

In the rest of the code, remove all the line breaks.

##Alwyn Moorbey Gallery  
<img alt="Alwyn Moorbey photo" src="http://turning.geoffhawkins.me.uk/galleries/member_galleries_2013/GalBlock_thumb/AlwynMoorbeyGallery2013.jpg" style="width: Auto; height: 185px; margin: 5px 20px 5px 10px;"class="float-left" />

second problem is that the url to the image leads to a landing page for your host. Just correct that url.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#10 2015-04-22 05:19:26

geoffhlbuzz
Member
Registered: 2012-09-26
Posts: 33

Re: Inline Images in Text block

Thanks - that has resolved the problem.   I cut and pasted the original CE3 code to test the original problem - what is the difference between  CE3 and CE4 to stop it working...

The way the URL is accepted is different -   the original used the form of my sub-domain address   http://turning.geoffhawkins.me.uk/galleries...etc.   CE4 needs the full domain  i.e.  http://geoffhawkins.me.uk/turningclub/galleries ... etc.     Just when I think I'm beginning to understand ...

Offline

#11 2015-04-22 05:49:38

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Inline Images in Text block

is geoffhawkins.me.uk already a subdomain?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#12 2015-04-22 06:13:18

geoffhlbuzz
Member
Registered: 2012-09-26
Posts: 33

Re: Inline Images in Text block

No that is my principal domain and I have a number of sub-domains  one of which is turning.geoffhawkins.me.uk

Offline

#13 2015-04-22 07:36:26

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Inline Images in Text block

I've got no problems with including images from sub-domains. Wonder if it has to do with how your host maps sub-domains (not that I know much about it....)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

Board footer

Powered by FluxBB