Re: [tw5] Safari does not render linked images

2020-06-18 Thread Chris Helm
Hi Springer, thanks very much for giving this some thought, I appreciate it.  
I'm also irritated with myself now.  It had never occurred to me to try the 
simple solution!  I was completely fixated on the fact that the 'Share / Create 
link' process didn't yield a result.  Double sigh.  Anyway, thanks very much, 
again, for pointing me in the right direction.  You've single handedly saved me 
having to bounce the pictures through Google Photos to Dropbox!  Brilliant.  
Have a great day / evening, wherever you are and stay safe.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/99a77d60-44a9-4700-a10e-6c1502b441b8o%40googlegroups.com.


Re: [tw5] Safari does not render linked images

2020-06-18 Thread springer
Chris,

Actually, I'm not having any trouble using the contextual menu to "copy 
image address" from a google photo, then putting that url into 
[img[tooltip|url]] format. I confirmed it shows up fine even via safari, 
for me. I wonder what's blocking that for you?

-Springer

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f11a6c8c-db22-4729-9fce-7d33728de8d3o%40googlegroups.com.


Re: [tw5] Safari does not render linked images

2020-06-18 Thread springer
Chris,

It's a nuisance, but google photo links can be run through this engine to 
convert them into embeddable image links:

https://www.labnol.org/embed/google/photos/

-Springer

On Thursday, June 18, 2020 at 6:51:47 AM UTC-4, Chris Helm wrote:
>
> Nope.  Just tried it and it doesn't work.  Sigh.  Back to the drawing 
> board with that one.
>
> On Thursday, June 18, 2020 at 11:43:43 AM UTC+1, Chris Helm wrote:
>>
>> Thanks for this too, Springer.  Now I'm wondering whether this might 
>> solve another, related problem, which is that I can't get pictures stored 
>> in Google Photos to render either.  Regards, Chris
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f5fb35a5-d70a-471f-86f4-69677a91f3c4o%40googlegroups.com.


Re: [tw5] Safari does not render linked images

2020-06-18 Thread Chris Helm
Nope.  Just tried it and it doesn't work.  Sigh.  Back to the drawing board 
with that one.

On Thursday, June 18, 2020 at 11:43:43 AM UTC+1, Chris Helm wrote:
>
> Thanks for this too, Springer.  Now I'm wondering whether this might solve 
> another, related problem, which is that I can't get pictures stored in 
> Google Photos to render either.  Regards, Chris
>
> On Thursday, June 18, 2020 at 1:32:35 AM UTC+1, springer wrote:
>>
>> Another solution: I've been serving up dropbox images everywhere with no 
>> trouble, always replacing the final dl=0 with raw=1
>>
>> https://www.dropbox.com/s/h6hm0wtjbp2wa2u/tw5-1-22.jpg?dl=0
>>
>> becomes 
>>
>> [img[tooltip|https://www.dropbox.com/s/h6hm0wtjbp2wa2u/tw5-1-22.jpg?raw=1
>> ]]
>>
>> Seems to work uniformly, so far.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/00bfd8e4-5d02-42a1-8fe6-512583d3b6bfo%40googlegroups.com.


Re: [tw5] Safari does not render linked images

2020-06-18 Thread Chris Helm
Thanks for this too, Springer.  Now I'm wondering whether this might solve 
another, related problem, which is that I can't get pictures stored in 
Google Photos to render either.  Regards, Chris

On Thursday, June 18, 2020 at 1:32:35 AM UTC+1, springer wrote:
>
> Another solution: I've been serving up dropbox images everywhere with no 
> trouble, always replacing the final dl=0 with raw=1
>
> https://www.dropbox.com/s/h6hm0wtjbp2wa2u/tw5-1-22.jpg?dl=0
>
> becomes 
>
> [img[tooltip|https://www.dropbox.com/s/h6hm0wtjbp2wa2u/tw5-1-22.jpg?raw=1
> ]]
>
> Seems to work uniformly, so far.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3e8ffbe5-9dd5-4e71-86b4-6021d14505d8o%40googlegroups.com.


Re: [tw5] Safari does not render linked images

2020-06-17 Thread springer
Another solution: I've been serving up dropbox images everywhere with no 
trouble, always replacing the final dl=0 with raw=1

https://www.dropbox.com/s/h6hm0wtjbp2wa2u/tw5-1-22.jpg?dl=0

becomes 

[img[tooltip|https://www.dropbox.com/s/h6hm0wtjbp2wa2u/tw5-1-22.jpg?raw=1]]

Seems to work uniformly, so far.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/42b76694-c560-4b5d-94bb-d47630ec62afo%40googlegroups.com.


Re: [tw5] Safari does not render linked images

2020-06-17 Thread Chris Helm
And thank you too, Glenn, not only for a prompt response but the solution 
too!  I'm grateful AND impressed.  :-)  So I'll go off now and try out your 
fix.  Best regards, Chris

On Wednesday, June 17, 2020 at 8:47:27 PM UTC+1, Glenn McLelland wrote:
>
> You just need to replace www.dropbox.com with dl.dropboxusercontent.com 
> and then it will work.
>
> [img[
> https://dl.dropboxusercontent.com/s/3j94lvbwqubk0kn/IMG-20200605-WA0008.jpeg
> ]]
>
> See https://ryanmo.co/2013/11/03/dropboxsharedlinks/ for more info.
>
> Cheers!
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f6679338-1f5d-4910-a20f-69959cc371bco%40googlegroups.com.


Re: [tw5] Safari does not render linked images

2020-06-17 Thread Chris Helm
Hi Jeremy, thanks very much for such a prompt response.  I'm glad to find 
that it's not me.  Best regards, Chris

On Wednesday, June 17, 2020 at 8:32:43 PM UTC+1, Jeremy Ruston wrote:
>
> Hi Chris
>
> I can confirm the problem. The same problem occurs with putting https://www.dropbox.com/s/3j94lvbwqubk0kn/IMG-20200605-WA0008.jpeg?dl=1"/> 
> into a plain HTML tiddler, so I think this is a peculiarity of Dropbox and 
> Safari, rather than TiddlyWiki.
>
> Best wishes
>
> Jeremy
>
> --
> Jeremy Ruston
> jer...@jermolene.com 
> https://jermolene.com
>
> On 17 Jun 2020, at 17:53, Chris Helm > 
> wrote:
>
> 
> Hello all, 
>
> I'm a relative newbie with Tiddlywiki and I'm struggling with the 
> following problem.  A search of this site and Google in general doesn't 
> indicate that it's been addressed already so could I ask for your help with 
> it please?  
>
> I'm using Tiddlyspot to host a TW5 file that publishes the results from a 
> continuing series of games that I've been playing solo during lockdown, 
> with the idea that a few, interested friends can follow the progress.  The 
> Tiddlywiki can be found here http://nyikancrisis.tiddlyspot.com.
>
> To keep the footprint of the Tiddlywiki file as small as possible, I've 
> avoided embedding imagery in the file.  Instead I've linked the images from 
> my Dropbox account using this link syntax: [img[
> https://www.dropbox.com/s/3j94lvbwqubk0kn/IMG-20200605-WA0008.jpeg?dl=1]]
>
> Everything is working perfectly except that no one using Safari on any 
> Apple device can see the pictures, they simply don't render.  
>
> One of my friends has suggested that this is to do with Safari and it's 
> 'Cross Origin Restrictions'.  I'm reading up on this at the moment (here's 
> an example 
> https://www.webdavsystem.com/ajax/programming/cross_origin_requests/).  
> If I'm interpreting this correctly, it seems that I will have to insert 
> some Access Control headers into the Tiddlywiki file, which is well beyond 
> my skill level at the moment.
>
> So my questions are these.  Has anyone in the group encountered this 
> problem before and, if so, identified a solution that works for TW5?  Am I 
> in any way on the right track to a solution?
>
> I'd be grateful for any suggestions you may offer.
>
> Best regards,
>
> Chris
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddl...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/ca305ad5-7f28-4532-a9a0-20777da69a92o%40googlegroups.com
>  
> 
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/00761e13-894b-4f0f-998d-c84ed7f0e6ddo%40googlegroups.com.


Re: [tw5] Safari does not render linked images

2020-06-17 Thread Glenn McLelland
You just need to replace www.dropbox.com with dl.dropboxusercontent.com and 
then it will work.

[img[https://dl.dropboxusercontent.com/s/3j94lvbwqubk0kn/IMG-20200605-WA0008.jpeg]]

See https://ryanmo.co/2013/11/03/dropboxsharedlinks/ for more info.

Cheers!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fd101ebb-3585-40b0-989a-db7b4bbbfba4o%40googlegroups.com.


Re: [tw5] Safari does not render linked images

2020-06-17 Thread Jeremy Ruston
Hi Chris

I can confirm the problem. The same problem occurs with putting https://www.dropbox.com/s/3j94lvbwqubk0kn/IMG-20200605-WA0008.jpeg?dl=1"/> 
into a plain HTML tiddler, so I think this is a peculiarity of Dropbox and 
Safari, rather than TiddlyWiki.

Best wishes

Jeremy

--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 17 Jun 2020, at 17:53, Chris Helm  wrote:
> 
> 
> Hello all, 
> 
> I'm a relative newbie with Tiddlywiki and I'm struggling with the following 
> problem.  A search of this site and Google in general doesn't indicate that 
> it's been addressed already so could I ask for your help with it please?  
> 
> I'm using Tiddlyspot to host a TW5 file that publishes the results from a 
> continuing series of games that I've been playing solo during lockdown, with 
> the idea that a few, interested friends can follow the progress.  The 
> Tiddlywiki can be found here http://nyikancrisis.tiddlyspot.com.
> 
> To keep the footprint of the Tiddlywiki file as small as possible, I've 
> avoided embedding imagery in the file.  Instead I've linked the images from 
> my Dropbox account using this link syntax: 
> [img[https://www.dropbox.com/s/3j94lvbwqubk0kn/IMG-20200605-WA0008.jpeg?dl=1]]
> 
> Everything is working perfectly except that no one using Safari on any Apple 
> device can see the pictures, they simply don't render.  
> 
> One of my friends has suggested that this is to do with Safari and it's 
> 'Cross Origin Restrictions'.  I'm reading up on this at the moment (here's an 
> example 
> https://www.webdavsystem.com/ajax/programming/cross_origin_requests/).  If 
> I'm interpreting this correctly, it seems that I will have to insert some 
> Access Control headers into the Tiddlywiki file, which is well beyond my 
> skill level at the moment.
> 
> So my questions are these.  Has anyone in the group encountered this problem 
> before and, if so, identified a solution that works for TW5?  Am I in any way 
> on the right track to a solution?
> 
> I'd be grateful for any suggestions you may offer.
> 
> Best regards,
> 
> Chris
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/ca305ad5-7f28-4532-a9a0-20777da69a92o%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/99D8D3AC-BAF1-47B9-8171-0F5581EF78F3%40gmail.com.