Forum Moderators: open

Message Too Old, No Replies

Thumb and Flickr API

         

toplisek

11:05 am on May 12, 2021 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



We have tried many times to upload thumb images but there is an error 404 as link to thumbs and your API is not working.
How to manage these values?
docs.averta.net/display/MSJQ/Loading+photos+from+Flickr
Line:
In slide templates you can use shortcodes which will be replaced width appropriate data after initiation.
{{thumb}} Photo thumbnail path

Source code:

<!-- masterslider -->
<div class="master-slider ms-skin-default" id="masterslider">
<div class="ms-slide" id="slide1">
<img src="masterslider/blank.gif" data-src="{{image}}" alt="{{title}}"/>
<img class="ms-thumb" src="{{thumb}}" alt="{{title}}"/>
<p class="ms-layer"
style="background:rgba(255,255,255,0.5); padding: 20px;"
data-offset-x = "50"
data-offset-y = "50"
data-origin = "bl"
>
{{title}}<br>
{{description}}<br>
by:{{owner-name}} <br>
date:{{date-taken}}
</p>
</div>
</div>
<!-- end of masterslider -->

NickMNS

3:31 pm on May 12, 2021 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



but there is an error 404

404 means page doesn't exist. Or your path is not leading to the correct place. My guess is that your are have assigned the full path to the variable when all you need is a partial path or vice versa. eg: www.example.com/myImage.jpg vs /myImage.jpg.

Open your dev-tools and go to the network tab to see what the destination url is. Then take that url and plug into the address bar and see were it leads.

toplisek

10:42 am on May 13, 2021 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I know were it points but do not know from Flickr API how to manage thumbs.