Page 1 of 1
$50USD reward for PDF Image Output
Posted: Tue Mar 07, 2006 2:11 am
by elvisanderson
Hi All,
I'm looking for the Blog PDF Output plugin to include the images from the blog. I don't care if they have to remain in the same area on each page throughout the document. Only Jpeg's required. I'll pay $50usd through paypal. Any questions, please PM me. Will need PDF receipt at end of job (images optional

.
Thanks,
Clayton
Re: $50USD reward for PDF Image Output
Posted: Tue Mar 07, 2006 12:47 pm
by garvinhicking
Even though we talked via mail about it, I still don't understand:
Do you want to
a.) Display the images that are embedded within each article to show up in the PDF
or
b.) Display a single image as the logo of your blog on the first (or on each) page of the PDF?
Option "a" is hard to solve and might require external commercial PDF server libraries. Option "b" is easy to solve, but IMHO not really helpful.
Regards,
Garvin
Posted: Tue Mar 07, 2006 4:08 pm
by elvisanderson
Hi Garvin,
I'm definitely looking for option A. I already have included a line in the header:
$this->Image('
http://www.adventurecanada.com/acblog/images/aclogo.jpg', 150, 8, 50, '', '', '
http://www.adventurecanada.com');
Which puts our logo in the top corner of each page in the PDF... What I want to do is insert the individual images from each page.
I thought just calling a variable that includes the URL would work, but I have no idea how to do that

Posted: Tue Mar 07, 2006 4:18 pm
by garvinhicking
The technical problem for this is that an entry might span multiple pages, and might occur at the top or bottom of a PDF page. So you need to parse each and every page and get the X/Y coordinates, then parse the whole entry to see which images appear, and then call the PDF functions to insert those images, and then calculate how the X/Y coordinates need to be advanced.
That's a considerable overhead, because rendering HTML is a tough job. :-/
Having said that: I would love if a developer would volunteer for this. I'd throw in an extra 15$ if the image parsing is included and pays attention to where within an entry an image it placed. So that when an author includes an entry at the bottom of his entry, that's where the picutre would show up in the entry, not in the top of the entry...
Regards,
Garvin
Posted: Tue Mar 07, 2006 6:27 pm
by elvisanderson
What if we wanted to be simpler specify the X/Y co-ordinates in advance for the image on each page, as long as you're OK with a template style look.
Posted: Tue Mar 07, 2006 6:39 pm
by garvinhicking
I think that wouldn't work well, to force editors to not only insert an image with the media database, but to also specify X/Y coordinates in a seperate panel.
Plus, an editor also doesn't now the X/Y coordinate of his entry, because it might change depending on which other entries are shown previously in the PDF. Sometimes the article might be on top of the page, sometimes it would span 2 pages, sometime it would begin in the middle of a page...?
Regards,
Garvin