Images should only load when scrolling down to reduce bandwidth [closed] - php

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
well, i am reading out an image folder with lets say 300 images with php.
It runs fine.
To reduce bandwidth, i want to load the images only, if they are in the viewport.

If I'm not wrong you want your images to load when you scroll down the page. So, you need to use lazy loading in your application.
See this example
Let me know if you have any question.

So you are looking for an infinite scrolling, as far as I understand.
You have some plugins that may help you:
http://jscroll.com/
http://infinite-scroll.com

Related

Show images and play videos without allowing copying, or downloading [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Is there any way to display images and / or videos on a website and not allow visitors to download or copy them?
I once saw a website where I tried to download an image, but then it was impossible to open it on my computer because the file type was not recognized on my computer!
Is there any way to encode the files, maybe?
Thank you all.
If you can show the images and videos in a browser, they will always find a way to copy these. You can't have the cake and eat it.
The only thing you can do is to make it harder for the newbie.

Image Upload to PDF on Webpage [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
im new in Webdevelopment and I wanted to ask you ("THE EXPERTS") if you could guide me or give some hints how to do following Webpage:
I want to upload 3-5 Images, place them automatically horizontally on a PDF and let the user download the PDF. I don't want to store the images so after you reload the page the images should be gone.
Could you help me how to realize such webpage? Or atleast which way I should use? Jscript, html5, php etc...
Best regards
Machete
You are looking for a pdf-libary like FPDF.
Especially take a look at the Image() function (Documentation).
quick and dirty, create a php script that executes something like this on the shell:
convert image1.png image2.png image3.png output.pdf
you need to have imagemagick installed.
There are more elegant ways to do that.

Content Overlapping on Website [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm having an issue with content overwrapping on a website I'm working on for someone.
I've added the countdown timer/signup area at the top. However, it's overlapping in all major browsers. At first I thought it was an easy fix and just added a transparent image to knock down the content a bit more. But, then I realized it fixed it for FireFox but was still overlapping on Chrome and Safari.
I think part of this is just that I've been looking at the code too long and am missing something simple. If someone could post what needs to be added/changed, that would be great. Any help would be appreciated.
You have the countdown contained within your header (#header_wrapper), which has its height set to 131px.
This means, the layout won't take the full size of the countdown into account.
You'll probably want to either move the countdown out of the header wrapper and into the content wrapper, or correct the height of the header appropriately.

Provide embedded block for another site [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I need to provide some functionality to another site.
What way is better and why?
1. Iframe
2. Provide PHP code and HTML/CSS.
I trust another site's admin.
First option is good but you keep all the responsabilities on your side. if an error occur, you're the only one to blame.
HOW? : you generate a regular Html page and give them an iframe. that's how facebook does it.
Option 2 is the eazy way but you talk about storing things into your DB. in this case i hope you know the guy who manage the other website.

Strange webpage display [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have made a webpage and doing testing in different browsers. In Chrome, everything is okay. But in IE, in some pages, at their ends, a few words are used to repeat themselves, far away.
When I use cursor to highlight the repeated words, the original words far away are also being highlighted.
May experts teach me what I have done wrong?
most probably its because of CSS file which you have made for all explorers the same. You will need to change the CSS file according to your browser.
If you have already done it then sample or image/code of your web page is required to find
the actual problem and then the solution.

Categories