•   Mountain View 1600, CA 94043
  •   +1 650-253-0000
  •   name@example.com
   Search
 
  • Register
 
Login
Thumbshots
  • Thumbshots
    • -Get Thumbshots
    • -Learn More
    • -Update Thumbshots
  • Community
    • -Contributions
    • -Feedback
    • -Portfolio
    • -Articles
    • -Test
  • Support
    • -FAQ
    • -Forum
    • -Blog
    • -Press Release
    • -About Us
    • -Contact Us
You are here: Support ⁄ Forum

Forum

Note! The forum is a community resource. We'll do our best to answer quickly. Include as much information such as URL, platform, browser version. For Premium clients, please log in and submit a Support Ticket under My Account. Check our FAQ for quick answers.

 
  Thumbshots Forum  Discussions  Questions  Using php
Previous Previous
 
Next Next
New Post 3/20/2010 11:55 AM
  Markus Sandy
1 posts
No Ranking


Using php 

Hi, I'm trying to use thumbshots in a PHP application. 

So far, things are great with <img> tag usage in HTML and I can access the free service via PHP, but I also need to save images using our paid account so i can set size option. 

I was able to get the php script from the community contributions page (/Community/Contributions.aspx) to work with your free service, but it fails to fetch images when using my paid account url.

My application (Drupal based) shows the same symptoms and it's using php's libcurl.  On a comamnd line, one can see this by issuing something like:

curl -v "http://images.thumbshots.com/image.aspx?cid=12345&v=1&w=480&url=http%3A%2F%2Fapperceive.com" > curltest.jpeg

Again, this fetches a small thumbshot with the free service (http://open.thumbshots.org/image.pxf), put fails with the paid url as in the example above.

The resulting header indicates that the content-length is 0 when using paid service.

I've tried various curl options for following redirects, sending user-agent, etc. but this did not help.

Anyone have a PHP example that works with paid account urls?



 

 
New Post 3/22/2010 4:28 PM
  Stephen Lim
205 posts
9th Level Poster




Re: Using php 

Hi, I apologize for the delay. I'm taking this question on the support ticket since it's for a paid account.


www.thumbshots.com
 
 Page 1 of 1
Previous Previous
 
Next Next
  Thumbshots Forum  Discussions  Questions  Using php
  
"Use our Thumbnail screenshots to promote your blog and personal website!"

Get your Easter eggs, daily California news and games specialized in skincare on how to become an mechanic on our kxot news site. In addition to reviewing 3D printers,  Infusionsoft blogs and expired domains, we can obtain thumbnails from DHgate.com from manufacturers with local thumbnail images. Our cleaning and Search services from seocompany-london.com include finding traffic locations for cars, dressfirm evening dresses and golf clubs using best buy coupons. For more information and honest reviews with pictures and deals, please contact for Business Opportunities
Thumbshots : Terms Of Use : Privacy Statement
Thumbshots : Terms Of Use : Privacy Statement