Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre Companion

Notices

Reply
 
Thread Tools Search this Thread
Old 09-12-2013, 07:22 PM   #31
PatNY
Zennist
PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.
 
PatNY's Avatar
 
Posts: 928
Karma: 46026034
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
Quote:
Originally Posted by chaley View Post
Experimenting a bit indicates that calibre inserts the image as a URL pointing at the original image. This means that the original image must be visible to clients that show the comments. If the image is somewhere on the web then you will be able see it. If it is in a file on your computer than you won't.

IIRC calibre does some processing when creating book jackets to embed local images into the book so that they display in the jacket. This processing doesn't help CC because the images aren't in the metadata for the book.
Hi Charles,

I was testing only images in the comments section. And I was using only images that are available on the web.

When you click the button in calibre's comments editor window to add an image URL, isn't an image supposed to show up automatically both in Calibre's interface and in CC's book details page after the book is transferred over?

When I insert a URL this way, only the bare link itself is displayed. I can click on that link in the book details page of CC, and then the browser will open on my Nook showing the image on the web. But I believe the image itself is supposed to show.

Images will show up automatically in CC's book details page (as well as Calibre's interface) but only if the image URL is tagged like this:

<img src="http://www.ishs.org/sites/default/files/news-images/tomato.jpg">

Isn't that what Calibre should be doing automatically when you insert an image link? Automatically wrapping the image tag around the URL?

--Pat
PatNY is offline   Reply With Quote
Old 09-13-2013, 05:21 AM   #32
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,909
Karma: 1217216
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by PatNY View Post
Hi Charles,

I was testing only images in the comments section. And I was using only images that are available on the web.

When you click the button in calibre's comments editor window to add an image URL, isn't an image supposed to show up automatically both in Calibre's interface and in CC's book details page after the book is transferred over?
Not necessarily. It depends on what you insert.
Quote:
When I insert a URL this way, only the bare link itself is displayed. I can click on that link in the book details page of CC, and then the browser will open on my Nook showing the image on the web. But I believe the image itself is supposed to show.

Images will show up automatically in CC's book details page (as well as Calibre's interface) but only if the image URL is tagged like this:

<img src="http://www.ishs.org/sites/default/files/news-images/tomato.jpg">

Isn't that what Calibre should be doing automatically when you insert an image link? Automatically wrapping the image tag around the URL?
Things are complicated.

First, when you insert a link with the comments editor, and if what you are inserting is on the internet (not a file on your local machine), then calibre always inserts it as a link ("<a href..."), never an image ("<img href..."). One could perhaps argue that the user should have an option of choosing what sort of link should be inserted, but today you do not have that choice. The only way to get an image link is to insert an img directive either by copying some html that includes a reference to the image or by making one manually using the HTML Source tab.

Second, when you use "Insert link or image" to insert a link to a file, calibre will display the image. It can do this because it can "see" the file and can know what it is. CC cannot see the file on calibre's computer, so it cannot show the image. Related to this: if the comments are included on inserted book jacket, calibre copies the image into the book file (if it can) so that the image is available on the jacket when displayed by a reader.
chaley is offline   Reply With Quote
 
Advertisement
Old 09-13-2013, 12:18 PM   #33
PatNY
Zennist
PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.
 
PatNY's Avatar
 
Posts: 928
Karma: 46026034
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
Quote:
Originally Posted by chaley View Post
First, when you insert a link with the comments editor, and if what you are inserting is on the internet (not a file on your local machine), then calibre always inserts it as a link ("<a href..."), never an image ("<img href..."). One could perhaps argue that the user should have an option of choosing what sort of link should be inserted, but today you do not have that choice.
OK, thanks for the explanation. I misinterpreted the information that's in the window when you insert a link. It says "If the selected file is an image, it will be inserted as an image." I thought that was referring to images on the web, not images on the computer.

At any rate, it would be nice to be able to insert links for images on the web and have them automatically show up as images in the comments.

--Pat
PatNY is offline   Reply With Quote
Old 09-14-2013, 07:30 AM   #34
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,909
Karma: 1217216
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by PatNY View Post
At any rate, it would be nice to be able to insert links for images on the web and have them automatically show up as images in the comments.
Done, and in the next calibre release. There is now a checkbox that you can tick, telling calibre to insert the URL as an image reference instead of a link.
chaley is offline   Reply With Quote
Old 09-15-2013, 10:22 AM   #35
PatNY
Zennist
PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.
 
PatNY's Avatar
 
Posts: 928
Karma: 46026034
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
Quote:
Originally Posted by chaley View Post
Done, and in the next calibre release. There is now a checkbox that you can tick, telling calibre to insert the URL as an image reference instead of a link.
TYVM!

I have a totally non-related question. Is there any way to sort on ratings in CC? Do I have to do something with a custom column to achieve this? Most of my books are not rated, but I have a few 4 or 5 star books that I would like to be able to quickly sort out.

--Pat
PatNY is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Metadata Comments Field - How to best tweak the html? Chris_Snow Library Management 5 08-13-2013 03:58 AM
Do I need to run Calibre content server to use Calibre Companion flyash Calibre 2 04-06-2013 11:19 PM
calibre companion on Galaxy Tab2 no connection with calibre Schwarzenegger1 Calibre Companion 6 02-27-2013 04:44 AM
Calibre (or Calibre Companion) For Fetching News Directly Onto Android Tablets? mojumoka Devices 2 12-11-2012 01:18 PM
Calibre Recipe HTML content differs from raw html of index.html. krunk Calibre 4 09-20-2010 10:48 PM


All times are GMT -4. The time now is 05:02 PM.


MobileRead.com is a privately owned, operated and funded community.