View Single Post
Old 03-02-2024, 11:31 AM   #15
tgiladi
Enthusiast
tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Posts: 35
Karma: 30486
Join Date: Dec 2023
Device: Kindle Oasis
Thanks a lot for trying to help
I am using this code in the template.xhtml file to create the jacket (this is at the bottom of the code):
Code:
<div class="cbj_comments">{comments}
			<p align="center">* * *</p>
			<p> </p>
			<table border="0" style="border-collapse: collapse" cellspacing="4" cellpadding="4">
				<tbody><tr>
					<td bgcolor="transparent" style="vertical-align: top">
						<p dir="rtl" style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; background-color: transparent">{_author_details}</p></td>
					<td width="120" bgcolor="transparent" style="vertical-align: top">
						<p align="center" dir="rtl" style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; background-color: transparent"><img src="{_author_image}" width="100" style="vertical-align: top"></p></td>
				</tr></tbody>
			</table>
		</div>
This code works well for getting the text I have in the custom column called "author_details". The problem is with my other column, "author_image".
That column has an image encoded in base64, so it's really just a long string. I have this column set to display as html. But when the jacket is created, the <img> tag gets this addition to it:
Code:
<img src="&lt;p class=" description_=""/>
This is then followed by the string from the column. If I remove this manually, as well as anothr </p> tag added at the end of the string, then the image is presented properly. There is an additional added at the end &gt; but it's enough to remove just the first two additions.
I guess I could go in and fix it manually every time, but that's not much different than how I did it in the beginning (with your help )
If only I could somehow pull the information stored in the author notes and use it in the template.xhtml, that would have solved the problem. I thought it might be a property like {author.notes}, but that didn't work.
tgiladi is offline   Reply With Quote