Hotlinking images hosted in my server - image

I uploaded a template with jpg images in an auction site. The images are hosted in my server. The problem is that these images are displayed in google images.
I configured hotlink for the images, with exceptions to the auction site domain.
But the problem is when I try to send an email to anyone, like gmail, live, icloud, etc. the images not shown.
Any help will be appreciated!

Related

How to find what site is calling images from my sever

I host a CDN for static resources. While monitoring some 404 errors came up on old images.
I suspect some partner of ours to still call the images on their site and would like to find out which to contact the appropriate one.
There is no Referer header in the requests, the ip are from residential ISPs, the User-Agent are from mostly up to date browsers so I think the users are legitimate.
I tried to Google the urls or part of them but no luck so far.
I can't crawl partners websites as I don't have a list of the domains they use.
How can I find out what site is still calling theses old images ?

Gmail's broken image links when sending mails through Django

I'm sending an email using the SMTP protocol in Django. When I send the image link it is like this:
https://example.com/images/pic1.jpg
But Gmail converts it to something like this:
https://ci5.googleusercontent.com/proxy/vI79kajdUGm6Wk-fjyicDLjZbCB1w9NfkoZ-zQFOB2OpJ1ILmSvfvHmE56r72us5mIuIXCFiO3V8rgkZOjfhghTH0R07BbcQy5g=s0-d-e1-ft#https://example.com/images/pic1.jpg
I tried the image URL proxy whitelist setting. It is showing the preview of the image.But image links are not working.
PS: I have also tried methods suggested here to no avail.
Update 1:
The images are stored in the AWS s3 bucket. If I make them public then they work fine. But I can't make them public.Is there any other way?
The images are stored in the AWS s3 bucket. If I make them public then they work fine. But I can't make them public.Is there any other way?
The short answer is "no" if you want to keep referencing image through URLs as GMail's image proxy needs access to your images over the "public" internet one way or another.
This question is a bit off topic as it has little to do with Django but if you're using GMail for business you can configure which URLs should not go through the proxy. This should allow you to prevent images served from your "private" S3 bucket URL from being proxied. Note that this will only work for GMail accounts within your business domain; the images will be proxied and fail to load if the email is sent to a non-business or a different business Gmail account for example.
One another way you could avoid proxying completely it to attach the image in the email instead of referring to it through an URL. You can refer to this answer for how to achieve that https://stackoverflow.com/a/3787766/70191.

Instagram in-app browser not loading images

I really hate the instagram in-app browser. It displays things different than almost all normal browsers. For some reason, my images wont load.
My website links to images in other websites. But these images have no extensions. (not sure if this is the issue)
<img src="http://example.com/b53cbe2d745bm96nmwwfgcz7v6i215">
These images won't load in the instagram in-app browser. But in all other browsers, the images load no problem.
Also, my site is https while the images are http. Not sure if this makes a difference.
Is there a way to test my site in the instagram in-app browser?
ALL OTHER BROWSERS
INSTAGRAM IN-APP BROWSER
The problem is that your images are insecure, when your site is secure, browser blocked mixed content

Save uploaded files to Google Drive from website built on Ruby Volt

I'm building a web site using Ruby Volt for a publication. I'd like users to be able to upload images that will be stored on Google Drive. The Google Drive will belong to the publication, not to the site users who are uploading the images. If possible, I'd like the fact the images are being stored on Google Drive to be transparent to the site users.
The publication staff will access the images via their Google Drive.
My head is swimming with the Google documentation… Does anybody know if this is doable? If it is can you offer any pointers to example code or suggestions on how to get started?
So I can't help with the google drive API side of things, but in Volt, you can use a HttpController to post a input type="field". In the http controller, you can call params._field_name to get the data from rest. That will provide a tempfile you can copy out. Once I get time I'll make a demo app for file upload.

Outlook Shows Contacting Dialog When Viewing Email

Outlook keeps showing the following images when trying to display images from our image server.
Here is an example of the image its trying to load.
http://ihfiles.com/products/5736_1_0_300_100_0.jpg
Any thoughts on what might be causing outlook to contact our image server in an extremely slow manner?
Discovered the issue. Images embeded in the email were missing "http:" so mail services like gmail could discover the image but not mail clients like Outlook or iPhone Mail App.
So URLs were
//ihfiles.com/products/16184_2_0_100_100_0.jpg
Not
http://ihfiles.com/products/16184_2_0_100_100_0.jpg

Resources