Images in micro size - Phoca PDF

Phoca PDF - creating PDF documents in Joomla! CMS
vrs-master
Phoca Member
Phoca Member
Posts: 11
Joined: 17 Aug 2017, 21:36

Images in micro size - Phoca PDF

Post by vrs-master »

Hi!

When I create a PDF using Phoca-PDF are all images on the web page presented in the size of just a couple of pixels.
On the web page they are downsized to for instance 350px using the "img" attribute "width".

How come and what to do to have them in the proper size even in the PDF?

vrs-master
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Images in micro size - Phoca PDF

Post by Jan »

Hi, try to see the plugin options and try to change the parameter Image Scale.

Jan
If you find Phoca extensions useful, please support the project
vrs-master
Phoca Member
Phoca Member
Posts: 11
Joined: 17 Aug 2017, 21:36

Re: Images in micro size - Phoca PDF

Post by vrs-master »

The Image Scale was set to 100% and I increased it to 1000%, I deleted it and it was set to 1 (no %) and I set it to 100 (no %) - but nothing made any differens!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Images in micro size - Phoca PDF

Post by Jan »

Does the image gets some inline style (when you look at the source code of the article)?

Jan
If you find Phoca extensions useful, please support the project
vrs-master
Phoca Member
Phoca Member
Posts: 11
Joined: 17 Aug 2017, 21:36

Re: Images in micro size - Phoca PDF

Post by vrs-master »

They have width set to 95% and width is also set in CSS to max 100%.
I have tested to not set the width inline, set it to 100%, to a specific width and height, use inline style settings, tested on pages where the image is inside a table and where it is just floating left of the text – but nothing give me a normal image in the PDF it's still a micro image.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Images in micro size - Phoca PDF

Post by Jan »

Did you try to add e.g. 3 into the parameter (the image will be 3x larger)?

Jan
If you find Phoca extensions useful, please support the project
vrs-master
Phoca Member
Phoca Member
Posts: 11
Joined: 17 Aug 2017, 21:36

Re: Images in micro size - Phoca PDF

Post by vrs-master »

After testing a lot of settings, I finally got the right one – Image Scale 1.5!
And it makes no difference if I use CSS setting for the width/height or the inline settings.

I just wonder – Why 1.5?

Now I have some other questions. But since it's another subject I'll start a new Topic for it.

Thanks for the help so far!
vrs-master
Post Reply