View Single Post
Old 07-27-2014, 08:09 PM   #1
rutmang
Junior Member
rutmang began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2013
Device: Kindle Fire 8.9
recipe to ignore image size constraint on web page

Hello All,

Apologies if this is present elsewhere. I have searched as well as I can and have found some interesting things, but nothing that is getting me where I'd like.

What I would like to do is bring down a Wordpress RSS feed that contains mainly posts of single images. The source of the image is also its hyperlink when the image is clicked on the webpage. Since the image presented on the webpage has been size-constrained, it essentially acts like a very simple "click to enlarge" link, opening the full-sized image as a new page in the browser.

Source looks like this, for example:

<a href="http://path.to.image.com/02-01.jpg"><img src="http://path.to.image.com/02-01.jpg?w=233&h=300"

What I would calibre to do when fetching is simply download and save the image from the "a href=" and present it according to the fetching output profile rather than with the web page's "?w=233&h=300" constraint.

I've looked at a lot of code today and though I had found something close here: https://www.mobileread.com/forums/sho...0&postcount=21

But it didn't seem to perform what I was asking or I didn't place it correctly in the Advanced Mode (which otherwise is all default values).

Trying to learn and appreciate any help! Thanks!
rutmang is offline   Reply With Quote