Small size image with extremely long loading time
-
HI~
I am trying to call background images using conditional tag for each archive & pages. Somehow, the background images are taking so long to display, I am sure that is my function causing it, but don’t know why,
The images are only 900px X400px ,and it’s taking 10seconds to load please help =D<div id="header" style="background:url(<?php if (in_category(8)) { echo '/wp-content/uploads/2013/08/tour_3-011.png'; }elseif(in_category(4)) { echo '/wp-content/uploads/2013/08/local-011.png'; }>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Small size image with extremely long loading time’ is closed to new replies.