Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
12-28-2009, 08:57 PM   #1
Senior Member
JesseDavis's Avatar

Join Date: Dec 2009
Location: Yokohama
Photos: Albums
Posts: 180
Linking Images from MobileMe HOWTO

Woot! I figured out (well, a little) how to embed images from your mobileMe with some control.

The basics: If you go into your mobileMe gallery, open an image so its the only one on the screen, and then right click, you can 'copy image location' which gives you a link to paste in between IMG tags, or using the picture button in the post edit tools.

The first time I did this it worked great. I went to mobileMe, did the business, and wham! it worked:


But the next time I tried the same thing, the image that was embedded was BIG!, and made the forum hard to read:


WHaaa?!?

It seems that over the few days between making these posts, Apple changed the way that MobileMe served up links, which isn't bad because now you get much higher res when linking, but its a little too much for forums.

I looked into the IMG tag links and found:

big version (current default):
Code:
http://gallery.me.com/davisjess/100219/P1080065/web.jpg?ver=12618979820001
and the medium version (what I want):
Code:
http://gallery.me.com/davisjess/100219/P1080065.jpg?derivative=medium&source=web.jpg&type=medium&ver=12618979820001
You can see from the code (for the current default) that what you are actually linking is a file called web.jpg in a folder of the same name as your picture's name from iWeb or Aperture, along with a parameter for some version.

To get the small version of the file, we use the old syntax that still works (hopefully love me longtime). we link
Code:
 .../<username>/<albumNum>/<picturename>.jpg?derivative=<size>&source=web.jpg&type=<compression>&ver=<xxxxx>
But is all this really necessary? It would be worrisome if the version from Aperture changed and our link got broken! lets remove that argument and see if it works
Code:
.../davisjess/100219/P1080065.jpg?derivative=medium&source=web.jpg&type=medium
{deleted version argument}
you can also safely get rid of "&type=medium" which i think is compression, and even "&source=web.jpg"! Holy redundancy Jobs Man!


Wow, I'm like a genius. I haven't checked but I assume if you leave the version argument in then the link will be eternal to that version, even if you change the image and re-upload a new version from iWeb or Aperture, either that or the link will break.

I think it's logical to assume that leaving the version argument out will give you the latest version only.

now it's pretty simple to get the version you want.
  1. Go into your Mobile me and find the image you want.
  2. Right-click and copy image location (in Safari, different in other browsers?)
  3. paste between IMG tags or use the image button in the forum edit tools
    (if at this point you want a pretty big screen filler, like for a mini-challenge image, you are done, but if you want a little snap or a huge monster, continue)
  4. go to the point in the pasted link where you see the image name as a directory, and delete "/web." and "ver=xxxxxxxxxx":
    Code:
    http://gallery.me.com/davisjess/100227/_IGP0621/web.jpg?ver=12617994600001
  5. add "&derivative=<theSizeYouWant>"

<theSizeYouWant> can be any of these keywords (what I have found so far, please tell me more of them if you find them)
  • medium - pretty lightweight
  • mmedium - a bit bigger
  • <no argument for derivative> - pretty big, actually about right for an images-only thread.
  • large - WAY too big

Please reply if you know any other derivative names. "tiny" and "small" do not work, and large is way too large. Something in the middle would be nice.

examples:
Code:
 original:
http://gallery.me.com/davisjess/100227/_IGP0780/web.jpg?ver=12618004250001
edited:
Code:
http://gallery.me.com/davisjess/100227/_IGP0780.jpg?&derivative=medium

Code:
http://gallery.me.com/davisjess/100227/_IGP0780.jpg?&derivative=mmedium

Code:
http://gallery.me.com/davisjess/100227/_IGP0780.jpg?&derivative=large
<this is full size, so I am leaving it out to keep the thread readable, but it works!>

HTH


Last edited by JesseDavis; 12-28-2009 at 09:14 PM.
12-29-2009, 03:24 AM   #2
Damn Brit
Guest




You can always use IMGWIDE tags if you want to post the larger images.
12-30-2009, 04:32 AM   #3
Senior Member
JesseDavis's Avatar

Join Date: Dec 2009
Location: Yokohama
Photos: Albums
Posts: 180
Original Poster
but wouldn't doing that load the whole big image, making the thread really slow? I suppose the days of 56k modems are gone though.
12-30-2009, 07:32 AM   #4
Administrator
Site Webmaster
Adam's Avatar

Join Date: Sep 2006
Location: Arizona
Photos: Gallery | Albums
Posts: 48,998
Well in that case it looks like you'd have everything under control by using the dynamic links to different image sized. If only a large image is available, then yes, resort to imgwide.

However, the number of dialup users is marginal- we're looking at less than 3% of all site users.


Adam
PentaxForums.com Webmaster (Site Usage Guide | Site Help | My Photography)



PentaxForums.com server and development costs are user-supported. You can help cover these costs by donating. Or, buy your photo gear from our affiliates, Adorama, B&H Photo, or Topaz Labs, and get FREE Marketplace access - click here to see how! Trusted Pentax retailers:

Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
aperture, argument, default, image, img, link, medium, mobileme, name, version
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking to a specific artist in PPG DogLover Photographic Technique 1 08-25-2010 09:31 AM
K20D Live Histogram HowTo: levyfulop Photographic Technique 0 06-10-2009 02:43 AM
linking 2 auto flashes axl Flashes, Lighting, and Studio 5 03-20-2009 12:59 AM
HOWTO: Your own photo hosting site ericc Digital Processing, Software, and Printing 24 02-23-2009 02:44 PM
HOWTO: Perfect timing (without Photoshop) aabram Digital Processing, Software, and Printing 5 02-28-2007 05:11 AM



All times are GMT -7. The time now is 09:31 AM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top