×

info

Dear guests,
You are currently on the old forum we kept as a knowledge base. You will find the new community forum here
Welcome, Guest
Username: Password: Remember me
Keyword

TOPIC: Intro Images Not Showing in Newsletter

Intro Images Not Showing in Newsletter 3 years 8 months ago #106314

  • Anonymous user
  • communications's Avatar
  • Posts: 71
  • Karma: 0
Hi,

We've been trying to use the Joomla Images and Links tab to add the intro image, rather than put it in the body of the article, as you recommended in a different thread. But when we do that, the image does not show up in the newsletter at all.

Here is the tag we are using:

{autocontent:21-48-49-50-| min:1| max:1| start:7|order:publish_up,DESC|filter:created| type:intro| link | pict:1| format:TOP_LEFT| template:tagcontent.php}

On the website, the intro image is there in the article, but not in the newsletter. If we put it in the body of the article, before the Read More, it does show up in the newsletter, but not if it's only in the Intro Image field.

Is there something else I should be doing?

Thanks,
Matt
Please log in to post a reply

Intro Images Not Showing in Newsletter 3 years 7 months ago #106356

  • Dax
  • Dax's Avatar
  • Posts: 6423
  • Karma: 227
Hello Matt,

First of all, do you have the latest version of AcyMailing? If not, you should update it.
I can also see that you are using a custom layout that you created (that totally replaces the plugin's output), did you make sure that your custom layout displays the picture by using the {picthtml} syntax?

Jeremy
-AcyMailing developer-
This email address is being protected from spambots. You need JavaScript enabled to view it.

I helped you? The best way to thank me is to post a review on the JED :laugh:

Do not hesitate to illustrate your messages with screenshots, I love images :)
Always consult our tutorials before asking a question on our forum, the answer is surely there ;)

Hey look at our Video tutorials, It's really helpful to understand how Acy works!
Please log in to post a reply

Intro Images Not Showing in Newsletter 3 years 7 months ago #106364

  • Anonymous user
  • communications's Avatar
  • Posts: 71
  • Karma: 0
Yes, Enterprise 5.6.0.

I'm not sure what you mean by a custom layout. I'm using a template that I made in AcyMailing -- is that what you mean? I don't know how it would replace the plugins output -- I don't know enough to do that, and I don't know what the picthtml syntax is.

I'm sorry to be dense, but I really have no idea what you are talking about. I've included the entire code of the template below, just deleting the id info. Did I do something accidentally that overrides the plugin? Or are you talking about something else entirely?

Thanks,
Matt
<div align="center" style="width:100%; background-color:#ffffff; padding-bottom:20px; margin-top:-16px;">
<p style="padding-bottom: 10px; padding-top: 11px; background-color:#eeeeee; line-height: 14px ! important; text-align: center;"><a href="{readonline|template:notemplate}{/readonline}" style="text-decoration:none;" target="_blank"><span class="acymailing_online">Highlights, news, and stories from The ... community.<br />
Click here to view as a webpage.</span></a></p>

<table bgcolor="#ffffff" cellpadding="0" cellspacing="3" style="width: 600px;">
	<tbody class="acyeditor_sortable">
		<tr class="acyeditor_delete" title="Deletable">
			<td style="text-align: center; padding:20px 0px 23px 0px;"><img alt="" height="71" src="http://www.....org/media/com_acymailing/templates/digest16/images/..._blue_nn.png" style=" height:71px;  width:300px; " width="300" /></td>
		</tr>
		<tr class="acyeditor_delete" title="Deletable">
			<td class="acyeditor_text" title="Editable (Text)
Deletable">
			<hr align="center" color="#E0E0E0" size="1px" width="100%" />
			<p style="margin: -5px 0px -5px 0px; text-align: center;"><em><span style="font-size: 14px;"><span style="color:#696969;">{date:%B %d, %Y}</span></span></em></p>

			<hr align="center" color="#E0E0E0" size="1px" width="100%" /></td>
		</tr>
	</tbody>
</table>

<table bgcolor="#ffffff" cellpadding="0" cellspacing="3" style="width: 600px;">
	<tbody class="acyeditor_sortable">
		<tr class="acyeditor_delete" title="Deletable">
			<td class="acyeditor_text" style="text-align: center;" title="Editable (Text)
Deletable">
			<p style="text-align: left;"><span style="font-size:16px;"><span style="color: rgb(0, 130, 186);"><em><span style="font-family: verdana,geneva,sans-serif;">Featured Stories</span></em></span></span></p>

			<p style="padding-top: 20px; text-align: left; padding-top: -5px;"><span style="font-size:16px;"><span style="font-family: georgia,serif;">{autocontent:97-| min:1| max:1| order:publish_up,DESC| type:intro| link | pict:resized| maxwidth:600| maxheight:600| format:TOP_IMG| template:tagcontent.php}</span></span></p>

			<hr align="center" color="#E0E0E0" size="1px" width="90%" />
			<p style="padding-top: 20px; text-align: left; padding-top: -5px;"><span style="font-size:16px;"><span style="font-family: georgia,serif;">{autocontent:97-| min:1| max:1| start:1|order:publish_up,DESC| type:intro| link | pict:resized| maxwidth:600| maxheight:600| format:TOP_IMG| template:tagcontent.php}</span></span></p>

			<hr align="center" color="#E0E0E0" size="1px" width="90%" />
			<p style="padding-top: 20px; text-align: left; padding-top: -5px;"><span style="font-size:16px;"><span style="font-family: georgia,serif;">{autocontent:97-| min:1| max:1| start:2|order:publish_up,DESC| type:intro| link | pict:resized| maxwidth:600| maxheight:600| format:TOP_IMG| template:tagcontent.php}</span></span></p>

			<hr align="center" color="#E0E0E0" size="1px" width="90%" />
			<p style="padding-top: 20px; text-align: left; padding-top: -5px;"><span style="font-size:16px;"><span style="font-family: georgia,serif;">{autocontent:97-| min:1| max:1| start:3|order:publish_up,DESC| type:intro| link | pict:resized| maxwidth:600| maxheight:600| format:TOP_IMG| template:tagcontent.php}</span></span></p>

			<hr align="center" color="#E0E0E0" size="1px" width="90%" />
			<p style="padding-top: 20px; text-align: left; padding-top: -5px;"><span style="font-size:16px;"><span style="font-family: georgia,serif;">{autocontent:97-| min:1| max:1| start:4|order:publish_up,DESC| type:intro| link | pict:resized| maxwidth:600| maxheight:600| format:TOP_IMG| template:tagcontent.php}</span></span></p>

			<hr align="center" color="#E0E0E0" size="1px" width="90%" /></td>
		</tr>
	</tbody>
</table>

<table bgcolor="#ffffff" cellpadding="0" cellspacing="3" style="width: 600px;">
	<tbody class="acyeditor_sortable">
		<tr class="acyeditor_delete" title="Deletable">
			<td class="acyeditor_text" style="text-align: center;" title="Editable (Text)
Deletable">
			<p style="text-align: left;"><em><span style="font-size:16px;"><span style="color: rgb(0, 130, 186);"><span style="font-family: verdana,geneva,sans-serif;">Community News</span></span></span></em></p>

			<p style="text-align: left; padding-top: -5px;"><span style="font-size:16px;"><span style="font-family: georgia,serif;">{autocontent:21-48-49-50-| min:1| max:1| order:publish_up,DESC|filter:created| type:intro| link | pict:1| format:TOP_LEFT| template:tagcontent.php}</span></span></p>

			<hr align="center" color="#E0E0E0" size="1px" width="90%" />
			<p style="text-align: left; padding-top: -5px;"><span style="font-size:16px;"><span style="font-family: georgia,serif;">{autocontent:21-48-49-50-| min:1| max:1| start:1|order:publish_up,DESC|filter:created| type:intro| link | pict:1| format:TOP_LEFT| template:tagcontent.php}</span></span></p>

			<hr align="center" color="#E0E0E0" size="1px" width="90%" />
			<p style="text-align: left; padding-top: -5px;"><span style="font-size:16px;"><span style="font-family: georgia,serif;">{autocontent:21-48-49-50-| min:1| max:1| start:2|order:publish_up,DESC|filter:created| type:intro| link | pict:1| format:TOP_LEFT| template:tagcontent.php}</span></span></p>

			<hr align="center" color="#E0E0E0" size="1px" width="90%" />
			<p style="text-align: left; padding-top: -5px;"><span style="font-size:16px;"><span style="font-family: georgia,serif;">{autocontent:21-48-49-50-| min:1| max:1| start:3|order:publish_up,DESC|filter:created| type:intro| link | pict:1| format:TOP_LEFT| template:tagcontent.php}</span></span></p>

			<hr align="center" color="#E0E0E0" size="1px" width="90%" />
			<p style="text-align: left; padding-top: -5px;"><span style="font-size:16px;"><span style="font-family: georgia,serif;">{autocontent:21-48-49-50-| min:1| max:1| start:4|order:publish_up,DESC|filter:created| type:intro| link | pict:1| format:TOP_LEFT| template:tagcontent.php}</span></span></p>

			<hr align="center" color="#E0E0E0" size="1px" width="90%" /></td>
		</tr>
	</tbody>
</table>

<table bgcolor="#ffffff" cellpadding="0" cellspacing="3" style="width: 600px;">
	<tbody class="acyeditor_sortable">
		<tr class="acyeditor_delete" title="Deletable">
			<td class="acyeditor_text" style="text-align: center;" title="Editable (Text)
Deletable">
			<p style="text-align: left; padding-top: -5px;"><strong><span style="font-family:verdana,geneva,sans-serif;"><span style="font-size: 30px;">Five Questions For</span></span></strong><br />
			<span style="font-family:georgia,serif;"><span style="font-size: 16px;">{autocontent:96-| min:1| max:1| order:publish_up,DESC|filter:created| type:intro| link | pict:1| format:TOP_LEFT| template:tagcontent.php}</span></span></p>

			<hr align="center" color="#E0E0E0" size="1px" width="90%" /></td>
		</tr>
	</tbody>
</table>

<p class="smalllink" style="padding-bottom: 20px; font-size: 12px; color: #9b9b9b; background-color: #eeeeee; line-height: 15px; text-align: center;"><br />
<a href="https://www.facebook.com/..."><img alt="" height="30" src="http://www.....org/media/com_acymailing/templates/digest16/images/facebook.png" style="padding-bottom:10px; height:30px;  width:30px; " width="30" /></a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://vimeo.com/..."><img alt="" height="30" src="http://www.....org/media/com_acymailing/templates/digest16/images/vimeo.png" style="padding-bottom:10px; height:30px;  width:30px; " width="30" /></a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://www.linkedin.com/company/..."><img alt="" height="30" src="http://www.....org/media/com_acymailing/templates/digest16/images/linkedin.png" style="padding-bottom:10px; height:30px;  width:30px; " width="30" /></a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://mailto:communications@....org"><img alt="" height="30" src="http://www.....org/media/com_acymailing/templates/digest16/images/send.png" style="padding-bottom:10px; height:30px;  width:30px; " width="30" /></a><br />
The weekly digest is published every Friday. If you have any news, stories, or highlights to share, please contact ... Notes<br />
editor ... at (650) 350 - 4583 or at <a href="...>...</a><br />
<br />
The ...&nbsp; |&nbsp; ...&nbsp; |&nbsp; ...<br />
<a href="http://....org">www.....org</a></p>
</div>
Please log in to post a reply

Intro Images Not Showing in Newsletter 3 years 7 months ago #106366

  • Dax
  • Dax's Avatar
  • Posts: 6423
  • Karma: 227
I'm using a template that I made in AcyMailing -- is that what you mean?
Yes.
I don't know how it would replace the plugins output
As I said, your custom template totally overrides the plugin's output (so you must display yourself the elements of the articles such as the title, description, image, readmore... based on the options you choose when inserting the tags).
I don't know what the picthtml syntax is.
You can find this information here ;) :
Insert_Joomla_articles_in_your_newsletter_-_Google_Chrome_2016-12-06_15_27_27.png



Jeremy
-AcyMailing developer-
This email address is being protected from spambots. You need JavaScript enabled to view it.

I helped you? The best way to thank me is to post a review on the JED :laugh:

Do not hesitate to illustrate your messages with screenshots, I love images :)
Always consult our tutorials before asking a question on our forum, the answer is surely there ;)

Hey look at our Video tutorials, It's really helpful to understand how Acy works!
Please log in to post a reply

Intro Images Not Showing in Newsletter 3 years 7 months ago #106369

  • Anonymous user
  • communications's Avatar
  • Posts: 71
  • Karma: 0
Ahhhhhhh, ok, now I see what you are talking about. I thought you were referring to the custom newsletter template, but I see now that you meant the custom plugin template.

So, I added the picthtml to the plugin template, and we are now seeing the picture. Yay!

However, no matter what I do, I can't seem to control the size of the pic. Here is the template now:
<div class="acymailing_content">
<a href="{link}" name="content-{id}" target="_blank" >
<h2 class="acymailing_title">{title}</h2>
</a>
{picthtml} {introtext}
<a href="{link}" target="_blank" >Read More </a>
</div>

and here is the tag:
{autocontent:21-48-49-50-| min:1| max:1| start:7|order:publish_up,DESC|filter:created| type:intro| link | pict:resized| maxwidth:150| maxheight:150| format:TOP_LEFT| template:tagcontent.php}

but no matter what I set that maxwidth and maxheight to, the picture always stays the same size, way too big. If I take out the maxheight and just leave the maxwidth, then it assumes a different size, way too small, which doesn't change no matter what I set it to. If I don't set a size at all, then it's tiny.

Is there some other setting I'm missing, or something else, that controls the size of the picture?

Thanks,
Matt
Please log in to post a reply

Intro Images Not Showing in Newsletter 3 years 7 months ago #106385

  • Dax
  • Dax's Avatar
  • Posts: 6423
  • Karma: 227
Hello,

By default, the "maxwidth" and "maxheight" are set to 150 if not specified (you can set another default value in the plugin's configuration page).
The ratio of the images will never be modified when resized, so if you set maxwidth=150 and maxheight=150 and that the original image is like this:

◄==========528==========►
..................................................▲
.................................................. |
.................................................. |
.................................................. |
.................................................. |
.................................................. 9
.................................................. 5
.................................................. 0
.................................................. |
.................................................. |
.................................................. |
.................................................. |
..................................................▼

It will be resized to:

◄====83====►
.........................▲
......................... |
......................... 1
......................... 5
......................... 0
......................... |
.........................▼


If the original image was:

◄================950================►
...........................................................................▲
........................................................................... |
........................................................................... 5
........................................................................... 2
........................................................................... 8
........................................................................... |
...........................................................................▼

It will be resized to:

◄=======150=======►
.......................................▲
....................................... 8
....................................... 3
.......................................▼
-AcyMailing developer-
This email address is being protected from spambots. You need JavaScript enabled to view it.

I helped you? The best way to thank me is to post a review on the JED :laugh:

Do not hesitate to illustrate your messages with screenshots, I love images :)
Always consult our tutorials before asking a question on our forum, the answer is surely there ;)

Hey look at our Video tutorials, It's really helpful to understand how Acy works!
Last Edit: 3 years 7 months ago by Dax.
Please log in to post a reply

Intro Images Not Showing in Newsletter 3 years 7 months ago #106411

  • Anonymous user
  • communications's Avatar
  • Posts: 71
  • Karma: 0
Yes, thanks, I understand all that. The problem is that it is not resizing at all. If I set no height and the width to 150, it appears as the same size as if I set the no height and the width to 500. Same thing happens if I set both width and height to 150 or 500, only it's a different size that won't change.

Thanks,
Matt
Please log in to post a reply

Intro Images Not Showing in Newsletter 3 years 7 months ago #106436

  • Dax
  • Dax's Avatar
  • Posts: 6423
  • Karma: 227
Could you send me a temporary super admin access to your site at This email address is being protected from spambots. You need JavaScript enabled to view it. so that I can have a look at it? Please also add a link to this conversation in your message as reference.
-AcyMailing developer-
This email address is being protected from spambots. You need JavaScript enabled to view it.

I helped you? The best way to thank me is to post a review on the JED :laugh:

Do not hesitate to illustrate your messages with screenshots, I love images :)
Always consult our tutorials before asking a question on our forum, the answer is surely there ;)

Hey look at our Video tutorials, It's really helpful to understand how Acy works!
Please log in to post a reply

Intro Images Not Showing in Newsletter 3 years 7 months ago #106475

  • Anonymous user
  • communications's Avatar
  • Posts: 71
  • Karma: 0
Ok, well, today it seems to be working again. Weird. Sorry to waste your time. I'll let you know if it goes wonky again.

Thanks,
Matt
Please log in to post a reply
Time to create page: 0.295 seconds
Powered by Kunena Forum