Path to gallery thumbnail

8 views
Skip to first unread message

Thomas Janotta

unread,
Sep 20, 2020, 5:26:25 AM9/20/20
to nikola-discuss
I try to build a gallery with thumbnails, it says use .. previewimage: in list of galleries (index.txt.or metadata ?)

but the url for this thumbnail has twice localhost:

<img src="http./127.0.0.1:8000/myweb/http./127.0.0.1:8000/myweb/galleries/cars/mercedes.jpg" alt="Mercedes" loading="lazy" style="max-width:180px; max-height:180px;">

in index.txt i have.. previewimage: mercedes.jpg

Chris Warrick

unread,
Sep 20, 2020, 3:17:05 PM9/20/20
to Nikola—Discuss
> --
> You received this message because you are subscribed to the Google Groups "nikola-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to nikola-discus...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/14a2557d-dd5f-4ecf-bc6c-cbe75ed35c1do%40googlegroups.com.

Are you sure your BASE_URL/SITE_URL are set correctly? This looks as
if you misspelled http:// as http./ in that variable.

--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
Reply all
Reply to author
Forward
0 new messages