Red Hat Bugzilla – Bug 612673
publican 2.0 ignoring max_image_width
Last modified: 2010-11-23 23:19:25 EST
I have the max_image_width parameter set to 700 in my publican.cfg file, but it is ignoring it and using 444 instead.
I cannot reproduce this on Fedora 13.
* I downloaded an image 2118 pixels wide -- http://upload.wikimedia.org/wikipedia/commons/5/50/Rue-de-paris-film102jpg.jpg
* renamed the image to "tower.jpg" and placed it in the en-US/images directory of a book
* placed the following in the XML of the book:
<imagedata fileref="images/tower.jpg" format="JPG"/>
<phrase>The Eiffel Tower</phrase>
* set the following in the publican.cfg file:
* built the book.
The image was in the book at apparently full size (I confess I didn't actually measure it, but it wouldn't fit on a monitor 1920 wide without scrolling sideways)
I then set:
The image seemed to be scaled appropriately.
Could you please include the XML that you used and the line from your publican.cfg file?
Created attachment 430484 [details]
Created attachment 430486 [details]
This is happening on every file in the book, naturally. I just uploaded the one; the svn repo is http://svn.devel.redhat.com/cgi-bin/viewvc.cgi/ecs/JON/2.4/Basic_Admin_Guide/en-US/, if you want the whole thing.
Created attachment 430487 [details]
HTML with the sizing at 444px
If it helps, I'm on RHEL 5.4 and the brand is JBoss (package version 1.9-0.el5).
This limit is a policy imposed by the JBoss brand.
[publican-jboss]$ grep max overrides.cfg
It's probably better to discuss this on the internal docs comms channels as it's not related to publican development.