Welcome to the Koken CMS community!

Here at KCS, you will find a friendly bunch of photographers who like to share their love for the Koken CMS. We hope that you will enjoy your time here and thrive in our community!

You asked for it: Donations!
You asked for it, and it's here: The possibility to "buy me a beer (or more)"!

Seriously: By giving a small paypal donation you will help with keeping this site afloat and also give me more incentive to develop OxyGen further... ;)

// Bjarne Varöystrand and the KCS Team
Koken Development

Force Images to Load Without Scrolling

Writing and publishing essays and custom pages.

Official Essay & Pages documentation can be found here
Forum rules
As of late, we have been seeing cases where some of you have been posting multiple types of questions within a singular type of topic...

This makes searching here a nightmare for people whom are attempting to find out whether or not their question has already been asked, or possibly even answered. Therefore, I would like to implement some very basic rules, which I think everybody will be happy with, given that they will lead to better search results.

  1. All public communication is done in English
  2. ONE question per topic
  3. Make the title descriptive
  4. If it's regarding a theme: make sure you mention the theme name.
  5. Leave a URL to your site, since sometimes, custom "hacks" and CSS will be uniqe to your site.

I believe that these simple rules will not only make our lives easier, but also the lives of our visitors :D

I am of the opinion that ignoring these requests will make it harder for us all.
Plus, we won't be able to actually mark an issue/topic as solved, since it would be more difficult to determine what we're actually trying to solve! For example: Are we addressing the first, second or third question?
c3imagazineshop
User
User
Posts: 12
Joined: Thu 21 Jun 2018, 00:28
Your name: Steve

Force Images to Load Without Scrolling

Postby c3imagazineshop » Sat 21 Jul 2018, 09:45

Hello,

My homepage has 4-5 images that link to other parts of my site that I want to autoload without the user having to scroll (prompting the loading). I know Koken is designed to load only what is necessary, hence the delayed loading, but I was wondering if that could be overriden in this instance.

Thanks!
User avatar
Bjarne Varöystrand
Webbplatsadministratör
Webbplatsadministratör
Posts: 1063
Joined: Sun 29 Mar 2015, 21:02
Your name: Bjarne Varöystrand
Location: Lysekil, Sweden
Contact:

Re: Force Images to Load Without Scrolling

Postby Bjarne Varöystrand » Mon 30 Jul 2018, 00:29

Hi there.
The koken:img attribute lazy is set in the theme files them self's, so you should be able to turn it off by editing your site theme; but remember to duplicate it before you stat changing it. :ugeek:
Regards
Bjarne Varöystrand - Image || Reddit || Twitter|| Facebook

Image
c3imagazineshop
User
User
Posts: 12
Joined: Thu 21 Jun 2018, 00:28
Your name: Steve

Re: Force Images to Load Without Scrolling

Postby c3imagazineshop » Tue 07 Aug 2018, 13:00

Hi Bjarne,

I took a look at the json file for ensemble (the theme I am using), and I don't see the koken:img attribute lazy anywhere in it. Also, wouldn't this apply sitewide, as opposed to on just one page? Is there a one-page solution?

Thanks
User avatar
Bjarne Varöystrand
Webbplatsadministratör
Webbplatsadministratör
Posts: 1063
Joined: Sun 29 Mar 2015, 21:02
Your name: Bjarne Varöystrand
Location: Lysekil, Sweden
Contact:

Re: Force Images to Load Without Scrolling  Topic is solved

Postby Bjarne Varöystrand » Sat 11 Aug 2018, 01:56

It's not located in the settings file... ;)

You need to edit the actual .lens/.html files of your theme...

Any "one page solution" is harder to do, since this would require some tinkering with koken:if/koken:else :ugeek:
Regards
Bjarne Varöystrand - Image || Reddit || Twitter|| Facebook

Image

  • Similar Topics
    Replies
    Views
    Last post

Return to “Essays & Pages”



Who is online

Users browsing this forum: No registered users and 1 guest