meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
plugin:inlineimage [2016/06/30 08:23] – duncanc | plugin:inlineimage [2024/05/20 00:00] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Inline Images ====== | ||
+ | |||
+ | ---- plugin ---- | ||
+ | |||
+ | description: | ||
+ | author | ||
+ | email : alesikar@mac.com | ||
+ | type : | ||
+ | lastupdate : 2015-10-05 | ||
+ | compatible : 3.x | ||
+ | depends | ||
+ | conflicts | ||
+ | similar | ||
+ | tags : inline, embedded, image, attachment, | ||
+ | |||
+ | downloadurl: | ||
+ | bugtracker : https:// | ||
+ | sourcerepo : https:// | ||
+ | donationurl: | ||
+ | |||
+ | screenshot_img : | ||
+ | ---- | ||
+ | |||
+ | Images can be embedded in the content of messages or in a template or footer as inline attachments, | ||
+ | |||
+ | === Change Log === | ||
+ | |||
+ | * 1.0a1 - Still in final testing; modifications may still be made | ||
+ | * 1.0a2 - The first public release | ||
+ | * 1.0a3 - Fixed a minor problem in listing uploaded images | ||
+ | * 2.0a1 - A complete redesign with very great simplification of the plugin. | ||
+ | * 2.0a2 - Fixed a typo producing a database error message when a campaign is queued | ||
+ | * 2.0a3 - Fixed a serious logic error that could result in jumbling the order of image appearance in a message. Also now allow for re-editing suspended messages | ||
+ | * 2.0a4 - Test messages now show the inline images. Images are not attached to messages for users preferring plain text. Oldest image files are removed when image directory exceeds 5 MB. | ||
+ | |||
+ | **The author has given up Phplist development. This plugin is no longer actively supported** | ||
+ | |||
+ | |||
+ | |||
+ | ===== Installation ===== | ||
+ | ===Updating from Version 1=== | ||
+ | Before installing the new version, be sure to disable the current version on the plugins page of Phplist. | ||
+ | Upload the new version **manually**. Then reload the plugins page and enable the new version. The database will be updated when the new version is enabled. | ||
+ | |||
+ | ===Installing the Plugin in the Absence of Version 1=== | ||
+ | Install the plugin using the [[plugin: | ||
+ | |||
+ | Instead of using the installer, you can download the files using the URL above, unzip them and then upload the file // | ||
+ | |||
+ | And of course **make sure that this plugin is enabled, before you attempt to use it**. | ||
+ | |||
+ | This plugin adds two tables to the Phplist database, one named '< | ||
+ | ===== Configuration and Settings ===== | ||
+ | None. | ||
+ | ===== Discussion ===== | ||
+ | Embedding images into a message is now very simple. Just lay out your message with images as you normally would. Once you are satisfied with the layout, then use the editor to go into the source. Then for each embedded image that you want to attach to the message, edit the image tag to be a member of the CSS class " | ||
+ | |||
+ | As an example, suppose you have the following image tag in your message: | ||
+ | < | ||
+ | You can attach this image to your message merely by inserting ' | ||
+ | < | ||
+ | You can put the class property anywhere in the tag that makes valid HTML. If, for some reason, there is already a class attribute in the tag, merely add ' | ||
+ | < | ||
+ | would become | ||
+ | < | ||
+ | |||
+ | Images that belong to the class " | ||
+ | |||
+ | **NOTE WELL: the ' | ||
+ | |||
+ | **The plugin restricts the total size of all the images attached to the message. The total size cannot be larger than 100kB**. You will not be allowed to put your message in the queue for sending if this limit is exceeded. | ||
+ | ====Inserting embedded images into a template or a footer==== | ||
+ | There is no special procedure for inserting inline images into a template. Merely put your image tag into the template or a footer and make the image tag a member of the CSS class “inline”, | ||
+ | |||
+ | You can use this procedure **instead** of the [[http:// | ||
+ | ====Test Messages==== | ||
+ | You can send a test message that will show your inline images exactly as they will appear in the message sent out to your subscribers. | ||
+ | |||
+ | If attempting to send a test message results in a error message: | ||
+ | |||
+ | " | ||
+ | |||
+ | then there is something wrong with one or more images that you have embedded in the message. If there is such a problem, the plugin will not allow the message to be queued for distribution. | ||
+ | |||
+ | The reason for this message will be written to the System Event Log. |