Page 1 of 1

html link to image no longer working from inside gallery description

PostPosted: Sun Nov 01, 2020 9:27 pm
by briansolar1
Hi, I have been embedding banner images for galleries inside the description box and they have displayed fine for years but about a month ago the image display stopped working. The html link actually works still so something must have changed in pbase. Here is an example of html I have in my gallery description:

<div align="center"><img src="http://wildernesstravels.co.uk/pbaseheader1.jpg" border="1" alt="Glen Shiel, Scotland">
The galleries of Brian and Martina.......

So the image link works if put into a browser url on its own ie http://wildernesstravels.co.uk/pbaseheader1.jpg. But doesn't display anymore in pbase. Does anyone have any ideas on this thanks?
Brian

Re: html link to image no longer working from inside gallery description

PostPosted: Sun Nov 01, 2020 10:33 pm
by amoxtli
That's odd, because it still works in my galleries.

https://pbase.com/amoxtli/butterflies

I did use a different code.

<a href="http://www.pbase.com/amoxtli/image/111492181">
<br><img border="0"src="http://www.pbase.com/amoxtli/image/111492181/original.jpg">

You are welcome to try to use this code. Let us know if it works for you.

Regards,
Walter

Re: html link to image no longer working from inside gallery description

PostPosted: Mon Nov 02, 2020 1:53 am
by dw_thomas
(Some idle speculation ...)

Walter's code is using images he has on PBase, Brian's code is trying to get images from another site -- perhaps some change has occurred at either of those locations, possibly related to security enhancements?

Similar to what Walter is doing code-wise, I have a sort of cover page for a couple of major excursions using clickable images in a large narrative to branch off to various galleries (which still appear to function). But also like Walter, my embedded images are coming from here on PBase.

Samples:
https://pbase.com/dw_thomas/grandtour2016 (Yes, I really, really should finish that some day ....)
https://pbase.com/dw_thomas/eclipseramble2017


With PBase, you have to enable "Direct Linking" to use images you have installed on PBase on another website (which I also do). Any possibility something on your wildernesstravels site might have changed in regard to external linking?

Beyond that, dunno. In general I'm continually amazed at what we can "get away with" in customizing these galleries.

DaveT

Re: html link to image no longer working from inside gallery description

PostPosted: Mon Nov 02, 2020 6:00 pm
by briansolar1
Hi,
thanks for the help from both of you. I uploaded the banner image into pbase, such that I was referencing a web address in pbase in a similar way to Walter and it worked! So I guess yes there may have been a security change either from my other website or pbase. But I have it working now anyway. Now to upload the other headers!

thanks again
Brian

Re: html link to image no longer working from inside gallery description

PostPosted: Tue Nov 03, 2020 2:07 am
by dw_thomas
Excellent! Thanks for the feedback.

DaveT

Re: html link to image no longer working from inside gallery description

PostPosted: Sat Nov 07, 2020 1:19 pm
by richo
You can also test html, css and even some code at:
https://www.w3schools.com/html/tryit.as ... html_intro