Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author EDGARROJAS

    (@edgarrojas)

    I see, are you using the latest version of the plugin? and what kind of image is (jpeg, png etc), i can’t access the links.

    Thread Starter bobteree

    (@bobteree)

    It was a JPEG, but your plugin creates a PDF somehow, no? So it tries to find the image, but doesn’t seem to be able to… This is what the Preview shows or what the Invoice looks like when you create it within an order. It can’t find the image.

    https://drive.google.com/file/d/1K_YhIfbo-MJ97llB_cDa8hKnkR60iKBN/view?usp=sharing

    Thread Starter bobteree

    (@bobteree)

    How does your plugin create the PDF? Where is it trying to find the image? I am using Google CDN to serve images using WP Offload Media. Just need to confirm how you build the PDF and where you are looking for the image.

    THANKS

    Plugin Author EDGARROJAS

    (@edgarrojas)

    Ah, probably thats the issue, for security reasons the plugin doesn’t download images outside your site, they need to be within your site otherwise you will get that error message.

    Regards!

    Thread Starter bobteree

    (@bobteree)

    How can we force this to pull from a local location?

    Thread Starter bobteree

    (@bobteree)

    Hello, This has not been resolved. We are going to have to stop using this plugin, if we can’t resolve. Why does your plugin not call the URL properly from our media respository? The logo that we are fetching into the PDF has these details:

    https://media.dpequip.net/wp-content/uploads/2017/09/13193434/DPEquipment-Logo-v1.jpg

    This is mapped. This URL is 100% public. You can see it online. It’s just a URL. How are you fetching this image? I can’t find any documentation on how you are fetching it. I would think you are simply going to this URL, no?

    Plugin Author EDGARROJAS

    (@edgarrojas)

    Hello

    It doesn’t matter if it a valid url, for security reasons the plugin won’t load any external resource, the image needs to come from your site or the plugin won’t download it. You just need to add the image to your site (instead of it comming form an external site) and then use it from there.

    Regards!

    Thread Starter bobteree

    (@bobteree)

    Unfortunately, I’m not sure how to do this. The feature brings you to my site’s media library and no place to input a URL or point to a file on our server. Our media library is managed by Google via a subdomain mapping. It’s on our domain from a URL standpoint. Not sure how to override your plugin code to fetch image from our server.

    Thanks for any help.

    Plugin Author EDGARROJAS

    (@edgarrojas)

    Unfortuantelly i am not sure since the plugin expect the media images to be in your site. Maybe the plugin that you use has an exception or something so it doesn’t move all the images ouside your site?

    Another option could be to do a modification to the plugin so you can add a piece of code that allow it to download images outside your site but have in mind that this is risky. Although it shouldn’t be possible (otherwise it would have been patched) a smart hacker could potentially find a way to trick your site into downloading a php file using the image download feature, and if he manage to do it it could do anything to your site.

    Again, it shouldn’t be possible but enabling that feature is like having a door to your site with a lock, it shouldn’t be a problem but hackers might try to break it and someone might succeed. If this feature is turned off the door doesn’t exist.

    So the best solution would be to somehow configure that WP Offload Media to somehow let this one image to be locally in your site but if you still want to enable the remote download feature let me know and i will add something in the next release so you can do it.

    Regards!

    Thread Starter bobteree

    (@bobteree)

    WP Offload Media does not natively support exceptions. Almost any large WordPress website uses a 3rd party for image management. If the calls are made correctly, it is secure. We have a product catalog of 5000+ images. It’s secure as all are mapped to a sub-domain mapped to our website.

    I think the best way is to have the plugin fully support the native WordPress Media Management solution and call the image into the site like all of our other pages. What I don’t fully understand is how/when do you call the image into the PDF. I assume it’s before rendering the PDF, so it’s a server to server call. That is a bit unique for sure. If there is any way for the plugin to support calling images from server to server, that would be ideal.

    Thanks!

    Plugin Author EDGARROJAS

    (@edgarrojas)

    Yes its a server to server call while rendering the pdf and the image is downloaded to your site so it can be included to the pdf. That is why it is disabled by default, someone could potentially find a lop hoole and trick the renderer to download a php file or something dangerous which is a big problem and that is why downloading form external sources is disabled, but if you want to enable it i can add something in the next release so you can do it. Just let me know.

    Regards!

    Thread Starter bobteree

    (@bobteree)

    Hello,

    Can you please update when this feature has been implemented to allow pulling an image from the GOOGLE cloud (CDN). We have been using this plugin for a long time and this had worked we believe with Google cloud at one point as we have also been using Google CDN for all image management for years. In any case, please update when your plugin can support calling from Google CDN.

    thx

    Thread Starter bobteree

    (@bobteree)

    Hello,

    Has this feature/change been made (i.e. to allow images to be called into the page from 3rd parties like Google Cloud services?). Thanks.

    Plugin Author EDGARROJAS

    (@edgarrojas)

    Hello!

    You mean the modification to the plugin so you can add a piece of code to allow remote images (the one that i told you about a few messages before)? If so no it hasn’t been added yet sorry but i can added in the next release.

    Regards!

    Thread Starter bobteree

    (@bobteree)

    Thank you. This will be a big fix for my clients wrt to branding their invoices/packing slips with their logo. Thx

Viewing 15 replies - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.