My hosting provider has disabled allow_url_fopen
Is there any other option to get this module running ? (maybe a 'curl' workaround)

This is the warning message:

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in shrinktheweb_get_thumbnail() (line 180 of [...]/sites/all/modules/shrinktheweb/shrinktheweb.module)

Comments

geobaev’s picture

Assigned: Unassigned » geobaev
Status: Active » Needs work

I haven't implemented a workaround for the disabled allow_url_fopen setting. Do you have a source code patch which implements this workaround?

puravida’s picture

@geobaev
We have an article that gives sample code for implementing curl as a workaround for this issue.
http://support.shrinktheweb.com/Knowledgebase/Article/View/31/0/how-do-i...

Also, we have released substantially more powerful and flexible sample code that we would like to see integrated with this module. One of our developers can assist (if you make them a co-maintainer), since they are familiar with integrations now. I think the update could go quickly. Here is a link to the new code:
http://www.shrinktheweb.com/content/pagepix-plugins-automated-website-pr...

Please let us know how to proceed with updating this helpful module! :)

geobaev’s picture

@puravida
Thank you very much for this information. I shall be very glad to make your developer a co-maintainer of the ShrinkTheWeb project. Could you please submit his/her Drupal username? Thank you.

puravida’s picture

Sorry. I did not get a drupal notification of your reply. ;)

I will have him contact you shortly.

arsirc’s picture

I am the sought developer ;)

puravida’s picture

@geobaev
Please coordinate directly with arsirc on the integration and let us know if you have any questions. :)

Thank you!

geobaev’s picture

I added you as a co-maintainer of the module.

arsirc’s picture

good, i will start digging deep into the existing code tomorrow and start implementing our new sample code afterwards ... i try to get ready with the first version by the end of this week ...

puravida’s picture

Status: Needs work » Closed (fixed)

Hello all,

The latest v6.x-1.1 & v7.x-1.3 releases are "ShrinkTheWeb Certified" now, and that means that they use cURL for file transmissions. This issue can be closed.