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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-24-2011, 04:43 PM   #1
khromov
Connoisseur
khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.
 
Posts: 83
Karma: 499304
Join Date: Jul 2011
Device: Kindle
Getting full-size images in your recipe?

Currently working on a recipe, it links to a lot of charts (via thumbs) and Calibre only get the thumbs. Since the href links link directly to the full-size versions I was wondering if there is a way to replace the thumbnails for the larger versions.

What would be the best way to process all links and use the full-size versions that are linked in the href tag? the basic structure is something like.

<a href="/img/11_big.jpg">
<img src="/img/11_small.jpg"/>
</a>

Does anyone have a snippet or is there any built-in function for this in Calibre?
khromov is offline   Reply With Quote
Old 08-25-2011, 09:24 AM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by zapt0 View Post
I was wondering if there is a way to replace the thumbnails for the larger versions.
I'd probably use preprocess_regexps to modify
Code:
<a href="/img/11_big.jpg">
<img src="/img/11_small.jpg"/>
</a>
to
Code:
<a href="/img/11_big.jpg">
<img src="/img/11_big.jpg"/>
</a>
Starson17 is offline   Reply With Quote
Advert
Old 09-07-2011, 01:45 AM   #3
gagsays
Member
gagsays can extract oil from cheesegagsays can extract oil from cheesegagsays can extract oil from cheesegagsays can extract oil from cheesegagsays can extract oil from cheesegagsays can extract oil from cheesegagsays can extract oil from cheesegagsays can extract oil from cheese
 
Posts: 20
Karma: 1000
Join Date: Oct 2009
Device: kindle 3 wifi
Quote:
Originally Posted by Starson17 View Post
I'd probably use preprocess_regexps to modify
Code:
<a href="/img/11_big.jpg">
<img src="/img/11_small.jpg"/>
</a>
to
Code:
<a href="/img/11_big.jpg">
<img src="/img/11_big.jpg"/>
</a>
I am new to recipe making. Can u help me with this exact problem.
gagsays 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
Help Please! WiFi prob on EE full size. jonnickell enTourage eDGe 15 06-16-2011 07:30 PM
Display images full-screen? jttraverse ePub 3 01-09-2011 04:59 AM
Full size photo size v. Screensaver size? FF2 Amazon Kindle 5 12-19-2010 11:02 PM
Full page images graywolf336 ePub 3 11-17-2010 02:05 PM
Full-Screen images on the K2? Thorkin Amazon Kindle 1 03-12-2009 07:48 PM


All times are GMT -4. The time now is 09:32 AM.


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