Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Forum FAQ and Information Forum Talk 
Thread started 10 Oct 2016 (Monday) 20:32
Search threadPrev/next
sponsored links (only for non-logged)

Help embedding image

 
tim
Light Bringer
Avatar
51,010 posts
Likes: 375
Joined Nov 2004
Location: Wellington, New Zealand
Post edited over 7 years ago by tim.
     
Oct 10, 2016 20:32 |  #1

In this old thread I have a bunch of embedded images which aren't showing. The code in the post is just (with square brackets)

{img}https://www.mrwild.co.​nz …nk-ok/potn/rec1.jpg{/img} (external link)

Here's the actual URL, which is messed up on the link above:



The image loads fine when you copy and paste it into a browser. It loads fine when I try to hotlink it from another website. Hotlink protection is turned off for that directory.

Can anyone work out why the images aren't displaying?

Professional wedding photographer, solution architect and general technical guy with multiple Amazon Web Services certifications.
Read all my FAQs (wedding, printing, lighting, books, etc)

  
  LOG IN TO REPLY
PhotosGuy
Cream of the Crop, R.I.P.
Avatar
75,941 posts
Gallery: 8 photos
Likes: 2611
Joined Feb 2004
Location: Middle of Michigan
Post edited over 7 years ago by PhotosGuy.
     
Oct 10, 2016 22:08 |  #2

This [IMG]https://www.mrwild.co.nz/hotli​nk-ok/potn/rec1.jpg[/IMG] (external link) seems to work fine for me.

IMAGE NOT FOUND
Byte size: ZERO | Content warning: NOT AN IMAGE


The same link in the thread you referenced works if I copy it into FFox, even though it does not work in the thread. This is beyond me, & I think we need Pekka's input. I'll see if I can get his attention.

FrankC - 20D, RAW, Manual everything...
Classic Carz, Racing, Air Show, Flowers.
Find the light... A few Car Lighting Tips, and MOVE YOUR FEET!
Have you thought about making your own book? // Need an exposure crutch?
New Image Size Limits: Image must not exceed 1600 pixels on any side.

  
  LOG IN TO REPLY
PhotosGuy
Cream of the Crop, R.I.P.
Avatar
75,941 posts
Gallery: 8 photos
Likes: 2611
Joined Feb 2004
Location: Middle of Michigan
     
Oct 10, 2016 22:15 |  #3

And now I see that it's missing again. -?


FrankC - 20D, RAW, Manual everything...
Classic Carz, Racing, Air Show, Flowers.
Find the light... A few Car Lighting Tips, and MOVE YOUR FEET!
Have you thought about making your own book? // Need an exposure crutch?
New Image Size Limits: Image must not exceed 1600 pixels on any side.

  
  LOG IN TO REPLY
tim
THREAD ­ STARTER
Light Bringer
Avatar
51,010 posts
Likes: 375
Joined Nov 2004
Location: Wellington, New Zealand
Post edited over 7 years ago by tim.
     
Oct 10, 2016 22:38 |  #4

Yeah it a bit weird. It's rare for a technical problem to beat me... I wonder if the forum is doing something fancy/special.


Professional wedding photographer, solution architect and general technical guy with multiple Amazon Web Services certifications.
Read all my FAQs (wedding, printing, lighting, books, etc)

  
  LOG IN TO REPLY
Pekka
El General Moderator
Avatar
18,386 posts
Gallery: 36 photos
Best ofs: 7
Likes: 2472
Joined Mar 2001
Location: Hellsinki, Finland
     
Oct 11, 2016 01:04 |  #5

I'll check it out later today.


The Forum Boss, El General Moderator
AMASS 2.5 Changelog (installed here now)

  
  LOG IN TO REPLY
tim
THREAD ­ STARTER
Light Bringer
Avatar
51,010 posts
Likes: 375
Joined Nov 2004
Location: Wellington, New Zealand
     
Oct 11, 2016 02:50 |  #6

No hurry, thanks Pekka :)

That site is served by CloudFlare, but by putting it in that "hotlink-ok" folder I've indicated to CF that the images should be able to be hotlinked. If we can't figure it out I'll just attach the images to the post.


Professional wedding photographer, solution architect and general technical guy with multiple Amazon Web Services certifications.
Read all my FAQs (wedding, printing, lighting, books, etc)

  
  LOG IN TO REPLY
Pekka
El General Moderator
Avatar
18,386 posts
Gallery: 36 photos
Best ofs: 7
Likes: 2472
Joined Mar 2001
Location: Hellsinki, Finland
Post edited over 7 years ago by Pekka.
     
Oct 11, 2016 11:41 |  #7

tim wrote in post #18153829 (external link)
No hurry, thanks Pekka :)

That site is served by CloudFlare, but by putting it in that "hotlink-ok" folder I've indicated to CF that the images should be able to be hotlinked. If we can't figure it out I'll just attach the images to the post.

The reason is that there the url https://www.mrwild.co.​nz/hotlink-ok/potn/rec1.jpg (external link) returns

Content-Type: text/html
HTTP/1.1 302 Moved Temporarily
Location: https://www.mrwild.co.​nz/stop-stealing-images.png (external link)


So the hotlink protection has indeed kicked in.

Why the image shows in a "physical browser" like FF or Chrome must be based on how the server's hotlink protection is configured. Nginx servers are notoriously difficult to set up.

To debug:
If you enter the url https://www.mrwild.co.​nz/hotlink-ok/potn/rec1.jpg (external link) to http://web-sniffer.net/ (external link) you can see the same server response that POTN image checker sees, too. Location field URL is where the image is retrieved to be validated as a real and safe image file. Now that URL returns a simple html hotlink info page. Also, content type as "text/html" will invalidate the image, too.

When the image shows in above web-sniffer.net page, it will show here, too.


The Forum Boss, El General Moderator
AMASS 2.5 Changelog (installed here now)

  
  LOG IN TO REPLY
PhotosGuy
Cream of the Crop, R.I.P.
Avatar
75,941 posts
Gallery: 8 photos
Likes: 2611
Joined Feb 2004
Location: Middle of Michigan
     
Oct 11, 2016 12:13 |  #8

^ ^ Went there. Tried it & it's all Chinese to me. I suspect that there will be a LOT more attachments in your future.


FrankC - 20D, RAW, Manual everything...
Classic Carz, Racing, Air Show, Flowers.
Find the light... A few Car Lighting Tips, and MOVE YOUR FEET!
Have you thought about making your own book? // Need an exposure crutch?
New Image Size Limits: Image must not exceed 1600 pixels on any side.

  
  LOG IN TO REPLY
Pekka
El General Moderator
Avatar
18,386 posts
Gallery: 36 photos
Best ofs: 7
Likes: 2472
Joined Mar 2001
Location: Hellsinki, Finland
     
Oct 11, 2016 14:14 |  #9

PhotosGuy wrote in post #18154192 (external link)
^ ^ Went there. Tried it & it's all Chinese to me.

If you want a simpler answer, there it was in one line: "the hotlink protection has indeed kicked in". :)

I suspect that there will be a LOT more attachments in your future.

Why? The reported problem is with that specific server and files on that specific folder only. It is a not a problem affecting all embedded photos.


The Forum Boss, El General Moderator
AMASS 2.5 Changelog (installed here now)

  
  LOG IN TO REPLY
PhotosGuy
Cream of the Crop, R.I.P.
Avatar
75,941 posts
Gallery: 8 photos
Likes: 2611
Joined Feb 2004
Location: Middle of Michigan
     
Oct 11, 2016 15:25 |  #10

Pekka wrote in post #18154283 (external link)
Why? The reported problem is with that specific server and files on that specific folder only. It is a not a problem affecting all embedded photos.

Well, I said that it was all Chinese to me! ; D


FrankC - 20D, RAW, Manual everything...
Classic Carz, Racing, Air Show, Flowers.
Find the light... A few Car Lighting Tips, and MOVE YOUR FEET!
Have you thought about making your own book? // Need an exposure crutch?
New Image Size Limits: Image must not exceed 1600 pixels on any side.

  
  LOG IN TO REPLY
tim
THREAD ­ STARTER
Light Bringer
Avatar
51,010 posts
Likes: 375
Joined Nov 2004
Location: Wellington, New Zealand
     
Oct 11, 2016 15:54 |  #11

Thanks Pekka, it is the hotlink protection. I managed to hotlink it from another domain so I thought I'd taken care of that, but it was another domain under my control and on CloudFlare. I'll have another look - seems a bit tricky with CloudFlare. I may just turn off CloudFlare for that domain, or attach the images.


Professional wedding photographer, solution architect and general technical guy with multiple Amazon Web Services certifications.
Read all my FAQs (wedding, printing, lighting, books, etc)

  
  LOG IN TO REPLY
Pekka
El General Moderator
Avatar
18,386 posts
Gallery: 36 photos
Best ofs: 7
Likes: 2472
Joined Mar 2001
Location: Hellsinki, Finland
     
Oct 11, 2016 17:23 |  #12

tim wrote in post #18154345 (external link)
Thanks Pekka, it is the hotlink protection. I managed to hotlink it from another domain so I thought I'd taken care of that, but it was another domain under my control and on CloudFlare. I'll have another look - seems a bit tricky with CloudFlare. I may just turn off CloudFlare for that domain, or attach the images.

Thanks for the info.
If image error messages are "fixed" in the post (they are if the errors were found when posting or editing), and you want AMASS to re-validate all the images in a post: edit the post and submit the edit (no changes needed). That starts a background process for image re-validation. Reload the page after few seconds to see the result.


The Forum Boss, El General Moderator
AMASS 2.5 Changelog (installed here now)

  
  LOG IN TO REPLY
PhotosGuy
Cream of the Crop, R.I.P.
Avatar
75,941 posts
Gallery: 8 photos
Likes: 2611
Joined Feb 2004
Location: Middle of Michigan
     
Oct 11, 2016 18:40 |  #13

Pekka wrote in post #18154422 (external link)
Thanks for the info.
If image error messages are "fixed" in the post (they are if the errors were found when posting or editing), and you want AMASS to re-validate all the images in a post: edit the post and submit the edit (no changes needed). That starts a background process for image re-validation. Reload the page after few seconds to see the result.

I tried that on the original thread & see no difference.


FrankC - 20D, RAW, Manual everything...
Classic Carz, Racing, Air Show, Flowers.
Find the light... A few Car Lighting Tips, and MOVE YOUR FEET!
Have you thought about making your own book? // Need an exposure crutch?
New Image Size Limits: Image must not exceed 1600 pixels on any side.

  
  LOG IN TO REPLY
Pekka
El General Moderator
Avatar
18,386 posts
Gallery: 36 photos
Best ofs: 7
Likes: 2472
Joined Mar 2001
Location: Hellsinki, Finland
     
Oct 11, 2016 19:31 |  #14

PhotosGuy wrote in post #18154479 (external link)
I tried that on the original thread & see no difference.

There will be no difference until the remote server is reconfigured.


The Forum Boss, El General Moderator
AMASS 2.5 Changelog (installed here now)

  
  LOG IN TO REPLY
PhotosGuy
Cream of the Crop, R.I.P.
Avatar
75,941 posts
Gallery: 8 photos
Likes: 2611
Joined Feb 2004
Location: Middle of Michigan
     
Oct 11, 2016 21:10 |  #15

Obviously, I'm totally lost!


FrankC - 20D, RAW, Manual everything...
Classic Carz, Racing, Air Show, Flowers.
Find the light... A few Car Lighting Tips, and MOVE YOUR FEET!
Have you thought about making your own book? // Need an exposure crutch?
New Image Size Limits: Image must not exceed 1600 pixels on any side.

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

5,843 views & 1 like for this thread, 4 members have posted to it and it is followed by 3 members.
Help embedding image
FORUMS Forum FAQ and Information Forum Talk 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is semonsters
1534 guests, 131 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.