Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-12-2021, 08:10 PM   #1
avnermoshkovitz
Member
avnermoshkovitz began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Jun 2021
Device: Any ereader for Android or iOS
How to view a button's icon when using the CalibreContentServer on the Desktop?

I have an ebook with some javascript that I want to view using calibre.
The ebook has a jquery button with an icon.
I want to view the ebook on mobile with the CalibreContentServer, so first I want to verify thet the CalibreContentServer can view the book properly from the desktop.

Viewing the ebook on the desktop via Calibre is ok - the button shows up with the icon and responds to clicks.
But viewing the ebook on the desktop via CalibreContentServer is not ok - the button responds to clicks ok, but I cannot see the button's icon.

I open the ebook via Chrome, and in devtools I see a GET error:
GET: http://192.168.1.75:8080/img/icons/I...0182-power.png 404 (Not Found)

What should I do to view the button properly when using the CalibreContentServer on the Desktop?

Thanks,
Avi

p.s.
The problem can be see in: https://drive.google.com/file/d/1N69...ew?usp=sharing

Last edited by avnermoshkovitz; 07-12-2021 at 08:13 PM.
avnermoshkovitz is offline   Reply With Quote
Old 07-12-2021, 10:00 PM   #2
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: 45,255
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use a data URI to set the button's image.
kovidgoyal is online now   Reply With Quote
Advert
Old 07-13-2021, 03:17 AM   #3
avnermoshkovitz
Member
avnermoshkovitz began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Jun 2021
Device: Any ereader for Android or iOS
Thanks,
I now use the a data URI, and I can see the icon, in mobile and in desktop, via the Calibre Content Server.

Last edited by avnermoshkovitz; 07-13-2021 at 09:59 PM.
avnermoshkovitz is offline   Reply With Quote
Old 07-13-2021, 08:46 PM   #4
avnermoshkovitz
Member
avnermoshkovitz began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Jun 2021
Device: Any ereader for Android or iOS
Thank you.

Last edited by avnermoshkovitz; 07-13-2021 at 10:00 PM. Reason: moved the rest of the comments to another thread
avnermoshkovitz is offline   Reply With Quote
Old 07-13-2021, 09:58 PM   #5
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: 45,255
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No clue.
kovidgoyal is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
feature request: Removing the desktop icon from install zerovian Calibre 1 07-01-2021 05:29 PM
How do you turn off the automatic desktop icon download with update? pmatch1104 Devices 6 02-22-2015 04:18 PM
Why use a refresh icon for delete button ?. leftright Development 4 07-31-2014 04:23 AM
Kindle icon for Windows desktop? terencek Amazon Kindle 8 07-14-2011 06:06 PM
Desktop icon jstangroome Calibre 6 06-07-2010 04:55 PM


All times are GMT -4. The time now is 10:01 AM.


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