I am designing a responsive website. In responsive web designing we cannot specify the image width and height in "img" tags. But without width and height the site is very slow. Is there any solution for this?
Without Image dimension affect site speed
91 Views Asked by Chathuraka At
1
There are 1 best solutions below
Related Questions in RESPONSIVE-DESIGN
- Javascript Place Image Where User Clicks
- How can i prevent the image from zooming in when i resize the browser?
- Como mudar o src de uma imagem por responsividade
- What CSS & HTML do I need to switch a table from 4 cols of data in 1 row to 2 cols in 2 rows at 550px screen width w/o duplicate content?
- How to make my relatively-positioned elements 'stick' to a specific yet responsive background design without breaking from the design?
- How to Place a "Copy to Clipboard" Icon Inside of an Input Text Box?
- I'm trying to make a responsive SVG, but it isn't showing on Safari
- react-slick library carousel breakpoints do not work on mobile
- I want to create a creative website based on my project. I am new in this field
- Why is my display element not responsive?
- Dynamic sizing and responsive design
- How do I Center Score Text for a Basketball Scoreboard?
- Bootstrap 5.3 burger menu not responsive in Underscore WordPress template
- Why does it shows good in the editor and something completely different in the emulator?
- CSS formatting with flexbox and other divs
Related Questions in MOBILE-WEBSITE
- Hide a page of my website on desktop and display a message
- On my Sign In page for my website the box i have it in is intentionally blurry but when i go onto my phone its clear
- how do i change the pixels of my website depending on if its opened on desktop or mobile
- Largest Contentful Paint element 3,150 ms, how to reduce?
- Mobile site-content being mushed
- Website viewed on phone does not display updates
- Icons on the website appear distorted upon initial entry to the site on Android
- HTML Video tag isnt showing the video
- How do I loose/exclude a footer when the user clicks a 'book now' button that opens a new window?
- voice search for input tag (search input) doesn't work properly in iOS
- reflow text instead of scroll text upon zooming in in mobile
- Card showing underneath header when page loads on phone (CSS)
- Why my web page with .mp3 files works on laptop and phone but not ipad
- How do I programmatically scroll on iOS device while user is touching the screen
- How can i make fancy corners in my website
Related Questions in GOOGLE-WEBSITE-OPTIMIZER
- Who should I trust to measure website speed?
- Google insights tool errors for google captcha and youtube embed
- Can I use pagespeed insights for my local host website or offline?
- How to stop Google ads from slowing down my website?
- Is there a way to speed up Google Optimize redirect or do it server-side?
- A/B test with an Angular app [Google Optimize]
- How to disable google web light for the website
- Without Image dimension affect site speed
- google website iframe issue
- Avoid a character set in the meta tag AND Specify a character set
- How to setup Google Content Experiments with the original Url and without query string parameters
- How to test Google Analytics Content Experiments without waiting a few hours?
- Google Analytics Content Experiments A/B testing server-side code without page refresh
- Google Website Optimizer A/B testing with server-side code
- Obfuscated script tag in Google Website Optimizer script
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can duplicate the image, one for large screen and one for small screens ( thumbnail ).
Css:
And you can display:none the small img for large screen and on responsiveness you can do display:block;
The browser doesn't render the elements with display none, so this can be a trick.