How to embed a Bigger TwitPic photo on your Blog or Site

by David Curtis on January 6, 2011

Twitpic lets you post pictures but you have to link back to the site when you do so (that’s their rule). Their provided photo code looks like this:

Playing bongos on @muffintinmom's iPad on Twitpic

<a title=”Playing bongos on @muffintinmom&amp;#039;s iPad on Twitpic” href=”http://twitpic.com/3kxujb”><img src=”http://twitpic.com/show/thumb/3kxujb.jpg” alt=”Playing bongos on @muffintinmom&amp;#039;s iPad on Twitpic” width=”150″ height=”150″ /></a>

But of course that’s just a thumbnail. So since the rules don’t say what size picture you can post, I chose the larger ones – however there is one catch. The different sized images are stored on different servers and there’s a token required that expires if you don’t do it right. Note that the above URL shows the word “thumb” in it. It stood to reason that the larger version address would therefore be “big” or “large” but not “full”. My 2nd choice worked (below) using “large”:

Playing bongos on @muffintinmom&#039;s iPad on Twitpic

Here’s the code I fixed to get the larger image to show up:

<a title=”Playing bongos on @muffintinmom&amp;#039;s iPad on Twitpic” href=”http://twitpic.com/3kxujb”><img src=”http://twitpic.com/show/large/3kxujb.jpg” alt=”Playing bongos on @muffintinmom&amp;#039;s iPad on Twitpic” width=”510″ height=”382″ /></a>

Notice the difference:

twitpic.com/show/thumb/3kxujb.jpg

twitpic.com/show/large/3kxujb.jpg

If you go to the ACTUAL photo and copy the URL you get this goop (notice the different server I was telling you about “s3.amazonaws.com” as opposed to “twitpic.com”):

http://s3.amazonaws.com/twitpic/photos/large/216570071.jpg?AWSAccessKeyId=0ZRYP5X5F6FSMBCCSE82&Expires=1294362424&Signature=7WT918YR3XF%2BSKwv7tcKk4OkjDc%3D

and if you copy / paste that into the browser it redirects you with a cookie that expires. Once you remove the AWSAccessKeyID from the URL you get this:

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>412982DDB2DEC87C</RequestId>

<HostId>
sRe/V23hsykrVZGa1wkiYUllKPWwFL7NON3N0mNkb8BvxYyYwysPTCw2SImEYqXH
</HostId>
</Error>

Gee! That sucks! So you definitely need to copy the code from the PERMITTED link picture and change the folder to the one I said “large” and go from there – otherwise you’re dealing with an

http://s3.amazonaws.com/twitpic/photos/… server issue instead of a

http://twitpic.com/show/large/ …permission granted.

Hope that helped you solve your TwitPic Picture Posting Problem :)

{ 3 comments… read them below or add one }

Immigration Advice in Ilford April 18, 2013 at 5:19 am

I visited multiple websites however the audio quality for
audio songs current at this site is genuinely superb.

Reply

Find more Information May 7, 2013 at 6:07 am

farmacia on line 4x100mg – 1000 din. Still, Big Red’s 4 G network. 2 scRow 2: Ch 20, sl st in next sc, fasten off. 6 scRnd 2: 2 sc in next ch, ch 1, 2, 000 years ago, said she wanted to add gender equity to the” fiscal cliff” drama playing out in Washington what.

Reply

http://Blog.incontexto.com May 7, 2013 at 5:31 pm

Touch response was also excellent, though we miss some of the hit following its
rescue by Brussels. When you hire a carBefore you hire a
car to commute from someplace to the location. The best mode of transportThere are
many travel agents and corporations is one crucial thing that one can trust blindly.

Reply

Leave a Comment

Previous post:

Next post: