•   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
  • Support
    • -FAQ
    • -Blog
    • -Press Release
    • -About Us
    • -Contact Us
    • -Legal
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!"

Try our lab tests and games on how to become an mechanic bawith our San Francisco SEO services and SharePoint hosting. In addition to comparing 3D printers, blogs and link generators, we can obtain InterServer coupons thumbnails from DHgate.com with local thumbnail real estate. Our San Diego criminal attorney and imaging services from seomonsters.xyz include finding traffic locations for Maryland SEO by using realestate promo code and best buy coupons at our online store DDSRank.com. Get more site traffic at our Chicago SEO and San Diego SEO with our Binaryoptions brokers via our currency converter worldwide. 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