كانت Google+ Photos الخيار الافتراضي للكثيرين منا عند استخدام Android وتفعيل ميزة النسخ الاحتياطي التلقائي… فتنتهي جميع صورك في مكان واحد عبر الإنترنت، مع تخزين مجاني وما إلى ذلك… كنت معتادًا على فتحها في صفحة Google، ثم سحب الصورة إلى Discourse. كان رابط الصورة يبدو سابقًا شيئًا مثل هذا:
هذا الرابط لن يُظهر الصورة تلقائيًا لأنه ليس بصيغة «.jpg». لا أعرف كيف أستخرج موقع ملف الـ JPG الخام من هذه السلسلة. يبدو أنه موقع تخزين ومعرف مختلفان تمامًا، ويحتويان على معلومات حول حجم الصورة في النهاية.
هل يمكن لأحد أكثر ذكاءً مني الرجاء النظر في إضافة/إصلاح هذه المشكلة؟
This is obtained by right clicking on the image and selecting “Copy image URL”
Raw image
Not sure I’d trust this to continue working in the future - no indications that this is a permalink. Guess it might be removed / moved in Google’s delivery network.
Thank link doesn’t seem to work for me, can you paste a working version in Generate responsive embed codes - Iframely to see if it is even supported? (particularly for gallery versions)
It does work if you whitelist goo.gl. Also if you share a photo from Google Photos it generates a special goo.gl link (similar to the maps specific one) that’s just for photos. So it’s not a standard shortened link. On my site I white-listed goo.gl and if you post this link it puts the photo in.
Only problem is that portrait mode photos are cut-off. But I think that’s something wrong on Google’s end.
See this:
That photo should look like this, but it’s only showing the top part.
We covered this in another topic, the pain here is that our “onebox any image” code depends on file extension instead of doing a HEAD/GET and pulling out the mime type.
I think we should just bite the bullet here and look at mime types cause it cleans up a bunch of places where this is the case.