Jump to content

Insert photo in a cache page with a Mac


pilot03

Recommended Posts

I have 67 caches under my name, all created when I had a PC. I used to be able to insert photos easily on my PC, when creating a new cache page.

I used to load the photo on the cache page, then open it and copy it into the page. At the time of creating the cache, the 'formula' for 'My Green Valley' cache (GC4J16J) was as follows:

 

<br />

<center><img src=“http://img.geocaching.com/cache/large/21309046-1475-4428-a05a-cb2a16a935d9.jpg” alt="My Green Valley" height="480" width="640" /></center>

<br />

 

Since I changed my laptop for a MacBook Air (OS X Yosemite, version 10.10.4, which is upgraded on a regular basis), I have never found a way to insert photos.

Now if I open the same photo from 'My Green Valley' cache, it looks like this:

 

https://d1u1p2xjjiahg3.cloudfront.net/21309046-1475-4428-a05a-cb2a16a935d9_l.jpg

 

Applying the same system with <center><img src=“http:// ....etc, does not work.

 

Is there anyone who could help me get the right 'formula'? It would be great to be able to add pictures again...

I would be most grateful!! Thank you!

 

pilot03 (UK)

Link to comment

Try this:

 

<br />

<center><img src="http://img.geocaching.com/cache/large/21309046-1475-4428-a05a-cb2a16a935d9.jpg"'>http://img.geocaching.com/cache/large/21309046-1475-4428-a05a-cb2a16a935d9.jpg" width="640" height="480" alt="My Green Valley" /></center>

<br />

 

It's the same thing, but with the "alt" tag at the end. Otherwise, the server does weird things to the code.

 

Thanks for your quick reply.

 

This is different now because the photo address is not from geocaching.com but ….cloudfront.net, which seems to make all the difference.

 

The photo address is now:

https://d1u1p2xjjiahg3.cloudfront.net/21309046-1475-4428-a05a-cb2a16a935d9_l.jpg instead of

http://img.geocaching.com/cache/large/21309046-1475-4428-a05a-cb2a16a935d9.jpg as it used to be

 

This photo actually exists on my cache page as I created it before I had the Mac.

 

Just trying now to create another cache page with the same system which includes the "alt" at the end.

 

Should it look like?:

<p>

<center><img src=“https://d1u1p2xjjiahg3.cloudfront.net/5f553ee0-180a-4f11-86e9-841988000702_l.jpeg” alt"/></center></p>

 

If you are able to tell exactly how to write at the end, it would be great ;-) thanks!

Edited by pilot03
Link to comment

Should it look like?:

<p>

<center><img src=“https://d1u1p2xjjiahg3.cloudfront.net/5f553ee0-180a-4f11-86e9-841988000702_l.jpeg” alt"/></center></p>

 

If you are able to tell exactly how to write at the end, it would be great ;-) thanks!

I tried that, and no, the server seems to get confused again. I think you have a stray quotation mark in there. :anicute:

 

Try this code (which I've pasted your specified image into):

 

<br />

<center><img src="https://d1u1p2xjjiahg3.cloudfront.net/5f553ee0-180a-4f11-86e9-841988000702_l.jpeg" /></center>

<br />

 

 

The server is stripping out "<P>" paragraph tags, but maybe <BR> tags (line feeds) will do. As long as you want line feeds and centering (the above code has no image size attribute), simply replace the image URL with whatever online image you like, if it's sized to fit. You do not need an "alt" attribute, but if you use one, it goes at the end of the "img" tag. Otherwise strange things happen. I can't explain why. I think it's a bug. Or a feature. :anibad:

Edited by kunarion
Link to comment

Should it look like?:

<p>

<center><img src=“https://d1u1p2xjjiahg3.cloudfront.net/5f553ee0-180a-4f11-86e9-841988000702_l.jpeg” alt"/></center></p>

 

If you are able to tell exactly how to write at the end, it would be great ;-) thanks!

I tried that, and no, the server seems to get confused again. I think you have a stray quotation mark in there. :anicute:

 

Try this code (which I've pasted your specified image into):

 

<br />

<center><img src="https://d1u1p2xjjiahg3.cloudfront.net/5f553ee0-180a-4f11-86e9-841988000702_l.jpeg" /></center>

<br />

 

 

The server is stripping out "<P>" paragraph tags, but maybe <BR> tags (line feeds) will do. As long as you want line feeds and centering (the above code has no image size attribute), simply replace the image URL with whatever online image you like, if it's sized to fit. You do not need an "alt" attribute, but if you use one, it goes at the end of the "img" tag. Otherwise strange things happen. I can't explain why. I think it's a bug. Or a feature. :anibad:

 

Thank you so much, it works!!! Very grateful!

Link to comment

I've got a Mac, and I just added the following to one of my test listings with no difficulty:

 

<center><img src="https://d1u1p2xjjiahg3.cloudfront.net/5f553ee0-180a-4f11-86e9-841988000702_l.jpeg" alt="Map: Circuit des Teams - Caden" /></center>

 

Thank you for your answer as well, great relief to get some help from the Forum!

All the best :D

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...