Board index PBase Feature Requests CORS HTTP mechanism for embedded images from PBase?

Feature Requests

CORS HTTP mechanism for embedded images from PBase?

Request changes or modifications.
zackiedawg
 
Posts: 26

CORS HTTP mechanism for embedded images from PBase?

Post Thu Jan 07, 2021 6:59 pm


A large and popular photo forum, DPReview, recently changed its system for embedding images via URL...they claim many photo hosting sites shouldn't have an issue, but a few may - PBase is one of them. This is the explanation from Dpreview staff:

"Instead, we now use "hotlinking", linking the image directly to the remote URL. This means that it's not DPReview's servers, but the visitor's browser that's fetching the image. This also means that it's now subject to Cross-Origin Resource Sharing (CORS), an HTTP mechanism that allows for some control over this kind of direct linking. In other words, some domains can choose to block these kinds of requests outright (PBase), some may add a watermark (Photobucket), some may choose to replace it with a placeholder image, and others allow it with no restrictions.

I hope the feature continues to be useful in its new incarnation. If you run your own website and you notice that your web images are getting blocked, you can search for documentation for enabling CORS for your web server or host."

Is there any chance that PBase can enable this CORS? I have been sharing PBase images on that site for nearly 15 years now, so it's unfortunate to lose that functionality in my PBase galleries...though I know this was DPReview's change and fault, not PBase's. Still, it was worth asking if this is a change that PBase could or would make.

Thank you.

dw_thomas
 
Posts: 468

Re: CORS HTTP mechanism for embedded images from PBase?

Post Thu Jan 07, 2021 8:29 pm


Hmmm - in your PBase account settings do you have "Direct linking" enabled? I know I use direct linking at my own website for a few images on PBase and that feature needs to be enabled. I know no particular details of how that feature is implemented, but possibly what you want exists?

Another problem I've have seen in the past with direct linking is that in an actual PBase image display the image file may come from a a temporary PBase location with some off-the-wall server name at PBase. If one goes into the edit image page, there is a link up near the top which will display the "official" link address which can be used to ensure a direct link is handled correctly.

Anyway, I'm just thinking out loud here, apologies if it's no help.
DaveT

dougj
 
Posts: 2276

Re: CORS HTTP mechanism for embedded images from PBase?

Post Fri Jan 08, 2021 10:49 am


The linking from DPReview to PBase still doesn't work, this is with "direct linking" in the profile enabled, it appears PBase needs to make a change on their end. The options we have are:

* Link from another hosting site that supports CORS.
* Upload to the DPR post from our computer.
* Link via the DPR galleries.
Image
Image

zackiedawg
 
Posts: 26

Re: CORS HTTP mechanism for embedded images from PBase?

Post Fri Jan 08, 2021 7:33 pm


Exactly as Doug mentioned - this is something new - I had been embedding images from PBase to DPReview for well over a decade, then Dpreview stopped external site embedding they claimed due to some security issues, and finally a few weeks ago reinstated the ability to embed from outside sites, with the new caveat that the CORS support needed to be added at PBase's end. There are a few other hosting sites that also cannot embed at Dpreview now...users with those hosting sites were asked to inquire about the host making this change in CORS policy.

gillettecraig
 
Posts: 479

Re: CORS HTTP mechanism for embedded images from PBase?

Post Thu Jan 14, 2021 6:22 pm


I don't link a lot of images but this impacts me too. I've gone more to Facebook for casual sharing but still will load up files here when I want a higher resolution or unaltered files. Likewise for discussions were an older image here fits the discussion.

zackiedawg
 
Posts: 26

Re: CORS HTTP mechanism for embedded images from PBase?

Post Sat Feb 20, 2021 5:43 am


I just wanted to throw in an update here - I received an e-mail from Pbase staff that they worked on the issue and made the required modifications, so we can now embed images again on Dpreview and any other forum with similar CORS HTTP.
Thank you kindly to Pbase staff for working out this issue.


Board index PBase Feature Requests CORS HTTP mechanism for embedded images from PBase?

Who is online

Users browsing this forum: No registered users and 0 guests