Closed cat-zeppelin closed 4 years ago
Hi,
You can have a look at the documentation here:
and set use_loc_size
to FALSE
@davidgohel thanks a lot. awesome package.
To be frank, it was no so clear that secifying width/height in external_img also require a special argument to be set outside. IMHO, use_loc_size should be "FALSE" (or even removed) by default, since usually people use explicit dimensions. Another one argument is that this argument (accordinglly to the documentation) is only used for external_img content type, thus shoud be inside external_img.
In any case, thank you.
it was no so clear that secifying width/height in external_img also require a special argument to be set outside
I don't know what else to do. It's in the manual! If you read the manual, you find it. If you don't read the manual and open an issue on GH and I provide the answer, you complain it's not clear.
IMHO, use_loc_size should be "FALSE" (or even removed) by default,
use_loc_size
is there because some users sometimes need the image to fit the placeholder, other need the image to respect external_img
width and height.
All ph_with
methods are by default filling the space defined by the placeholder. I can change the default value to TRUE (and introduce an exception...) but tomorrow I will have to explain to someone else that some users wanted that parameter to TRUE and now they have to define the value explicitly to FALSE.
Can you use external_img
for word documents as well? Sorry if its unrelated, but I am researching a fix for my own GitHub posted question to do this with officedown
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
Hello. I'm trying to add an image to a Power Point presentation using external_img but regardless "height" and "width" parameters I pass to external_img the size of the image is always the same.
Session Info: