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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-21-2020, 06:17 PM   #16
thiago.eec
Addict
thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.
 
Posts: 300
Karma: 71602
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by BetterRed View Post
I think theducks has it - not working on SVGs.

Aside - what changed in 4.11.1.

BR
It's not just inside SVGs. The code I posted is from an <img> element.
thiago.eec is offline   Reply With Quote
Old 02-21-2020, 06:38 PM   #17
sjfan
Addict
sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.
 
Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
Quote:
Originally Posted by thiago.eec View Post
It's not just inside SVGs. The code I posted is from an <img> element.
Confirmed not working for me in IMG tags, 4.11.1 on Ubuntu 16.04.
sjfan is offline   Reply With Quote
Old 02-21-2020, 06:42 PM   #18
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,141
Karma: 3937949
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by thiago.eec View Post
It's not just inside SVGs. The code I posted is from an <img> element.
I agree, not only inside a svg wrapper but also inside a <img> tag.
RbnJrg is offline   Reply With Quote
Old 02-21-2020, 08:05 PM   #19
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 15,721
Karma: 18415750
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Strange : For me either of these is fine

Code:
<p id="id_fig6_1" class="block_"><img src="images/00012.jpeg" alt="Image" class="calibre9"/></p>

<p><img src="images/00012.jpeg"></p>
I tried to make that one not show the edit options - I failed. Providing the code was valid and I could see an image I got the right click edit image options. See attachment.

The only images on which I don't get the edit options are those inside svg tags e.g.
Code:
<div>
            <svg version="1.1" xmlns="http://www.w3.org/2000/svg"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                width="100%" height="100%" viewBox="0 0 1200 1600"
                preserveAspectRatio="none">
                <image width="1200" height="1600" xlink:href="images/cover.jpg"/>
            </svg>
        </div>
BR
Attached Thumbnails
Click image for larger version

Name:	Annotation 2020-02-22 113241.jpg
Views:	22
Size:	188.2 KB
ID:	177286   Click image for larger version

Name:	Annotation 2020-02-22 120820.jpg
Views:	20
Size:	79.6 KB
ID:	177292  

Last edited by BetterRed; 02-21-2020 at 08:22 PM. Reason: add missing image
BetterRed is offline   Reply With Quote
Old 02-21-2020, 09:32 PM   #20
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 36,240
Karma: 16098999
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Inside svg tags indeed will not work. But normal <img> tags work fine for me.

Does right clicking on the image file in the file browser panel work? That is, do you get an Open With option there?
kovidgoyal is offline   Reply With Quote
Old 02-21-2020, 10:01 PM   #21
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 15,721
Karma: 18415750
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
Does right clicking on the image file in the file browser panel work? That is, do you get an Open With option there?
Of course, I do

If others don't, do the other file types e.g. .xhtml, .css, .opf etc have Open with... options?

BR
BetterRed is offline   Reply With Quote
Old 02-21-2020, 10:02 PM   #22
sjfan
Addict
sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.
 
Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
Quote:
Originally Posted by kovidgoyal View Post
Inside svg tags indeed will not work. But normal <img> tags work fine for me.

Does right clicking on the image file in the file browser panel work? That is, do you get an Open With option there?
If I'm understanding right, yes. I get "Open with..." when I right click in on the file name in the browser, but not on the image in the preview.

Screenshots and test.epub attached.
Attached Thumbnails
Click image for larger version

Name:	context-image.png
Views:	26
Size:	306.1 KB
ID:	177293   Click image for larger version

Name:	context-browser.png
Views:	26
Size:	347.4 KB
ID:	177294  
Attached Files
File Type: epub test.epub (307.0 KB, 11 views)
sjfan is offline   Reply With Quote
Old 02-21-2020, 10:22 PM   #23
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 36,240
Karma: 16098999
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Ah, it is caused by the stupid OEBPS path structure, that I dont use in my books. Will be fixed in the next release.
kovidgoyal is offline   Reply With Quote
Old 02-21-2020, 10:26 PM   #24
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 15,721
Karma: 18415750
Join Date: Mar 2012
Location: Sydney Australia
Device: none
ninja'd by the boss

It's OK Kovid, I'm probably one of the few who ever wished for this feature

BR

Last edited by BetterRed; 02-21-2020 at 10:32 PM.
BetterRed is offline   Reply With Quote
Old 02-22-2020, 06:23 AM   #25
thiago.eec
Addict
thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.thiago.eec knows who John Galt is.
 
Posts: 300
Karma: 71602
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by kovidgoyal View Post
Ah, it is caused by the stupid OEBPS path structure, that I dont use in my books. Will be fixed in the next release.
Thanks. The fix worked!
thiago.eec is offline   Reply With Quote
Old 02-22-2020, 11:58 AM   #26
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,141
Karma: 3937949
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by BetterRed View Post
ninja'd by the boss

It's OK Kovid, I'm probably one of the few who ever wished for this feature

BR
Not only you BR And you are a witness of my case Indeed, a great feature!
RbnJrg 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
full screen preview panel freemp31 Sigil 4 07-02-2019 06:31 PM
Calibre 3.24 edit book preview error larysa Editor 5 05-26-2018 05:31 PM
Auto-hyphenation in Preview Panel? Notjohn Sigil 9 05-28-2017 02:42 PM
Preview Panel Toolbar BetterRed Editor 1 06-23-2014 12:25 AM
How to sync database with 2 pc and preview panel Kosh Library Management 1 04-18-2014 03:21 PM


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


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