New HTML Coding For Images - Why?
I use a Chrome Extension called Image Downloader which is EXTREMELY helpful when you want to grab the image of a movie to make a thumb & right click/save image as doesn't work. But lately it stopped working on a couple of sponsors, so I had to do it the hard way (view source, find the URL of the image, select the URL, right click, select go to...) and when I did, I saw this: Score Cash - http://www.xlgirls.com/bbw-videos/Mi...LjAuMC4wLjAuMA Code:
|
Those are called protocol-relative urls. They will automatically load either from http or https depending if you use the secure version of the website or not.
If you put a http image on a https page you will get a security warning and the image wont load. |
Quote:
|
They are scheme relative urls.
https://stackoverflow.com/questions/...-relative-urls Quote:
This article references an article from 2010 telling people to use scheme ralative but was updated in 2016 to tell you why it is bad to use them: https://jeremywagner.me/blog/stop-us...-relative-url/ Quote:
. |
Thank you!
|
I assume you're pulling images from a different domain than the source page. If not, just use relative rather than absolute links.
|
Quote:
|
Not what I was saying...
Let's say the web page is in the root directory of https://www.greenguysite.com (could be http:// as well) If the images are stored in a folder named images then a relative image URL would looks like: Code:
Code:
|
Quote:
|
All times are GMT -4. The time now is 10:47 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc